1.

Write a Query to find the number of rows in a DB2 table.

Answer»

Here, the INTERVIEWER might ask you to write down the query on a piece of paper or a GOOGLE doc or any other METHOD. Mostly, the interviewers do not ask you to write a query upon a pre-existing table. 

The query is:

SELECT COUNT * FROM TABLENAME


Discussion

No Comment Found