
DBMS endterm

Quiz
•
Computers
•
University
•
Medium
lucky star
Used 11+ times
FREE Resource
45 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Select incorrect statement about the following SQL statement
CREATE OR REPLACE VIEW sales_view
AS SELECT * FROM sales_table ORDER BY sales_date DESC
LIMIT 10
Replaces "sales_view" if it already exists
Some errors occur when "SELECT * FROM sales_table" is executed after the view is defined
When you 'SELECT' the "sales_view", it displays the first 10 records from the "sales_table" sorted by the "sales_date" in desc order
Defines the view called "sales_view"
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
An error occurs when executing the (2) SQL statement
An error occurs when executing the (4) SQL statement
No error is generated
An error occurs when executing the (1) SQL statement
An error occurs when executing the (3) SQL statement
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Based on the relationship of columns within a table, select the most suitable description that shows that column A is dependent on the column B
The value in column A is uniquely determined when a value in column B is selected
As long as column B exists, the amount of the information won't decrease even if column A is deleted
When the value in column B is changed, the corresponding value of column A also must be changed
The value in column B is uniquely determined when a value in column A is selected
When the value in column A is changed, the corresponding value of column B also must be changed
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You can use aggregate functions as expressions only in the following clauses
LIMIT and DISTINCT clauses
SELECT and HAVING clauses
CREATE and DELETE clauses
GROUP BY and JOIN clauses
WHERE and ORDER BY clauses
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
PostgreSQL evaluates the GROUP BY clause after...
the FROM and WHERE clause
the LIMIT clause
the ORDER BY clause
the HAVING clause
the SELECT clause
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
This operator removes all duplicate rows from the combined data set
SELECT
UNION ALL
INTERSECT
UNION
EXCEPT
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
NAND
UNION ALL
INTERSECT
UNION
EXCEPT
Create a free account and access millions of resources
Similar Resources on Wayground
50 questions
THI THỬ TA CNTT

Quiz
•
8th Grade - University
44 questions
Công Dân Số 2

Quiz
•
University
40 questions
OP 4 SPECIAL EXAM MIDTERM

Quiz
•
University
50 questions
INHW Test (Q1) - ICT2-1

Quiz
•
University
50 questions
MTA 98-364 RESUME

Quiz
•
University - Professi...
50 questions
SKILL QUIZ

Quiz
•
University
50 questions
DBMS Quiz

Quiz
•
University
42 questions
IMDBSYS31 PRELIM

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University