I HAVE 2 TABLES ONE IS EMP_TABLE AND ANOTHER
DEPT_TABLE.EMP_TABLE CONTAINS NAME,DEPTNO,DEPTNAME,LOCATION
AND DEPT_TABLE CONTAINS DEPTNO,DOJ(DATE OF JOINING).I WANT
TO DISPLAY NAME,DEPTNAME,DOJ AND WHO ARE JOINED BETWEN 01-
JAN-2007 TO 01-JAN-2008?
Answer Posted / amlan roy
Select...........
from....
........
where DEPT_TABLE.DEPNO = EMP_TABLE.DEPNO.
AND DOJ between '01/01/2007' and '01/01/2008'
| Is This Answer Correct ? | 11 Yes | 1 No |
Post New Answer View All Answers
What is a collection in db2?
How do you select a row using indexes in db2?
what is db2 restart?
define clustering index.
What is the clustering index in the db2 database?
What are the two types of logging in the db2 database? Explain them.
What is bind plan?
Mention the way of highlighting as well as putting a cursor to use in a cobol program.
What are the prerogatives?
What is concurrency?
What is temporal table in db2?
What does runstats do in db2?
What is the difference between spufi and qmf?
How can record locking be achieved in those DB2 versions which do not support it?
What is reorg and runstats in db2?