sql query to get zero records from a table
Answers were Sorted based on User's Feedback
Answer / nanne
Your Question is not clear..i believe that your expecting retrieve the tables which are having zero rows in the database.
Yes...we can retrieve the zero rows tables from DB
Select * from dba_tables
where num_rows = 0;
Regards,
Nanne
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / vipul.solanki
select * from menu_master where rownum <1;
| Is This Answer Correct ? | 1 Yes | 2 No |
You have one employee table having 3 entries emp_id, Mgr_id and salary. Mgr_id is also referencing emp_id. so now find out the emp_id which are having the second highest salary, under a particular manager.
18. Display the clientno and total value for all orders placed by that client. Output the result in the following format: Client <clientno> has placed orders to the value of <total value>
When a form is invoked with call_form, Does oracle forms issues a save point ?
12 RULES OF RDBMS
what are different types of deletes?
How do I use unicode codesets with the weblogic jdriver for oracle driver?
How to define a procedure inside another procedure?
What is an oracle and why it is used?
What is tablespace in oracle? how can we create? how is it manage? . . . Thnx 2 All in Advnc....:)
What is recovery manager(rman) backup in Oracle?
What is trigger associated with the timer ?
which statement is running fastly ie insert or delete?