Question: Need help with the SQL queries to answer these questions: Part 1: Set up the environment which needed to run your queries. This environment includes

Need help with the SQL queries to answer these questions:

Part 1: Set up the environment which needed to run your queries. This environment includes the employee schema and importing data to the schema. For this homework we are using an Employee sample database which you can find using below URL: https://dev.mysql.com/doc/employee/en/ Part 3 which is installation holds the path to GitHub which you can download all the required files. Please download an employee sample database from GitHub by using this URL: https://github.com/datacharmer/test_db After extracting the folder "test_db-master" open MySQL WorkBench and then File --> Open SQL Script and chose Employees.sql and run it. In the last part of the Employees.sql file where is has select and source it tries to upload the .dump file right after it creates the schema. If that part gives you an error first run from the beginning of the code up to line number 97 right before create view. After schema has been created you can go to Data Import/Restore and import all of dump file in test_db-master folder. After you created the schema and loaded with data you can start running the queries. 37) The person with highest pay in department number 1 just got fired. Please remove him/her from the employee table. 38) Do you see any person with undefined salary? 39) Create a table name Dependent. Choose your own set of attributes. 40) The company went bankrupt and after two years they want to delete all of the records for the company how they can do that
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
