SQL JOIN Flashcards
1
Q
What is a foreign key?
A
Shared data values that link to another table
2
Q
How do you join two SQL tables?
A
select “Column”
from”table1”
join “table2” using “foreignkey”
3
Q
How do you temporarily rename columns or tables in a SQL statement?
A
“column” as “whateverName”