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
Why db2 is called db2?
Is the primary key a clustered index?
Can we delete records from view?
DB2 can implement a join in three ways using a merge join, a nested join or a hybrid join. Explain the differences?
What is plan in cobol db2?
What is the physical storage length of date data type?
What type of database is db2?
What is nvl in db2?
What is concurrency?
What is a storage group (stogroup)?
Explain about open switch business continuity software?
What is package in cobol db2?
What is check constraint. Explain with example.
Name the lockable units in DB2?
Can one database have multiple instances?