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 / arul
Select a.Name,a.DeptName,b.doj From Emp_Table as
a,Dept_Table as b Where a.Deptno=b.deptno and b.doj
between '01-jan-2007' And '01-jan-2008'
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
What is consistency token in db2?
What does db2 plan contain?
What is the role of union all and union
What is copy pending and check pending in db2?
When reorg is used?
Explain dclgen.
what is the role of the cursor in db2?
How do I import a csv file into db2?
before altering a table is it necessary to lock ? if lock what is it ? how to do ? ifi want to lock a table what is that command ?
What is explain in db2?
Explain correlated sub-queries.
What are bind parameters in db2?
What is access path in db2?
How can we read records for specific member in CL? AND rpg?
What is buffer pool and list some of them?