
PQ Quiz 2
Quiz
•
Other
•
Professional Development
•
Practice Problem
•
Medium
ProQual Exam
Used 4+ times
FREE Resource
Enhance your content in a minute
153 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A.... is a property of the entire relation, rather than
of the individual tuples in which each tuple is unique.
Rows
Key
Attribute
Fields
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of the following query?
SELECT studentdatabasename
FROM RDBMS
WHERE marks > SOME (SELECT marks
FROM student
WHERE SECTION = 'c');
The query gives all the studentdatabasename for
which marks are greater than all the students in
section c
The query gives all the studentdatabasename for
which the marks are greater than at least on
student in section c
The query gives all the studentdatabasename for
which the marks are less than all the students in
section c
The query is syntactically incorrect
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct answer to describe the following
query.
SELECT name
FROM instructor
WHERE salary IS NOT NULL;
Tuples with null value
Tuples with no null values
Tuples with any salary
All of the mentioned
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following MySQL aggregate functions is used to calculate the average?
COUNT()
EVERAGE()
AVERAGE()
AVG()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
From the query below, how many rows are selected?
SELECT Name
FROM instructor
WHERE salary > SOME (SELECT salary FROM
instructor WHERE dept_name = 'Comp.Sci.');
The number of rows selected depends on the data
in the 'instructor' table and the comparison of
salaries.
The number of rows selected is O
The number of rows selected is always 10
The number of rows selected is 100
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The query given below will not give an error. Which one of the following has to be replaced to get the desired output?
SELECT ID, name, dept name, salary * 1.1
WHERE instructor;
Salary*1.1
ID
Where
Instructor
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the MySQL AUTO_INCREMENT attribute?
The purpose of the MySQL AUTO_INCREMENT
attribute is to delete existing rows in a table.
The purpose of the MySQL AUTO_INCREMENT
attribute is to update the values in a column.
The purpose of the MySQL AUTO_INCREMENT
attribute is to sort the rows in a table.
The purpose of the MySQL AUTO_INCREMENT
attribute is to automatically generate a unique
value for a column whenever a new row is inserted
into the table.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Other
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
25 questions
Christmas Movies
Quiz
•
Professional Development
20 questions
Christmas Trivia
Quiz
•
Professional Development
15 questions
Fun Holiday Trivia
Quiz
•
Professional Development
25 questions
Name That Tune - Christmas
Quiz
•
Professional Development
29 questions
Christmas Song Emoji Pictionary
Quiz
•
Professional Development
9 questions
Holiday Movie Trivia
Lesson
•
Professional Development
34 questions
Winter Trivia
Quiz
•
Professional Development
