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
10 questions
BASES DE DATOS PREVIO

Quiz
•
Professional Development
7 questions
Consults Postgres I

Quiz
•
Professional Development
10 questions
Computer Networks Quiz

Quiz
•
University - Professi...
10 questions
IT General Control

Quiz
•
Professional Development
10 questions
IS.Qz wk.5

Quiz
•
Professional Development
10 questions
SQL Commands - SELECT Statements

Quiz
•
Professional Development
15 questions
JavaScript

Quiz
•
Professional Development
15 questions
Evaluación de conocimientos

Quiz
•
Professional Development
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade