Below are the tables and the corresponding values that are supposed to be insert
Below are the tables and the corresponding values that are supposed to be inserted and manipulated as required and mentioned below:
Need to insert or delete values or manipulate the data in such a way that it returns some values without giving us NULL results.
The ask is to provide the query or series of queries that we are required to run in order to get some data which satisfies each of the below questions. Also provide manipulated tables if we need to create any new column as such we need that as well.
Question:
Implement Oracle SQL code to solve the queries listed below. Additionally, you have to design and solve 10 additional SQL queries, 6 update and 6 delete statements for your project. List the total number of hotels without swimming pool facilities located in California.
Find hotel locations with the lowest reservations on November 23, 2023.
Find the name of the employee(s) assigned to hotels in Dallas that had worked the most hours on November 3, 2023.
List the hotels that have at least 20 rooms but with less than 10 employees working in their location.
Print the payroll from March 4, 2022 to March 10, 2022 displaying employee name, hours worked and total salary for all employees
Design a delete statement to delete employees without graduate degrees. in hotels located outside the United States.
Design an update statement to give a 23% salary raise to employees working more than 5 hours from March 4, 2023 to March 10, 2023.
Please find the attachment for the table schema and input data.
Leave a Reply