
SQL Queries - DDL
Authored by Sree MK
Professional Development, Education
Professional Development
15 Questions
Used 12+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will be the output of this query?
SELECT * FROM employees;
Retrieve all rows in the employee database
Retrieve all rows from the employee table
Retrieve all columns from the employee database
Retrieve all columns from employee table
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Question 2
How will a data analyst retrieve a list of all employees' first_name, last_name and hire_date from the employees table?
select first_name,last_name,hire_date, from employee;
select first_name,last_name and hire_date from employees;
Select first_name,last_name& hire_date from employees;
select first_name,last_name,hire_date from employees;
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these SQL statements will select all the members with last names that start with capital letter "M" in the table member?
select * from member where last_name="M%";
select * from member where last_name="M-"
Select * from member where last_name="M"
select * from member where last_name like "M%"
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will be the result of this query?
SELECT dept_name
FROM Departments
WHERE dept_no BETWEEN 'd003' AND 'd006';
Select all department name whose department number is not between d003 and d006;
select all department names whose department number is between d003 and d006;
select a list of all departments whose department number is between d003 and d006;
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
SELECT statement is a ...............in SQL
Data Control Language(DCL)
Transcation Control language(TCL)
Data Manipulation language(DML)
Data Definition language(DDL)
6.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
COUNT is a .................function
Aggregate
procedure
user-defined
Summarizing
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following is a valid SQL statement to select all the members who live in T from the table member?
select * from member
select * from member where state_abbravation="T"
select * from member where state_abbrevation=='T'
select * from member where state_abbravation is T
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
13 questions
Anime 99
Quiz
•
9th Grade - Professio...
14 questions
End of Year Celebration - Pearson ELL
Quiz
•
Professional Development
10 questions
Complete Recovery EQ DAY 2
Quiz
•
Professional Development
10 questions
INTELLIGENCE
Quiz
•
Professional Development
20 questions
Technical Quiz Round 1
Quiz
•
Professional Development
10 questions
Gujarat State
Quiz
•
KG - Professional Dev...
17 questions
I love my job!
Quiz
•
6th Grade - Professio...
16 questions
Noom | Day 3 - Enrollment
Quiz
•
Professional Development
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