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 / s
select name.deptname.doj from emp_table innerjoin dept_table
on emp_table.deptno = dept_table.deptno
| Is This Answer Correct ? | 3 Yes | 5 No |
Post New Answer View All Answers
Explain how can you do the explain of a dynamic sql statement?
How do we specify index to include or not during bind process.
How to restart a DB2 program?
Can we delete records from view?
What is runstats utility in db2?
What is query_cache_limit?
What is syscat in db2?
Which isolation level provides highest data integrity?
What is db2 bind process?
List out the buffer pools in db2
What is copy pending status in db2?
What is cobol db2?
What is a db2 schema?
What is table space in db2?
Is ibm db2 open source?