SQL 2023 · Tables and indexes

See how a query runs

Show the query plan to find out whether an index is used.

EXPLAIN SELECT * FROM orders WHERE user_id = 42;

Official SQL 2023 documentation

More tables and indexes commands

All tables and indexes commands · SQL 2023 cheatsheet

Was this page helpful?