
SQL set 3
Authored by ESPARK 2023
Other
University
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following must be enclosed in double-quotes?
Dates
Column Alias
String
All of the mentioned
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
A subquery in an SQL SELECT statement is enclosed in:
parenthesis -- (...)
brackets -- [...].
CAPITAL LETTERS
braces -- {...}
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is returned by SUBSTR(‘TUTORIALS POINT’, -1, 1)?
T
NULL
0
N
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Consider the following schema −
STUDENTS(student_code, first_name, last_name, email,phone_no, date_of_birth, honours_subject, percentage_of_marks);
Which query will display the names and honours subjects of all students and if a student has not yet been given a honours subject yet, then it should display ‘No Honours Yet’?
select first_name, last name, nvl(honours_subject, ‘No Honours Yet’) from students;
select first_name, last name, nvl2(honours_subject, ‘No Honours Yet’) from students;
select first_name, last name, honours_subject, from students;
select first_name, last name, nullif(honours_subject, ‘No Honours Yet’) from students;
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is not true about single-row subqueries?
Single row subqueries return one row from the inner SELECT statement.
Single row subqueries return one row from the outer SELECT statement.
Single row subqueries use single-row comparison operators.
All of the above.
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is not a developer’s privilege?
CREATE USER
CREATE TABLE
CREATE VIEW
CREATE SEQUENCE
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is not true about use of a database view?
It restricts data access.
It makes queries easy.
It provides data independence.
It prevents different views of same data.
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
7 questions
Nickelodeon
Quiz
•
KG - University
10 questions
GMP QUIZ MODULE 1
Quiz
•
University
8 questions
Q06. E-COMMERCE
Quiz
•
University - Professi...
15 questions
Mentor's Disney Quizziz (F&D)
Quiz
•
University
13 questions
Lego
Quiz
•
KG - Professional Dev...
10 questions
2D Animation Introduction
Quiz
•
University
10 questions
Exoictic cars.
Quiz
•
5th Grade - Professio...
10 questions
Introduction to Drones
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
Discover more resources for Other
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
5 questions
Poetry Interpretation
Interactive video
•
4th Grade - University
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
15 questions
Review1
Quiz
•
University
15 questions
Pre1
Quiz
•
University