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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How do you join two SQL tables?

A

With a join statement with a column that both tables share

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How do you temporarily rename columns or tables in a SQL statement?

A

“tableName”.”columnName” as “newColumnName”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly