i am using oracle database
i am having empid as a unique value
by using empid i want to take data from multi table
i use this code
SELECT * FROM TABLE1,TABLE2,TABLE3,TABLE4,TABLE5,TABLE6 WHERE EMPID='0011' AND TABLE1.EMPID = TABLE2.EMPID AND TABLE2.EMPID = TABLE3.EMPID AND TABLE3.EMPID = TABLE4.EMPID AND TABLE4.EMPID = TABLE5.EMPID AND TABLE5.EMPID = TABLE6.EMPID
BUT its not working please tell me any correction or any new code for it.........