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 schema in db2?
What is consistency token in db2?
What are the contents of dclgen?
Mention a credible reason why select* is never given preference in an sql program that has been embedded.
What is data manager?
What is catalog database in db2?
What is isolation level in db2?
How to resolve deadlock issue
What are the contents of a dclmgen?
Explain the contention situations caused by locks?
What is db2 optimizer?
How do I import data from excel to db2?
What is the difference between db2 and oracle?
What is syscat in db2?
How to find primary key of a table in db2?