logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • How do you eliminate duplicate values in DB2 SELECT?


  • Correct Answer
  • Use SELECT DISTINCT in DB2 query The DISTINCT keyword can be used to return only distinct (different) values Syntax: SELECT DISTINCT column1,column2 FROM table_name; 


  • Technology problems


    Search Results


    • 1. In the expansion phase of a business cycle

    • Options
    • A. economy moves from a trough to a peak.
    • B. economy moves from a peak to a trough.
    • C. economy moves from a trough to a contraction.
    • D. economy moves from a peak to a peak.
    • Discuss
    • 2. Which of the following statements about financial aid are true?

    • Options
    • A. Financial aid is available to community college students.
    • B. Most high school varsity sports team members will receive an athletic scholarship.
    • C. Elite, private colleges don't offer financial aid packages.
    • D. Only children of unemployed parents can't qualify for financial aid.
    • Discuss
    • 3. Which best describes the practice of outsourcing?
    • Discuss
    • 4. Which of the following is a function of inventory?

    • Options
    • A. to take advantage of quantity discounts
    • B. to decouple various parts of the production process
    • C. to provide a selection of goods for anticipated customer demand and to separate the firm from fluctuations in that demand
    • D. All the above
    • Discuss
    • 5. What is BAS? What is its function ?
    • Discuss
    • 6. What is UNION , UNION ALL?
    • Discuss
    • 7. What is a cursor ? Why should it be used in DB2?
    • Discuss
    • 8. What is DCLGEN?
    • Discuss
    • 9. EXPLAIN has output with MATCHCOLS = 0. What does it mean?
    • Discuss
    • 10. How does DB2 determine what lock- size to use?
    • Discuss


    Comments

    There are no comments.

Enter a new Comment