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
Which isolation level provides highest data integrity?
What is the difference between oracle and db2?
Mention a credible reason why select* is never given preference in an sql program that has been embedded.
Is ibm db2 open source?
What is the purpose of rollback and commit?
What is plan in cobol db2?
Explain various types of locks in db2?
What is rct?
i want to maintain uniqueness on pdf without make lf??????????
What is the role of schema in the db2 database?
What is db2 bind process?
What is a db2 cursor?
What are the two types of logging in the db2 database? Explain them.
How many databases are there?
Mention the way of highlighting as well as putting a cursor to use in a cobol program.