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 / ramesh
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 ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain in detail about buffer manager and its functionalities?
What is db2 bind?
What are concurrency issues?
How is deadlock resolved?
What is the difference between bind and rebind in db2?
How do you pull up a query which was previously saved in qmf?
What are the various data types available in db2?
How to test SQL -911 error while developing COB-DB2 program
How can we read records for specific member in CL? AND rpg?
What is access path in db2?
How to access db2 tables in mainframe?
Is it possible to create an Instance in DB2 using DB2 Control Center ?
What are iseries servers?
What is buffer pool in the db2 database?
Explain dclgen.