Firstly, I am newbie to SQL (T-SQL), I would appreciate guidance with this.
I have 3 tables with values created as below.
SQL
CREATETableStudentProject(IDintidentity(1,1)PRIMARYKEY,ProjectNameVarchar(30),DueDateDate)CREATETableStudentName(IDintidentity(1,1)PRIMARYKEY,StudentNameVarchar(30))CREATETableStudentWork(IDintidentity(1,1)PRIMARYKEY,ProjectIDint,StudentIDint)InsertIntoStudentProjectvalues('Omega','1/2/2005'),('KingOmega','1/3/2000'),('Beast','1/6/2007'),('DeltaMovie','3/7/2008')InsertintoStudentNamevalues('Roger'),('John'),('James'),('Juliet'),('William')InsertintoStudentWorkvalues(1,1),(1,2),(2,2),(2,3),(3,3),(3,4),(1,3)
The goal is to produce the below outcome but seems that i cant or i'm sure i'm doing something wrong.
I've attempted the below but it is wrong.
SQL
Select...