Say CUST Table contains records like:
CUSTNO CUSTNAME CUSTLOC
100 ABC SSS
200 XYZ
300 PQR
400 MNO WWW
500 CVV
-------------
-------------
Now write a query to retrieve all records with CUSTLOC no
data.
Answer Posted / sharat
EXEC SQL
SELECT * FROM CUST
WHERE CUSTLOC = NULL
END-EXEC.
Can anyone let me know whether the query coded above is right.
| Is This Answer Correct ? | 0 Yes | 6 No |
Post New Answer View All Answers
Where do you specify them?
Explain db2.
What is the use of predicate?
What does runstats do in db2?
What is dbrm library?
How do I import data from excel to db2?
What is a cursor in programming?
What is isolation level in db2?
What's The Error Code For Unique Index Voilation?
What is access path in db2?
What is the physical storage length of timestamp data type?
What are the two types of logging in the db2 database? Explain them.
What is explain plan in db2?
What is the role of data manager in the db2 database?
How is deadlock resolved?