logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • What is UNION , UNION ALL?


  • Correct Answer
  • Both these are used to combine the results of different SELECT statements UNION - Selects only distinct values UNION ALL - Selects duplicate values also Syntax: SELECT column_name(s) FROM table1 UNION / UNION ALL SELECT column_name(s) FROM table2; Notice that each SELECT statement within the UNION must have the same number of columns The columns must also have similar data types Also, the columns in each SELECT statement must be in the same order 


  • Technology problems


    Search Results


    • 1. How do you eliminate duplicate values in DB2 SELECT?
    • Discuss
    • 2. 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
    • 3. 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
    • 4. Which best describes the practice of outsourcing?
    • Discuss
    • 5. 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
    • 6. What is a cursor ? Why should it be used in DB2?
    • Discuss
    • 7. What is DCLGEN?
    • Discuss
    • 8. EXPLAIN has output with MATCHCOLS = 0. What does it mean?
    • Discuss
    • 9. How does DB2 determine what lock- size to use?
    • Discuss
    • 10. What is RUNSTATS?
    • Discuss


    Comments

    There are no comments.

Enter a new Comment