
DBMS endterm
Authored by lucky star
Computers
University
Used 11+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
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?
Similar Resources on Wayground
40 questions
Komputer Akuntansi Kelas XI AK
Quiz
•
KG - Professional Dev...
50 questions
IUTCS Freshers
Quiz
•
University
40 questions
First QUIZ of Database - Edited by: Eng. Javier Daza 2023-1
Quiz
•
University
50 questions
Computer System Servicing
Quiz
•
University
40 questions
KUIS SISTEM OPERASI
Quiz
•
University
42 questions
network
Quiz
•
University
50 questions
Quiz
Quiz
•
University
50 questions
MS Excel Quiz
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade