sql-join-Q&A Flashcards
1
Q
What is a foreign key?
A
That column specifically refers to values in a column of a table.
2
Q
How do you join two SQL tables?
A
With a join statement with a column that both tables share
3
Q
How do you temporarily rename columns or tables in a SQL statement?
A
“tableName”.”columnName” as “newColumnName”