4. Using a set operator, display the creditor number of all
creditors who have ever been paid.

Answers were Sorted based on User's Feedback



4. Using a set operator, display the creditor number of all creditors who have ever been paid...

Answer / srinivas

select credit_number from table where paid <> 1

[NOTE: Here we can use boolean value to paid field, if paid is success 1 inserted and if not paid then insert 0].

From above query , there is displays credit numbers with never paid.

Is This Answer Correct ?    0 Yes 0 No

4. Using a set operator, display the creditor number of all creditors who have ever been paid...

Answer / anil

select * from TN where bal is not null;
intersect
select * from TN where bal is null;

Is This Answer Correct ?    2 Yes 6 No

Post New Answer

More Oracle General Interview Questions

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>

2 Answers   Wipro,


How to pass parameters to procedures?

0 Answers  


26. Display the earliest shipping date in the format: DD/MON/YYYY

5 Answers   Wipro,


what is query and types of query

6 Answers   Reliance,


Give syntax for SQL and ORACLE joins.

0 Answers   TCS,






1:-How to write to update command in a procedure in oracle which update two different table at a time 2:-How to write the select command in a procedure in oracle which give multiple records

1 Answers  


Difference between sub query and nested query ?

19 Answers   Keane India Ltd, TCS,


How would you go about verifying the network name that the local_listener is currently using?

0 Answers  


Which database is better for os platform dependency?

1 Answers  


What are the benefits of ordbms?

0 Answers  


How to convert raw data type into text in oracle? Explain

0 Answers  


Is it possible to center an object horizontally in a repeating frame that has a variable horizontal size ?

0 Answers   Oracle, TCS,


Categories
  • Oracle General Interview Questions Oracle General (1789)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)