This is called RDBMS right as it is joining two tables having a common field ID/EmpId. Instead of having two tables why cannot we have only one table with all the fields in it. What is the necessity of creating a new table and connecting them using a primary key.In a single table also we can perform SQL query to get the results.
Please help urgently as i am having a seminar on coming tuesday
Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
Those would normally be one table since they have a 1:1 relation. Also, 'Age' should not be stored as it is derived from DOB, otherwise you have to recalculate all the Age fields every day.
Bookmarks