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 / arul
Select a.Name,a.DeptName,b.doj From Emp_Table as
a,Dept_Table as b Where a.Deptno=b.deptno and b.doj
between '01-jan-2007' And '01-jan-2008'
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
How do I create a view in db2?
What is schema in db2?
What is cascading rollback?
What is load utility in db2?
How to check last update on table in db2?
what is the sqlcode -501
My sql statement select avg(salary) from emp yields inaccurate results. Why?
Are view updateable?
How can you count the number of rows from a table tab?
What is difference between isnull and coalesce?
Why select is not preferred in embedded sql programs?
What is nvl in db2?
What is data manager?
What is buffer pool and list some of them?
Is the primary key a clustered index?