logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • How do you display last 5 records in DB2?


  • Correct Answer
  • SELECT * FROM table_name ORDER BY column_name desc Fetch first 5 rows only; 


  • Technology problems


    Search Results


    • 1. What is NOTCAT2?
    • Discuss
    • 2. Name and explain the type of locks?
    • Discuss
    • 3. What is sqlcode -811?
    • Discuss
    • 4. What is REORG? When it is used?
    • Discuss
    • 5. How do you insert a record with a nullable column?
    • Discuss
    • 6. Difference between Embeded SQL and Dynamic SQL?
    • Discuss
    • 7. What is DBRM? What it contains? When it will be created?
    • Discuss
    • 8. How does DB2 use multiple table indexes?
    • Discuss
    • 9. What is SPUFI?
    • Discuss
    • 10. What is Mainframe Testing?
    • Discuss


    Comments

    There are no comments.

Enter a new Comment