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 db2 look?
What type of database is db2?
Can you tell me how can you find out the # of rows updated after an update statement?
How to check last update on table in db2?
What are concurrency issues?
When reorg is used?
How to restart a DB2 program?
Mention the different locking levels that are available in db2.
Is db2 a database?
Mention the downsides of page level lock.
What kind of database is db2?
What is the maximum size of varchar data type in db2?
How to test SQL -911 error while developing COB-DB2 program
What is the use of value function?
What is the difference between using bind () and rebind () methods of naming class?