Exercise Database IT 7

Exercise Database IT 7

University

14 Qs

quiz-placeholder

Similar activities

MindSpace Quiz S-3

MindSpace Quiz S-3

University

15 Qs

Cuestionario de SQL

Cuestionario de SQL

University

14 Qs

Review chapter 7,and 8

Review chapter 7,and 8

University

11 Qs

Advanced Database Development Part 2

Advanced Database Development Part 2

University

14 Qs

SYS 1591

SYS 1591

University

10 Qs

Repaso General SQL

Repaso General SQL

University

17 Qs

BAnDS Tournament Round 3

BAnDS Tournament Round 3

University - Professional Development

10 Qs

ICT502_LECTURE 2 RELATIONAL MODEL

ICT502_LECTURE 2 RELATIONAL MODEL

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?