Search Header Logo

Exercise Database IT 7

Authored by Farah Yulianti

Computers

University

Used 4+ times

Exercise Database IT 7
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

14 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

5 mins • 6 pts

Write an SQL query to find the total number of students enrolled in each department. Column Showed: dept_name and total_students

Clue: use JOIN and AS

2.

FILL IN THE BLANK QUESTION

5 mins • 6 pts

Construct an SQL query to display the department name and the number of courses offered by each department.

3.

FILL IN THE BLANK QUESTION

5 mins • 6 pts

Create an SQL statement to list the names of instructors along with the titles of the courses they teach for the Spring 2018 semester.

4.

FILL IN THE BLANK QUESTION

10 mins • 7 pts

Create an SQL query to retrieve the names of all students who have taken more courses than the average number of courses taken by students in the Comp. Sci. department.

5.

FILL IN THE BLANK QUESTION

10 mins • 7 pts

Write an SQL command to find the course ids of courses that have prerequisites and are taught in the Watson building.

6.

FILL IN THE BLANK QUESTION

5 mins • 7 pts

Write an SQL query to update the budget of the Physics department to be the average budget of all departments.

7.

FILL IN THE BLANK QUESTION

15 mins • 8 pts

Write an SQL query to find all courses taught by Srinivasan that occur on Mondays and Wednesdays.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers