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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between varchar and varchar2 data types?

656


How to define an oracle sub procedure?

595


How do you find out from the RMAN catalog if a particular archive log has been backed-up?

1654


What are the ways tablespaces can be managed and how do they differ?

1612


How to use "while" statements in oracle?

729






Explain the difference between sql and oracle?

574


What are the built-in functions used for sending Parameters to forms ?

2839


How to define a data field as not null?

628


What is a trigger oracle?

555


why should i declare foreign key constraint as self relation instead of binary relation in tables ?

1564


Which are the five query types available in oracle?

524


How to store only time; not date and time?

555


What is a table in oracle?

535


How to convert csv to table in oracle?

521


What is meant by a deadlock situation?

571