Skip to content

Instantly share code, notes, and snippets.

@yurijserrano
Created May 6, 2024 20:52
Show Gist options
  • Save yurijserrano/51787671566c9a832adf9a2a468e6677 to your computer and use it in GitHub Desktop.
Save yurijserrano/51787671566c9a832adf9a2a468e6677 to your computer and use it in GitHub Desktop.
Execution Plan II - New Example
create table drivers (
id serial primary key,
first_name varchar,
last_name varchar
);
create table vehicles (
id serial primary key,
make varchar,
model varchar,
driver_id integer references drivers(id)
);
EXPLAIN SELECT * from drivers;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment