1)I have a table Department and Employee. one Department have many Employees. 2)How to create these tables using SQL 3)And last one that,how cani get Employess for that Department using SQL in my Servlet apllication.
thanks , but my problem is that, one Dept table and Emp table, there is primary key called Dept_Id which determine the employees in Emp table. 1)how to create these tables using SQL. i.e supposein oracle. 2)And from my servlet application, how can I write SQL statement that fetch the employees of that Dept_Id.
"FaisalIshaqueJava FaisalIshaque", Your name does not comply to the JavaRanch naming standard. Please see the description here Please edit your profile and change your display name. Accounts with invalid display names get deleted Thanks, Dave
We don't have time to be charming! Quick, read this tiny ad: