SQL for Non-Programmers -- Homework Practice

0

Please login or register to vote for this query.

(click on this box to dismiss)

Physics

Q&A for active researchers, academics and students of physics

DECLARE @id INT = ##UserId##

SELECT Users.Id, Comments.Score, Comments.Text
FROM Users
JOIN Comments ON Comments.UserId = Users.Id
WHERE @id = Users.Id

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results