Professional Documents
Culture Documents
My Company
My Company
First log in your system. You have the opportunity of unlimited table space. You have the
permission to create tables. After logging in with your username and password first create
two tables i.e. Worker and Bonus. Worker table has six columns containing information
about Workers Identification Number, First_Name, Last_Name, Department, Joining Date,
Salary. Bonus table has three columns containing information about Workers ref Id, Date
and Amount. Here W_Id is the primary key columns of worker and Worker_ref_Id is the
foreign key of the bonus table. The two tables along with their inserted data are given
below:
Table: Worker
Table:Bonus
Worker Ref Bonus Date Bonus Amount
_Id
2 20-3-2020 5000
1 9-8-2021 7000
1 7-5-2021 9000
3 7-2-2021 8500
After creating the tables and inserting data based on provided requirements write Queries
(Write down the question and also the answer) according to the following specification: