[Solved] SOLVED:SQL Questions solution

$25

File Name: SOLVED:SQL_Questions_solution.zip
File Size: 273.18 KB

SKU: [Solved] SOLVED:SQL Questions solution Category: Tag:
5/5 - (1 vote)

1. Give an example of a foreign key constraint that involves the Dept relation.Answer: Manageid is a foreign key. It references the primary key eid in the Emp table2. Write the SQL statements required to create the preceding relations, including appropriateversions of all primary and foreign key integrity constraints.3. Define the Dept relation in SQL so that every department is guaranteed to have a manager.4. Write an SQL statement to add John Doe as an employee with eid = 101, age = 32 and salary = 15,000.5. Write an SQL statement to give every employee a 10 percent raise.6. Write an SQL statement to delete the Toy department.

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] SOLVED:SQL Questions solution
$25