Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Access and manipulate the data ( 4 0 pts ) 1 . Create an SQL file to do hold the queries you would write to
Access and manipulate the data pts
Create an SQL file to do hold the queries you would write to solve the following
problems.
INFO : review assignment
Revised: Spring
Make sure to include a comment block at the top of the file including your name,
the assignment and course
Remember, your file can contain multiple SQL statements so long as you end
each statement with a semicolon ;
Write and test queries to solve each of the following problems. When you have a
successful query, make sure to copy your SQL statement into your SQL file.
Find out what courses Patty Melt and Bilbo Baggins have taken or are taking.
Make sure to include the students full name, class name, department, number,
section as well as the students grades.
Luke Skywalker enrolled in INFO Insert the needed entry to track this
enrollment.
A new student, Rory Williams, has decided to enroll in courses. Make sure his
student record gets inserted. His phone number is
Find Rorys assigned stuid
Enroll Rory in the classes, INFO and RING by inserting to the enroll
table.
Charlie Kelly has decided to drop INFO and go into business with his
friends. Please delete his enrollment. Be careful to preserve any other earned
credit!
Luke Skywalker earned a B in INFO Update the appropriate record to store
this grade.
Find out if we need to close any courses due to low enrollment. Which classes
dont have any students enrolled in them? Make sure to include the course
name, department, number and section.
Get a count of how many classes each student is currently taking.
Hint! Current classes are those without a final grade recorded in the enroll tableTask : Insert sample data pts
Using the images below, add insert statements to your create.sql file.
classes:
enroll:
students:
Execute your insert statements on your recently created school database to test them.
If you encounter any errors, address the issue and run the script again.
Task : Access and manipulate the data
Create an SQL file to do hold the queries you would write to solve the following
problems.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started