Answered step by step
Verified Expert Solution
Question
1 Approved Answer
EN - US Write SQL queries for the following DML Commands 1 . List the student name, GPA from student table. 2 . List the
ENUS
Write SQL queries for the following
DML Commands
List the student name, GPA from student table.
List the name of student who are scoring GPA in between and
List the sID, cName, decision of applications that are accepted.
List the sID, cName of applications which are filled at Stanford.
List the colleges not in California.
greater than and scored GPA less than
List names of all student who came from high school having size
List the student names those are starting with H and with five characters.
Modify the GPA of all students by giving raise in their GPA.
List the details of the students in order of the ascending of GPA and
descending of DoB.
List the sIDs of student who apply in either StanfordCornell or MIT college.
Joins
List the sID, major of the students whose applications got accepted.
List sID, sNames of students who applied for major CS
List the cName, state of the colleges which are offering major history.
List sName of students whose GPA is above the average GPA of their major.
List sName, cName whose application is accepted for major CS
List sID, sName of students who applied for more than majors.
List sName of students who applied for more than majors and accepted for atleats one major.
Display the average GPA, major where more than students are applied for a major.
List sNames of students who applied for colleges in CA state.
List sNames of students who applied for college which enrollment is more than
Nested queries
IDs and names of students who have applied to major in CS at some college.
Find ID and name of student having same high school size as Jay.
Find the name of student with their GPA and Sid whose GPA not equal to GPA of Irene?
Give the number of colleges Jay applied toRemember count each college once no
matter if he applied to same college twice with different major
Find details of Students who applied to major CS but not applied to major EEsID
should only be include in result
All colleges such that some other college is in same state. Cornell should not be part of
result as no other college in New York Hint: use exists
Find the college with highest enrollment.
Find name of student having lowest GPA.
Find the most popular major.
Find IDs of student and major who applied in any of major Irene had applied toAnswer the all the questions including joins also
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