How to get Top 10 Salaries from a Table
Answers were Sorted based on User's Feedback
Answer / abirami
select max(salary) from tablename
fetch first 10 rows only
| Is This Answer Correct ? | 4 Yes | 25 No |
is it compulsory commitment control in journal?
What if we try to insert the base table through updatable view , but failed to give a column value which is defined as NOT NULL.
I have some 3 particular fields ..i want to know which all tables have those 3 fields. Is there any way to identify.. can we know by quering system tables..
How do you find the maximum value in a column in db2?
What is sqlcode -811?
7 Answers Accenture, CTS, TCS,
how to fetch first 100 rows in db2
How to update more then one record using update?
What's the difference between DB2 active log and archive log? Thanks a lot...
Hi Everyone... Under the Logical files, when am working on multiple rec format logical file, I have joined two pf's using the multiple record format logical file concept, but when i run queried the LF only the first mentioned pf records are reflecting and I am not able to see any of the field records specified under the second pf. Kindly let me know whats the reason behind this. Below is the str of LF., R rec PFILE(LOGICAA) CUSTNO CUSTNAME BILL K CUSTNO R rec1 PFILE(LOGICAA1) CUSTNO ADD K CUSTNO .....
Can we delete records from view?
What is check constraint. Explain with example.
What is filter factor?