Query 1 : Select DISTINCT(id) form table; Query 2: Select id from table group by id; - Study24x7
Social learning Network

Warning: include(./views/auth.php): failed to open stream: Permission denied in /var/www/html/live/loginRightSlider.php on line 18

Warning: include(): Failed opening './views/auth.php' for inclusion (include_path='.:/usr/share/php') in /var/www/html/live/loginRightSlider.php on line 18
45 followers study24x7 22 Dec 2020 10:36 AM study24x7 study24x7

Query 1 : Select DISTINCT(id) form table; Query 2: Select id from table group by id;

A

Both Queries are wrong

B

Both will generate same result

C

Query 1 is wrong & Query 2 is correct

D

Query 2 is wrong & Query 1 is correct

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles