Quantcast
Channel: Answers for "Joining 2 tables"
Browsing all 4 articles
Browse latest View live

Answer by SirSQL

What does the following give you? SELECT TD.UserID, TD.Firstname, TD.Middlename, TD.Lastname, TD.DateCreated, UQ.QuizTotalScore, UQ.DateCommenced, UQ.DateFinished FROM DATA TD INNER JOIN...

View Article



Answer by Usman Butt

I believe you need to use LEFT JOIN. INNER JOIN would not give you the missing rows in UsersQuestionnaire SELECT UserID, Firstname, Middlename, Lastname, DateCreated, QuizTotalScore, DateCommenced,...

View Article

Answer by SirSQL

What does the following give you? SELECT TD.UserID, TD.Firstname, TD.Middlename, TD.Lastname, TD.DateCreated, UQ.QuizTotalScore, UQ.DateCommenced, UQ.DateFinished FROM DATA TD INNER JOIN...

View Article

Answer by Usman Butt

I believe you need to use LEFT JOIN. INNER JOIN would not give you the missing rows in UsersQuestionnaire SELECT UserID, Firstname, Middlename, Lastname, DateCreated, QuizTotalScore, DateCommenced,...

View Article
Browsing all 4 articles
Browse latest View live




Latest Images