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 / harsha
select e.name,e.deptname,d.doj from emp_table e,dept_table d
where e.deptno=d.deptno and doj between '01-jan-2007' and
'01-jan-2008'
Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
what is db2 restart?
What are bind parameters in db2?
What's The Error Code For Unique Index Voilation?
Explain various types of locks in db2?
What is buffer pool in the db2 database?
What is node in db2?
What is db2 plan table?
can any one provide me the link for the db2 v7 & db2 v8 manual for Z/os? i need to know about the syntax of REORG in both versions & need to know the difference as well
When reorg is used?
Define declaration generator (dclgen).
What is ibm db2 used for?
Can we insert update delete in view?
Outputs of explain are with matchcols = 0. What does this signify?
What is db2 and what is the use of db2 optimizer?
What is dbrm in db2 database?