sql-join Flashcards
1
Q
What is a foreign key?
A
A column that references a column from another table
2
Q
How do you join two SQL tables?
A
select key, from, name of table, join, name of second table
3
Q
How do you temporarily rename columns or tables in a SQL statement?
A
add “as”, followed by the alias