What will be the output of this query?
SELECT * FROM employees;
SQL Queries - DDL
Quiz
•
Professional Development, Education
•
Professional Development
•
Hard
Sree MK
Used 12+ times
FREE Resource
15 questions
Show all answers
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
10 questions
Google Docs and Sites for Advanced Google Educator
Quiz
•
Professional Development
20 questions
Type3 Quiz
Quiz
•
Professional Development
16 questions
Photoshop tools
Quiz
•
6th Grade - Professio...
10 questions
data ethics
Quiz
•
KG - Professional Dev...
17 questions
Nexa HealthCare
Quiz
•
Professional Development
10 questions
Syteline Quiz 1
Quiz
•
Professional Development
15 questions
SQL Statements and Queries
Quiz
•
Professional Development
20 questions
SQL FINAL ASSESSMENT
Quiz
•
Professional Development
15 questions
Character Analysis
Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
10 questions
American Flag
Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25
Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade