Using the SQL analysis report to find queries in the cursor cache which canβt use indexes
The #SQL analysis report in Oracle AI Database 26ai shows potential problems in a query
Cartesian products
UNION
Non sargable filters (canβt use indexes)
You can use this to find queries in the cursor cache which you may be able to improve
16.10.2025 17:30 β π 9 π 1 π¬ 1 π 0
Select AI example use cases
Example using select AI to find the top 10 streamed movies after 2010
Run natural language queries against Oracle AI Database with
SELECT AI <your query>
e.g.
SELECT AI what are the top 10 movies
Michelle Malcher demos and gives example use cases for it #AIWorld
16.10.2025 16:21 β π 4 π 1 π¬ 0 π 0
QUALIFY clause (window functions)
QUALIFY: filter rows based on window functions
Oracle 26aiΒΉ was released yesterday.
From the SQL standpoint it's worth mentioning that is has got the QUALIFY clause:
I bet this starts an avalanche (there are already PostgreSQL patches).
modern-sql.com/caniuse/qual...
ΒΉ 26ai is the marketing version, 23.26.0 is the technical version.
15.10.2025 15:36 β π 9 π 6 π¬ 2 π 0
Deck of SQL tips cards
Deck of SQL tips cards
Get your desks of #SQL tips at #AIWorld from the swag-as-a-service or Oracle AI Database booths
14.10.2025 16:50 β π 5 π 2 π¬ 0 π 0
speed sql - I love it!
Speed SQL results for quiz on 07-OCT-2025
Attempt #1: 10 correct in 43 seconds
β β β β β β β β β β
#SpeedSQL devgym.oracle.com/pls/apex/f?p...
07.10.2025 06:28 β π 1 π 1 π¬ 0 π 0
That's FAST!
Great work :)
10.10.2025 12:49 β π 0 π 0 π¬ 0 π 0
SQuizL (aka SQL Wordle) for 8th Oct 2025. Complete the SQL statement from the clue provided (hospital_id) using the fragments below
Lots struggled with yesterday's #SQuizL!
Recognizing the first transaction on the Helsinki stock exchange, the solution was
SET TRANSACTION READ WRITE NAME q'[Helsinki Stock Exchange]'
This names the db transaction
Can you guess today's statement from the clue?
devgym.oracle.com/pls/apex/f?p...
08.10.2025 09:34 β π 0 π 0 π¬ 0 π 0
Getting WITH it
Using CTEs for better performance (Short Course)
October 2025
In this month's SQL Ask TOM Live session, Ric Van Dyke is joining me to discuss how to
Use the WITH clause
Optimize #SQL queries using WITH
Join us at Tues 21ct Oct, 2pm UK time asktom.oracle.com/ords/r/tech/...
07.10.2025 14:29 β π 3 π 0 π¬ 0 π 0
Congrats to the Oracle Dev Gym Weekly DB winners for Sept 2025:
1st Stelios Vlasopoulos
2nd Andrey Zaytsev
3rd mentzel.iudith
πΎππ
This dedicated trio are also the top-3 ranked players for Q3 2025
See the full rankings at devgym.oracle.com/pls/apex/f?p...
06.10.2025 15:33 β π 1 π 1 π¬ 0 π 0
IEEE top programming languages for jobs in 2025
The top three are
Python
SQL
Java
#SQL is second in the IEEE Top Programming Languages for jobs in 2025
Good going for a language that's over 50 years old!
spectrum.ieee.org/top-programm...
24.09.2025 14:42 β π 7 π 1 π¬ 0 π 0
Join the Oracle 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. πͺ social.ora.cl/6019AE8VJ
18.09.2025 20:05 β π 3 π 1 π¬ 0 π 1
This also covers various issues you may hit
ORA-30926 => updating the same row twice
ORA-38104 => updating join columns in merge
ORA-01779 => changing non-key preserved tables in 19c and earlier
ORA-00934 => using aggregate functions
16.09.2025 10:03 β π 0 π 0 π¬ 0 π 0
Summary of syntax for the ways to update one table from another in Oracle Database
Direct joins (23ai)
Update-only merge
Updating a subquery
Correlated subquery update
Oracle Database 23ai added direct join syntax for updates
UPDATE t1
SET t1.col = t2.col
FROM t2
WHERE <join>
My latest post looks at this and other methods for updating one table from another
Update only merge
Updating a query
Correlated subquery update
blogs.oracle.com/sql/post/how...
16.09.2025 10:03 β π 3 π 0 π¬ 1 π 0
Why not? WITHIN GROUP has also been used for PERCENT_CONT/DISC for ages
11.09.2025 14:50 β π 0 π 0 π¬ 1 π 0
SQuizL for 11 Sept 2025. Can you guess the SQL statement using the clues provided?
Happy Birthday #SQuizL!
The daily Wordle-style guess the SQL statement quiz turns 2 today
We hope it makes for a fun way to learn Oracle #SQL syntax
Big thanks to Eli Feuerstein for building it
Play today at devgym.oracle.com/pls/apex/f?p...
11.09.2025 12:26 β π 2 π 0 π¬ 0 π 0
Why?
11.09.2025 12:18 β π 0 π 0 π¬ 1 π 0
Congrats to the top 3 players for August in the Weekly DB tournament on Oracle Dev Gym
1 Stelios Vlasopoulos
2 Karel_Prech
3 Andrey Zaytsev
πΎππ
Join them and practice your #SQL skills at devgym.oracle.com/pls/apex/f?p...
08.09.2025 14:48 β π 6 π 1 π¬ 0 π 0
A summary of key SQLcl project commands
A summary of the key commands for SQLcl project #poug2025
06.09.2025 07:42 β π 8 π 2 π¬ 0 π 0
The dev test prod setup for the demo
Database changes made in dev
Exporting the database changes using SQLcl project
Deploying the changes to test
Oracle SQLcl project is a tool for managing deployments of database objects and APEX apps
Rafal Grzegorczyk showing us how to use it to move changes from dev->test->prod
#poug2025
06.09.2025 07:37 β π 13 π 2 π¬ 1 π 0
SQuizL quiz. Complete the SQL statement on the top left using the fragments provided below in six tries or less. A new statement is published every day
Speed SQL - guess the missing keyword (????) in
???? locations SET location_name = 'Carolina' WHERE meta_location = 'Mind'
From the four options:
UNION, UPDATE, MATERIALIZED, COMMENT
You have 60 seconds to guess 10 statements. A new batch is issued daily
Example multiple-choice question on Oracle Dev Gym. A new question is published every week in the Weekly DB tournament. See how your knowledge stacks up in the leaderboards or play past quizzes at your leisure in the library.
Practice your Oracle #SQL skills with free quizzes on Oracle Dev Gym
SQuizL - complete the statement using the clues provided
Speed SQL - race against the clock to guess the missing keywords
Weekly DB - a new multiple-choice question every week
buff.ly/05p9QME
29.08.2025 11:01 β π 2 π 2 π¬ 0 π 1
Get faster PL/SQL in #SQL with
alter session set sql_transpiler = on
=> database will convert eligible functions to SQL
Read my latest post for details on
What can be transpiled
Transpiler vs scalar macros
Functional differences
Impact of function-based indexes
blogs.oracle.com/sql/post/fas...
27.08.2025 14:31 β π 12 π 6 π¬ 0 π 1
π Question to the Tech Community π»
Are you integrating AI-powered tools into your DevOps CI/CD pipeline?
π€ Do you believe they truly belong in the pipeline, or are they better suited for development and local testing only?
Iβd love to hear your thoughts! π¬
19.08.2025 13:54 β π 0 π 1 π¬ 0 π 0
Yes, the blank values are NULL
So in LEFT OUTER JOIN, the values on the right next to ( circle, 1 ) on the first line are NULL
19.08.2025 13:19 β π 1 π 0 π¬ 0 π 0
The fallacy of not gathering stats to keep execution plans from changing came up again, so I blogged about it blogs.oracle.com/optimizer/po...
13.08.2025 12:48 β π 3 π 3 π¬ 1 π 0
Just noticed that IF [NOT] EXISTS made it into 19.28 too
HT @ilmarkerm.eu
01.08.2025 10:20 β π 8 π 3 π¬ 2 π 0
Indeed
01.08.2025 10:15 β π 0 π 0 π¬ 0 π 0
Developer Evangelist for Oracle Database. I post instructional videos, how-to guides, and blog posts for developers using Oracle Database.
https://dev.to/franckpachot
π₯ Developer Advocate at π MongoDB
πΈ AWS Data Hero
π
ΎοΈ Oracle Certified Master
π PostgreSQL andββ YugabyteβDB
Recognizing the community for their contributions. Learn more about the ACE Program @ http://ace.oracle.com
I'm Nigel Bayliss. I work for Oracle. The opinions expressed here are my own. I'm the Oracle Optimizer PM and my background is doing stuff with very large DBs.
@Java Champion working on Hypersistence Optimizer, author of High-Performance Java Persistence.
Blogging at http://vladmihalcea.com
Daily Oracle SQL tips from the Oracle Developer Advocates for SQL
Oracle Analytics for Developers
Embedding and APIs
https://insight2action.medium.com/
Java Champion, creator of jOOQ, the best way to write SQL in Java.
Will mostly post about Java, SQL, jOOQ, programming humour, and write at https://blog.jooq.org
Oracle Database Product Manager with a passion for SQL, AI, and the Optimizer. Wildlife photographer and Lego builder. Views expressed are my own.
SQL - π
Oracle - βοΈ
Databases - β
Product Manager - π
World Traveler - π§³
Database DevOps Engineer / Consultant - schaltstelle.ch
Oracle ACE - @oracleace.bsky.social
Sym42 Member - @sym42.bsky.social
Cyclist and Mountaineer ππ¨π
Community lover, connecting techies to solve problems and grow their careers
Nearly-retired Oracle performance specialist. 50 years using computers, 40 years self-employed, 35 years as a freelance Oracle specialist.
I code for fun and help others in the process. Java Champion Alumni. Co-founder of Hackergarten & Hack.Commit.Push. Creator of JReleaser
π
Vice President Product Management - Database Upgrade, Migrations and Patching - Oracle Corp | Opinions are my own
Founder of SaaS Developer Community and Nile Database.
Co-founder of the Polish Oracle User Group π«‘
Employer Branding Specialist βοΈ
I'm good at presentation design π―
Once upon a time, in a land far ago, where Bowie and Jagger still dance in the streets, I knew a lot about databases. Sym42.
- Oracle ACE Director
- @sym42.bsky.social member
- Fellow, Database Architecture at https://moovit.com/
- Opinions are my own
- My blog: https://db-oriented.com
CEO, Miracle Finland Oy. Oracle ACE Director. Author, speaker. Doctoral Researcher, University of Helsinki.