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 cursor with hold option in db2?
How to create db2 table in mainframe?
How can you find out the # of rows updated after an update statement?
What is the difference between cursor stability and repeatable read isolation levels?
What is runstats utility in db2?
What is difference between alias and synonym in db2?
What's The Percentage Free Space ?
What is the use of db2?
What does sqlcabc has?
Are views updateable?
What is syscat in db2?
What is an instance in db2?
Define check constraint.
What is dbrm? What it contains?
How do I delete a table in db2?