367 views
2 votes
2 votes
1. Can WHERE clause be used with aggregate functions ?

2. DISTINCT operates on a single column. DISTINCT for multiple columns is not supported. [T/F]

1 Answer

0 votes
0 votes
1. its true but only if we are using it in subqueries.

2. False because if u want distinct columns then u should use in group by clause rather using distinct.
edited by

Related questions

0 votes
0 votes
0 answers
1
kd..... asked Apr 30, 2019
688 views
Here why does the 5th query select * from employees natural join works_on where PID = 'X' AND PID='Y'; is not workingThe queries are The output are
0 votes
0 votes
1 answer
2
Satbir asked Dec 4, 2018
301 views
please give an example to differentiate between self join , natural join and join operation.
0 votes
0 votes
1 answer
3
Shamim Ahmed asked Nov 12, 2018
416 views
In this question:-https://gateoverflow.in/8225/gate2015-1-27I am not understanding how the query is returning 2 .I think DISTINCT must be there to give the correct answer...