SQL Select 1

Quiz
•
Computers
•
Professional Development
•
Hard
Halyna Melnyk
Used 79+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How to select all data from the table my_table_name?
SELECT * FROM my_table_name
SELECT ALL FROM my_table_name
SELECT ANY FROM my_table_name
SELECT ALL ROWS FROM my_table_name
2.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
How to select only rows which are equal by the condition?
SELECT * FROM my_table_name WHERE city = 'Berlin'
SELECT * FROM my_table_name WHERE city LIKE 'Berlin'
SELECT * FROM my_table_name WHERE city EQUAL 'Berlin'
SELECT * FROM my_table_name WHERE city EQUALS TO 'Berlin'
3.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
How to select only rows which aren't equal by the condition?
SELECT * FROM my_table_name WHERE city <> 'Berlin'
SELECT * FROM my_table_name WHERE city NOT LIKE 'Berlin'
SELECT * FROM my_table_name WHERE city NOT EQUAL 'Berlin'
SELECT * FROM my_table_name WHERE city NOT IN ('Berlin')
4.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
How to select only specific columns from the table?
SELECT city, country FROM customers
SELECT customers.city, customers.country FROM customers
SELECT c.city, c.country FROM customers c
SELECT COLUMNS city, country FROM customers
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How to select values by many conditions? (choose all possible options)
SELECT * FROM Products WHERE price = 18 OR price = 19
SELECT * FROM Products WHERE price = 18 BETWEEN name LIKE 'nik'
SELECT * FROM Products WHERE price = 18 AND name LIKE 'nik'
SELECT * FROM Products WHERE price = 18 IN name LIKE 'nik'
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the proposed statements can return a result that is less or more than the given value?
SELECT * FROM Products WHERE price < 18
SELECT * FROM Products WHERE price LESS THEN 18
SELECT * FROM Products WHERE price BY 18
SELECT * FROM Products WHERE price BETWEEN 18 AND 100
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How to select only NULL values?
SELECT * FROM Products WHERE price = NULL
SELECT * FROM Products WHERE price LIKE NULL
SELECT * FROM Products WHERE price IS NULL
SELECT * FROM Products WHERE price EQUALS NULL
Create a free account and access millions of resources
Similar Resources on Wayground
12 questions
OFFICE 365

Quiz
•
Professional Development
10 questions
Google Drive Startup

Quiz
•
Professional Development
10 questions
Manage Files on Windows Quiz

Quiz
•
Professional Development
15 questions
Unit 1 lesson 1

Quiz
•
University - Professi...
10 questions
Google Cloud Digital Leader - Application

Quiz
•
Professional Development
10 questions
IS4H Intro to Computers Module 3 Nursing Leadership

Quiz
•
Professional Development
8 questions
PowerPoint Review

Quiz
•
Professional Development
10 questions
Perform Word Processing

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade