Quantcast
Channel: Answers for "Joining 2 tables"
Browsing index pages (4 articles)

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

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
Browsing index pages (4 articles)


Latest Images