Just found out about this way to use the "alias" i.e the AS command what you think it returnes as a result ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Just found out about this way to use the "alias" i.e the AS command what you think it returnes as a result ?

SELECT DISTINCT a.First_Name, a.Last_Name FROM CHECKED_OUT AS a, CHECKED_OUT AS b where a.Last_Name = b.Last_Name AND a.First_Name != b.First_Name

30th Mar 2020, 6:20 PM
kamel BOUHENNI
kamel BOUHENNI - avatar
1 Answer
+ 1
Why don't you run it and see for yourself? I think no record will be returned
30th Mar 2020, 6:58 PM
Ore
Ore - avatar