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
What is data manager?
What is null indicator in cobol db2?
I have a subprogram B calling from mainprogram A.I have opened a cursor in A ,Can i fetch the same cursor in subprogram B , If yes , Please explain the reason?
what are bind concepts in db2 cobol?
What is bind package and plan in db2?
What is ibm db2 database?
Give a brief description of db2 isolation levels?
How to create db2 table in mainframe?
What are types of indexes?
What is nvl in db2?
what is a corelated subquerry?
Which isolation level provides highest data integrity?
List some fields from sqlca?
How can deadlocks be resolved?
What is the picture clause of null indicator variable?