'Employee' with structure as ID, name, Address, Phone, Deptno
'Department' with structure as Deptno, Dname
_____ is used to represent the relationship between two relations Employee and Department.
The question asks about the specific database concept used to link two different tables, specifically the 'Employee' table and the 'Department' table. We are given the structures of these tables:
The common column, 'Deptno', present in both tables is the key to establishing a connection or relationship between an employee and their respective department.
Let's look at the different types of keys mentioned in the options to understand why one is correct:
In this scenario, the 'Deptno' column in the 'Employee' table points to the 'Deptno' in the 'Department' table. This is exactly the function of a Foreign Key. The 'Deptno' in the Employee table is referencing the primary key ('Deptno') of the Department table, thereby representing the relationship: each employee belongs to a specific department.
Therefore, the Foreign Key is used to represent the relationship between the Employee and Department relations.
A stone is thrown horizontally from the top of a 20 m high building with a speed of 12 m/s. It hits the ground at a distance R from the building. Taking g = 10 m/s2 and neglecting air resistance will give :
A mass is attached to a spring that hangs vertically. The extension produced in the spring is 6 cm on Earth. The acceleration due to gravity on the surface of the Moon is one-sixth of its value on the surface of the Earth. The extension of the spring on the Moon would be:
Directions: Each item in this section consists of a sentence with an underlined word followed by four words (a), (b), (c), and (d). Select the option that is opposite in meaning to the underlined word and mark your response in your Answer Sheet accordingly.
The major source of vitamins and minerals for vegetarians is
Which of the following statements about the Deccan Riots Commission is/are correct?
1. The Commission did not hold enquiries in the districts which were not affected.
2. The Commission did record the statements of ryots, sahukars and eye-witnesses.
Select the correct answer using the code given below: