SQL - Table Relationships
Given these tables:
CREATE TABLE Author (AuthorID INT PRIMARY KEY, Name VARCHAR(50));What will this query return?
CREATE TABLE AuthorBio (AuthorID INT PRIMARY KEY, Biography TEXT, FOREIGN KEY (AuthorID) REFERENCES Author(AuthorID));
SELECT Author.Name, AuthorBio.Biography FROM Author LEFT JOIN AuthorBio ON Author.AuthorID = AuthorBio.AuthorID;
