What is a foreign key?
A foreign key is column on one table that refers to the values in a specific column in another table.
How do you join two SQL tables?
With join clause
select *
from “tableName”
join “anotherTable” using (“columnName”)
How do you temporarily rename columns or tables in a SQL statement?
Using “as” keyword after the column or table names.
ex: select “products”.”name” as “product”