Given an SQL table ‘Books’ with fields Title, Author, and Genre, which query would return a list of unique Genre values?

Given an SQL table ‘Books’ with fields Title, Author, and Genre, which query would return a list of unique Genre values?
A . SELECT Genre FROM Books;
B . SELECT SET Genre FROM Books;
C . SELECT UNIQUE Genre FROM Books;
D . SELECT DISTINCT Genre FROM Books;

Answer: D

Latest C1000-144 Practice Questions with 125 Q&As

Updated Study Material | Instant Download | Detailed Answers and Explanations

Subscribe
Notify of
guest
0 Comments