SQL 2023 · Tables and indexes

Create an index

Speed up lookups and joins on a column.

CREATE INDEX idx_orders_user_id ON orders (user_id);

Official SQL 2023 documentation

More tables and indexes commands

All tables and indexes commands · SQL 2023 cheatsheet

Was this page helpful?