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
Where do you specify them?
How do you stop a db2 database in linux?
How to find schema of a table in db2?
What is check constraint. Explain with example.
Explain package in db2 and its advantages?
What is package in db2 mainframe?
How to get the ddl of a table in db2?
How to resolve deadlock issue
How can the duplicate values be eliminated from db2 select?
Explain about rct in db2?
What do you mean by between and in? Is between inclusive of specified range values?
List out the buffer pools in db2
Mention the definition of cobol in varchar field.
What are types of indexes?
Which command is used to connect to a database in DB2 ? Give the Syntax.