Skip to content

Commit 59a356d

Browse files
committed
Pending Changes in three files
1 parent 2f78e6a commit 59a356d

File tree

3 files changed

+115
-77
lines changed

3 files changed

+115
-77
lines changed

data-platform/data-development/sql/README.md

Lines changed: 30 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,56 +4,70 @@ Welcome to the SQL repository of the Data Development team at Oracle. This repos
44

55
Reviewed: 23.10.2024
66

7-
## Table of Contents
7+
# Table of Contents
88
- [What is SQL?](#what-is-sql);
9-
- [Team Publications](#team-publications);
109
- [SQL Tools](#sql-tools);
1110
- [SQL Tips](#sql-tips);
1211
- [SQL Oracle23ai](#sql-oracle23ai);
1312
- [SQL DO It Yourself](#sql-do-it-yourself)
13+
- [Useful Links](#useful-links);
1414

15-
## What is SQL?
1615

17-
Structured Query Language (SQL) is the standard programming language used for managing and manipulating relational databases. SQL allows you to perform a variety of operations such as querying data, updating records, creating and modifying schema, and controlling access to the database. It is a crucial skill for data developers and analysts, enabling efficient data retrieval and manipulation to support data-driven decision-making.
18-
19-
## Team Publications
16+
# What is SQL?
2017

21-
To support your development journey, here are some valuable resources related to SQL and Oracle:
22-
- [Oracle SQL Documentation](https://docs.oracle.com/en/database/oracle/oracle-database/)
23-
- [SQL Tutorial by W3Schools](https://www.w3schools.com/sql/)
24-
- [Oracle Live SQL](https://livesql.oracle.com/)
25-
- [Oracle Learning Library](https://www.oracle.com/learning-library/)
26-
- [Oracle Database 23ai: Application Development](https://www.oracle.com/database/technologies/application-development.html)
18+
Structured Query Language (SQL) is the standard programming language used for managing and manipulating relational databases. SQL allows you to perform a variety of operations such as querying data, updating records, creating and modifying schema, and controlling access to the database. It is a crucial skill for data developers and analysts, enabling efficient data retrieval and manipulation to support data-driven decision-making.
2719

2820

29-
## SQL Tools
21+
# SQL Tools
3022

3123
In the [SQL Tools](SQL_Tools/README.md) section, you'll find a collection of essential tools and utilities that can help streamline your SQL development process. This includes:
3224
- SQL client software recommendations
3325
- Database management tools
3426
- Productivity-enhancing plugins and extensions
3527

36-
## SQL Tips
28+
29+
# SQL Tips
3730

3831
The [SQL Tips](SQL_Tips/README.md) section is dedicated to providing practical advice and best practices for writing efficient and effective SQL queries. Topics covered include:
3932
- Query optimization techniques
4033
- Common pitfalls and how to avoid them
4134
- Advanced SQL functions and their use cases
4235

43-
## SQL Oracle23ai
36+
37+
# SQL Oracle23ai
4438

4539
Explore the latest advancements with Oracle's cutting-edge AI capabilities in the [SQL Oracle23ai](SQL_Oracle23ai/README.md) section. Here, you will find:
4640
- New features and enhancements in Oracle23ai
4741
- Tutorials on integrating AI with your SQL queries
4842
- Case studies and real-world applications of Oracle23ai
4943

50-
## SQL Do It Yourself
44+
45+
# SQL Do It Yourself
5146

5247
The [SQL Do It Yourself](SQL_Do_It_Yourself/README.md) section encourages hands-on learning by providing a variety of exercises and projects. This includes:
5348
- Practice problems with solutions
5449
- Step-by-step project guides
5550
- Interactive SQL challenges to test your skills
5651

52+
53+
# Useful Links
54+
55+
To support your development journey, here are some valuable resources related to SQL and Oracle:
56+
- [Oracle SQL Documentation](https://docs.oracle.com/en/database/oracle/oracle-database/)
57+
- [SQL Tutorial by W3Schools](https://www.w3schools.com/sql/)
58+
- [Oracle Live SQL](https://livesql.oracle.com/)
59+
- [Oracle Learning Library](https://www.oracle.com/learning-library/)
60+
- [Oracle Database 23ai: Application Development](https://www.oracle.com/database/technologies/application-development.html)
61+
5762
---
5863

5964
We hope you find these resources helpful in your SQL journey. If you have any questions or suggestions, please feel free to contribute or reach out to the team. Happy querying!
65+
66+
67+
# License
68+
69+
Copyright (c) 2024 Oracle and/or its affiliates.
70+
71+
Licensed under the Universal Permissive License (UPL), Version 1.0.
72+
73+
See [LICENSE](https://github.com/oracle-devrel/technology-engineering/blob/main/LICENSE) for more details.
Lines changed: 79 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -1,72 +1,93 @@
1-
## Overview
1+
# Oracle 23ai
2+
23
This section covers the new features introduced in the Oracle Database 23ai release, focusing on enhancements and functionalities in SQL for application development.
3-
## Features
4-
### Aggregation over INTERVAL Data Types
5-
- **Description**: Pass INTERVAL data types to SUM and AVG aggregate functions.
6-
- **Example**: ```sqlSELECT SUM(interval_column) FROM table_name;`
7-
### Client Describe Call Support for Tag Options
8-
- **Description**: Store and retrieve metadata about database objects using annotations.
9-
- **Example**: `ALTER TABLE table_name ANNOTATE 'key' = 'value';`
10-
### DEFAULT ON NULL for UPDATE Statements
11-
- **Description**: Define columns as DEFAULT ON NULL for update operations.
12-
- **Example**: `UPDATE table_name SET column_name = DEFAULT ON NULL WHERE condition;`
13-
### Data Quality Operators
14-
- **Description**: Introduces PHONIC_ENCODE and FUZZY_MATCH operators for string matching.
15-
- **Example**: `SELECT PHONIC_ENCODE('word'), FUZZY_MATCH('string1', 'string2') FROM dual;`
16-
### Data Use Case Domains
17-
- **Description**: Define and apply constraints for common values like credit card numbers.
18-
- **Example**: `CREATE DOMAIN email_domain AS VARCHAR2(255) CHECK (REGEXP_LIKE(value, '^[\w._%+-]+@[\w.-]+\.[a-zA-Z]{2,}$'));`
19-
### Direct Joins for UPDATE and DELETE Statements
20-
- **Description**: Join target tables in UPDATE and DELETE statements using the FROM clause.
21-
- **Example**: `UPDATE table1 SET column1 = table2.column2 FROM table2 WHERE table1.id = table2.id;`
22-
### GROUP BY Column Alias or Position
23-
- **Description**: Use column aliases or SELECT item positions in GROUP BY clauses.
24-
- **Example**: `SELECT column1 AS col1, SUM(column2) FROM table_name GROUP BY col1;`
25-
### IF [NOT] EXISTS Syntax Support
26-
- **Description**: Support for IF EXISTS and IF NOT EXISTS syntax in DDL operations.
27-
- **Example**: `CREATE TABLE IF NOT EXISTS table_name (column1 datatype);`
28-
### New Database Role for Application Developers
29-
- **Description**: Introduces DB_DEVELOPER_ROLE with necessary privileges for developers.
30-
- **Example**: `GRANT DB_DEVELOPER_ROLE TO user_name;`
31-
### Oracle SQL Access to Kafka
32-
- **Description**: Efficient access to data streams from Apache Kafka and OCI Streaming Service.
33-
- **Example**: `SELECT * FROM kafka_table WHERE topic = 'topic_name';`
34-
### SELECT Without FROM Clause
35-
- **Description**: Run SELECT expression-only queries without a FROM clause.
36-
- **Example**: `SELECT 1+1;`
37-
### SQL BOOLEAN Data Type
38-
- **Description**: Supports ISO SQL standard-compliant BOOLEAN data type.
39-
- **Example**: `CREATE TABLE table_name (column1 BOOLEAN);`
40-
### SQL UPDATE RETURN Clause Enhancements
41-
- **Description**: Enhanced RETURNING INTO clause for reporting old and new values.
42-
- **Example**: `UPDATE table_name SET column1 = 'new_value' RETURNING column1 INTO :old_value;`
43-
### Schema Annotations
44-
- **Description**: Store and retrieve metadata about database objects using name-value pairs.
45-
- **Example**: `ANNOTATE SCHEMA 'key' = 'value';`
46-
### Table Value Constructor
47-
- **Description**: Supports VALUES clause for SELECT, INSERT, and MERGE statements.
48-
- **Example**: `INSERT INTO table_name VALUES (1, 'value');`
49-
### Ubiquitous Search With DBMS_SEARCH Packages
50-
- **Description**: Index multiple schema objects for full-text search using DBMS_SEARCH.
51-
- **Example**: `EXEC DBMS_SEARCH.CREATE_INDEX('index_name', 'table_name');`
52-
## Team Publications
4+
5+
Reviewed: 24.10.2024
6+
7+
# When to use this asset?
8+
9+
To look for examples and deep dive into Oracle 23ai New Features in Database specific areas for Developers.
10+
11+
# How to use this asset?
12+
13+
This asset contains a brief set of Oracle Database 23ai new features examples which are then included in a specific asset file for consultation.
14+
The list of New Features will be periodically updated and adjusted.
15+
16+
--## Features
17+
--### Aggregation over INTERVAL Data Types
18+
-- - **Description**: Pass INTERVAL data types to SUM and AVG aggregate functions.
19+
-- - **Example**: ```sqlSELECT SUM(interval_column) FROM table_name;`
20+
--### Client Describe Call Support for Tag Options
21+
-- - **Description**: Store and retrieve metadata about database objects using annotations.
22+
-- - **Example**: `ALTER TABLE table_name ANNOTATE 'key' = 'value';`
23+
--### DEFAULT ON NULL for UPDATE Statements
24+
-- - **Description**: Define columns as DEFAULT ON NULL for update operations.
25+
-- - **Example**: `UPDATE table_name SET column_name = DEFAULT ON NULL WHERE condition;`
26+
--### Data Quality Operators
27+
-- - **Description**: Introduces PHONIC_ENCODE and FUZZY_MATCH operators for string matching.
28+
-- - **Example**: `SELECT PHONIC_ENCODE('word'), FUZZY_MATCH('string1', 'string2') FROM dual;`
29+
--### Data Use Case Domains
30+
-- - **Description**: Define and apply constraints for common values like credit card numbers.
31+
-- - **Example**: `CREATE DOMAIN email_domain AS VARCHAR2(255) CHECK (REGEXP_LIKE(value, '^[\w._%+-]+@[\w.-]+\.[a-zA-Z]{2,}$'));`
32+
-- ### Direct Joins for UPDATE and DELETE Statements
33+
-- - **Description**: Join target tables in UPDATE and DELETE statements using the FROM clause.
34+
-- - **Example**: `UPDATE table1 SET column1 = table2.column2 FROM table2 WHERE table1.id = table2.id;`
35+
-- ### GROUP BY Column Alias or Position
36+
-- - **Description**: Use column aliases or SELECT item positions in GROUP BY clauses.
37+
-- - **Example**: `SELECT column1 AS col1, SUM(column2) FROM table_name GROUP BY col1;`
38+
-- ### IF [NOT] EXISTS Syntax Support
39+
-- - **Description**: Support for IF EXISTS and IF NOT EXISTS syntax in DDL operations.
40+
-- - **Example**: `CREATE TABLE IF NOT EXISTS table_name (column1 datatype);`
41+
-- ### New Database Role for Application Developers
42+
-- - **Description**: Introduces DB_DEVELOPER_ROLE with necessary privileges for developers.
43+
-- - **Example**: `GRANT DB_DEVELOPER_ROLE TO user_name;`
44+
-- ### Oracle SQL Access to Kafka
45+
-- - **Description**: Efficient access to data streams from Apache Kafka and OCI Streaming Service.
46+
-- - **Example**: `SELECT * FROM kafka_table WHERE topic = 'topic_name';`
47+
-- ### SELECT Without FROM Clause
48+
-- - **Description**: Run SELECT expression-only queries without a FROM clause.
49+
-- - **Example**: `SELECT 1+1;`
50+
-- ### SQL BOOLEAN Data Type
51+
-- - **Description**: Supports ISO SQL standard-compliant BOOLEAN data type.
52+
-- - **Example**: `CREATE TABLE table_name (column1 BOOLEAN);`
53+
-- ### SQL UPDATE RETURN Clause Enhancements
54+
-- - **Description**: Enhanced RETURNING INTO clause for reporting old and new values.
55+
-- - **Example**: `UPDATE table_name SET column1 = 'new_value' RETURNING column1 INTO :old_value;`
56+
-- ### Schema Annotations
57+
-- - **Description**: Store and retrieve metadata about database objects using name-value pairs.
58+
-- - **Example**: `ANNOTATE SCHEMA 'key' = 'value';`
59+
-- ### Table Value Constructor
60+
-- - **Description**: Supports VALUES clause for SELECT, INSERT, and MERGE statements.
61+
-- - **Example**: `INSERT INTO table_name VALUES (1, 'value');`
62+
-- ### Ubiquitous Search With DBMS_SEARCH Packages
63+
-- - **Description**: Index multiple schema objects for full-text search using DBMS_SEARCH.
64+
-- - **Example**: `EXEC DBMS_SEARCH.CREATE_INDEX('index_name', 'table_name');`
65+
66+
67+
# Team Publications
5368
- [23ai New Features Series - Part 1](https://www.linkedin.com/posts/sonnemeyer_23aispecialists-23ainewsabrpart1-developer-activity-7196221427056889856-3HF2?utm_source=share&utm_medium=member_desktop)
5469
- [23ai New Features Series - Part 2](https://www.linkedin.com/posts/cristina-varas-menadas-591825119_oracle-oracle23ai-sql-activity-7198945654272864256-wduQ/?utm_source=share&utm_medium=member_ios)
5570
- [23ai New Features Series - Part 3](https://www.linkedin.com/posts/sonnemeyer_23aispecialists-23ainewsabrpart3-developer-activity-7201958687005982721-Oo3B?utm_source=share&utm_medium=member_desktop)
5671
- [23ai New Features Series - Part 4](https://www.linkedin.com/posts/sonnemeyer_23aispecialists-23ainewsabrpart4-teammates-activity-7204946957843267584-x664?utm_source=share&utm_medium=member_desktop)
5772
- [23ai New Features Series - Part 5](https://www.linkedin.com/posts/ppaolucci_cristinavarasmenadas-sonjameyer-activity-7207374755878887425-a--C?utm_source=share&utm_medium=member_desktop)
58-
## Release Information
59-
- **Version**: 23ai
60-
- **Applicable Offerings**: All Oracle Database offerings .................
61-
For more detailed information, please visit the [Oracle Database Features](https://apex.oracle.com/database-features/) page.
62-
63-
64-
6573

6674

75+
# Useful Links
76+
- [Oracle Database 23ai New Features](https://apex.oracle.com/database-features/)
6777

6878

79+
# Release Information
80+
- **Version**: 23ai
81+
- **Applicable Offerings**: All Oracle Database offerings .................
82+
For more detailed information, please visit the [Oracle Database Features](https://apex.oracle.com/database-features/) page.
6983

84+
# License
85+
86+
Copyright (c) 2024 Oracle and/or its affiliates.
87+
88+
Licensed under the Universal Permissive License (UPL), Version 1.0.
89+
90+
See [LICENSE](https://github.com/oracle-devrel/technology-engineering/blob/main/LICENSE) for more details.
7091

7192

7293

data-platform/data-development/sql/sql_tools/README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,17 @@ Providing links to public useful documentation and articles/blogs written by Ora
55

66
A SQL Clue Card is also provided.
77

8-
Reviewed: 12.8.2024
8+
Reviewed: 24.10.2024
99

1010
# Team Publications
11-
- [SQL Developer Extension for VS Code v24.2 is now available](https://www.thatjeffsmith.com/archive/2024/07/sql-developer-extension-for-vs-code-24-2-is-now-available/)
1211
- Application Continuity - [Does your Database really know your application - Part 1](https://medium.com/@paulbrad71/application-continuity-on-adb-does-your-database-know-your-application-376e44d8a30) - Published on [Medium](http://www.medium.com) on 13th March 2023;
1312

1413
- Application Continuity - [Does your Database really know your application - Part 2](https://medium.com/@paulbrad71/does-your-database-really-know-your-application-second-part-48321b0ab81) - Published on [Medium](http://www.medium.com) on 6th April 2023;
1514

1615
- Application Continuity - [Does your Database really know your application - Part 3](https://medium.com/@paulbrad71/application-continuity-on-adb-does-your-database-know-your-application-376e44d8a30) - Published on [Medium](http://www.medium.com) on 31st May 2023.
1716

17+
- [SQL on Autonomous Database - a Rockin' Experience](https://www.youtube.com/watch?v=jcrPvP4SKLQ) - Published on [YouTube](http://www.youtube.com) on 23th November 2023.
18+
1819
# Useful Links
1920

2021
- [SQL Developer](https://www.oracle.com/uk/database/sqldeveloper/)
@@ -26,8 +27,10 @@ Reviewed: 12.8.2024
2627
- [SQL Tools Training](https://education.oracle.com/database/oracle-database/pFamily_32)
2728
- [Autonomous Database Actions](https://docs.oracle.com/en/cloud/paas/autonomous-database/serverless/adbsb/connect-database-actions.html#GUID-102845D9-6855-4944-8937-5C688939610F)
2829
- [Live SQL](https://livesql.oracle.com/apex/f?p=590:1000)
30+
- [SQL Developer Extension for VS Code v24.2 is now available](https://www.thatjeffsmith.com/archive/2024/07/sql-developer-extension-for-vs-code-24-2-is-now-available/)
31+
2932

30-
## Dev Gyms
33+
# Dev Gyms
3134
- [The amazing Dev Gym](https://devgym.oracle.com/pls/apex/f?p=10001:20011::::20011::)
3235
- Join the Oracle Product Management Dev Gym (FREE!) and build your Oracle technology muscles by taking workouts, quizzes, and even entire classes on SQL, PL/SQL, database design, logic and more.
3336
- [Dev Gym Workout Class - Getting Started on Oracle Cloud](https://devgym.oracle.com/pls/apex/f?p=10001:29:4444375111375:::29:P29_CLASS_ID:20342&cs=1qfK8bInptu93se5QM5iMzsT-iih_gFsY78j308d3ZUzrCzX2c0-kgiimo59pm0c_NblFShALC1oOB8MosiaSYQ)

0 commit comments

Comments
 (0)