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
How do I create a view in db2?
What is the use of predicate?
What is node in db2?
What is the role of the data page in the db2 database?
How do you select a row using indexes in db2?
What is nvl in db2?
Describe major components of db2?
What is cobol db2?
How can record locking be achieved in those DB2 versions which do not support it?
What is a system catalog table in db2?
What is the difference between using bind () and rebind () methods of naming class?
What does db2 mean?
Explain package in db2 and its advantages?
How do I delete a column in db2?
What is db2?