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
While unloading huge amount of data from table. Suddenly job failed some error. Imagine 1M data unloading, In that 90% data unloaded only 10% left, So if want to unload the rest 10% what needs to be done? Whether do i need to start from top or anything ?
What is the maximum number of columns in a db2 table?
What is the syntax for creating a table in the db2 database?
What is dclgen (declaration generator)?
Which command is used to remove all rows from a table?
How to create backup table in db2?
Can there be more than one cursor open for any program?
What is db2 optimizer?
What is drop table?
What is a Foreign Key?
What is the physical storage length of the data types date, time, and timestamp?
What is buffer pool in the db2 database?
List down the types of triggers in the db2 database?
What is copy pending status in db2?
Highlight all the advantages that are attached to a package.