What is a foreign key?
A foreign key is a column in a database table that references the primary key of another table.
How do you join two SQL tables?
SELECT column1, column2, …
FROM table1
JOIN table2
ON table1.column = table2.column;
How do you temporarily rename columns or tables in a SQL statement?
SELECT column_name AS new_column_name
FROM table_name;