sql-join Flashcards
1
Q
What is a foreign key?
A
A column that is used to establish a link between the data in two tables
2
Q
How do you join two SQL tables?
A
Join “table name” using (“foreign key”)
3
Q
How do you temporarily rename columns or tables in a SQL statement?
A
Use ‘as’ (ex: “table name” as “alias”