
SQL statements Online Quiz
Authored by Srinivas Adapa
Computers
University
Used 107+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not true about SQL statements?
SQL statements are not case sensitive.
SQL statements can be written on one or more lines.
Keywords cannot be split across lines.
Clauses must be written on separate lines.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is returned by INSTR(‘TUTORIALS POINT’, ‘P’)?
11
10
POINT
TUTORIALS
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You want to calculate the tax payable by the employees of an organization. If the employee gets a commission, then the tax would be calculated on commission plus salary, if the employee does not get any commission, then the tax would be calculated on salary only. Which function should you use for calculating tax?
NVL
NVL2
NULLIF
COALESCE
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is true about a group function?
Group functions operate on sets of rows to produce multiple results per group.
DISTINCT keyword makes a group function consider duplicate values.
Group functions ignore null values.
None of the above.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In which of the following cases a DML statement is not executed?
When existing rows are modified
When some rows are deleted
When a table is deleted
All of the above
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not true about the database objects?
Indexes improve performance of queries.
Views give alternative names to objects.
Sequences are numeric value generators.
Tables are the basic unit of storage.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A database administrator can
Create users.
Create privileges.
Grant privileges.
All of the above.
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
25 questions
Quiz No. 1 - Functions in JavaScript
Quiz
•
University
25 questions
AI 900 - pt 5
Quiz
•
University
25 questions
Java Review
Quiz
•
9th Grade - University
31 questions
java collections
Quiz
•
University
25 questions
Machine Learning (Concept Learning)
Quiz
•
University
25 questions
E-COMMERCE
Quiz
•
University
25 questions
Quiz kotajako1
Quiz
•
University
25 questions
MYSQL QUIZ 1
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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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