SQL Server Query Question -
This can be a very simple question, but only curious about it.
Are these two questions
Question 1:
SELECT C. * FROM [Case] A, [Event] B, Information C, where ACIID = BCCID and B.EventID = C Avant ID
Question 2:
Select C. From [Case] A involved in [Event] B AICISID = Notice of joining B.K.C.D. B. B.EventID = C.EventID
Please explain.
Yes, the same question, different syntax.
The second question is written in better form:
SELECT C. * FROM [Case] A also includes a [Event] B Ai SID = BFIIIIIIIII Finally joins B.EventID = C.EventID on C
The second query using ANSI syntax has some advantages in advance:
- It is easy to see that when you have missing
ON
section - makes it clear that type to join
- Separate the section from
WHERE