Will distinct keyword returns NULL value from column? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Will distinct keyword returns NULL value from column?

22nd Nov 2016, 3:40 AM
Priya
Priya - avatar
3 Answers
+ 3
distinct keyword return unique result according to condition. Null will return if your table is empty. Please show your query syntax. and table structure
22nd Nov 2016, 4:46 AM
Aditya kumar pandey
Aditya kumar pandey - avatar
+ 2
If there are NULL values in that column ,sure it will return them
23rd Nov 2016, 1:04 PM
Raghunath S
Raghunath S - avatar
+ 1
thanks... I got the answer
23rd Nov 2016, 3:03 PM
Priya
Priya - avatar