Interview Questions

What do you accomplish by GROUP BY ... HAVING clause? ––

DB2 INTERVIEW QUESTIONS


(Continued from previous question...)

What do you accomplish by GROUP BY ... HAVING clause? ––

GROUP BY partitions the selected rows on the distinct values of the column on which you group by.
HAVING selects GROUPs which match the criteria specified

(Continued on next question...)

Other Interview Questions