Question: Write SQL code to achieve the following. 3 . 1 . 1 Create a database named school and a table named student ( the table

Write SQL code to achieve the following.
3.1.1 Create a database named school and a table named student (the table must be created within the School Database)(5)
3.1.2 Insert all the records shown on the table above. (5)
3.1.3 Insert a new record with the Student_ID 9999(use your own values for the rest of the columns)(5)
3.1.4 List all the records where the Student_Name has a letter e.(5)
3.2 Assume you have the following entity.
Write a SQL query to list each employee name and surname, their weekly average and the monthly average. Show a field called OverallAverage which is the weekly average + monthly average. Sort the employees alphabetically. (10)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!