logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • What do you accomplish by GROUP BY ... HAVING clause?


  • Correct Answer
  • 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 


  • Technology problems


    Search Results


    • 1. What is the difference between primary key & unique index ?
    • Discuss
    • 2. Why is free space left in KSDS Dataset?
    • Discuss
    • 3. What is the need to code COMMITS in batch programs?
    • Discuss
    • 4. How can record locking be achieved in those DB2 versions which do not support it?
    • Discuss
    • 5. What does it mean if the null indicator has -1, 0, -2?
    • Discuss
    • 6. What is the self-referencing constraint?
    • Discuss
    • 7. File contains 5 records say D,E,F,C,A-I want to copy D and A records only by using file-aid?
    • Discuss
    • 8. My SQL statement SELECT AVG(SALARY) FROM EMP yields inaccurate results. Why?
    • Discuss
    • 9. What is a DB2 plan?
    • Discuss
    • 10. What is a DB2 bind?
    • Discuss


    Comments

    There are no comments.

Enter a new Comment