![]() |
| ||
| selecting the records i have created table named emp contains following fields :name,empno,dob(date of birth),doj(date of join) i wish to select the record like select the employee details those who are joined same date. please replyto me |
| ||
| Re: selecting the records SELECT * FROM emp emp1 WHERE TRUNC(emp1.doj) IN (SELECT TRUNC(emp2.doj) FROM emp emp2 WHERE emp2.rowid <> emp1.rowid) |
| All times are GMT -4. The time now is 2:28 am. |
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC