Firstly, I am new to SQL (T-SQL), I would appreciate a guide. I have 3 tables with values ββcreated as shown below.
CREATE Table StudentProject (ID int identity (1,1) PRIMARY KEY, ProjectName Varchar (30), DueDate Date) CREATE Table StudentName (ID int identity (1,1) PRIMARY KEY, StudentName Varchar (30)) CREATE Table StudentWork (ID int identity (1,1) PRIMARY KEY, ProjectID int, StudentID int) Insert Into StudentProject values ('Omega','1/2/2005'),('KingOmega','1/3/2000'),('Beast','1/6/2007'), ('DeltaMovie','3/7/2008') Insert into StudentName values ('Roger'),('John'),('James'),('Juliet'),('William') Insert into StudentWork values (1,1),(1,2),(2,2),(2,3),(3,3),(3,4),(1,3)
The goal is to produce the result below, but it seems like I can't or I'm sure I'm doing something wrong.
SQL_Outcom

Please, help.