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

Can we create trigger on view in oracle?

1 Answers  


what is the difference between sql& oracle?

11 Answers   Oracle,


Can sub procedure/function be called recursively?

0 Answers  


How to create a stored program unit?

0 Answers  


Do View contain Data ?

10 Answers  






What are virtual columns?

2 Answers   TCS,


Explain temporal data types in oracle

0 Answers  


How to experiment a data lock in oracle?

0 Answers  


How to upsert (update or insert into a table)?

0 Answers  


What are the type of Synonyms?

1 Answers  


How to check your oracle database 10g xe installation?

0 Answers  


How to enter a new row into a table interactively?

0 Answers  


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)