Exercise Database IT 7

Exercise Database IT 7

University

14 Qs

quiz-placeholder

Similar activities

MONGO

MONGO

University

13 Qs

SQL Quiz

SQL Quiz

University

19 Qs

ISAC Weekly Quiz 7 (DBMS)

ISAC Weekly Quiz 7 (DBMS)

University

10 Qs

Microsoft Office

Microsoft Office

University

15 Qs

Round 1 for Preplacement Bootcamp.

Round 1 for Preplacement Bootcamp.

University

15 Qs

week 4 SQL (JOIN/groupby/aggregate)

week 4 SQL (JOIN/groupby/aggregate)

University

19 Qs

SQL - Chapter 1 review

SQL - Chapter 1 review

University

12 Qs

Internet Basics

Internet Basics

University

15 Qs

Exercise Database IT 7

Exercise Database IT 7

Assessment

Quiz

Computers

University

Medium

Created by

Farah Yulianti

Used 4+ times

FREE Resource

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.

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?