
Let's practice! - String
Quiz
•
Specialty
•
University
•
Hard
Thuan Tran
FREE Resource
5 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Retrieve the length of the description column, returning the results as description_length.
SELECT ........... (...........) AS ........... FROM grid;
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Retrieve the first 25 characters from the description column in the grid table. Name the results first_25_left.
SELECT ...........(...........,...........) AS ........... FROM grid;
3.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Amend the query to retrieve the last 25 characters from the description. Name the results last_25_right.
SELECT LEFT(description, 20) AS ........... FROM grid;
4.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Edit the query to return the CHARINDEX of the string 'Weather' whenever it appears within the description column.
SELECT description, ..........('..........', description) FROM grid
WHERE description LIKE '%Weather%';
5.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Fill in the blank
Complete the substring function to begin extracting from the correct character in the description column.
SELECT description, CHARINDEX('Weather', description) AS start_of_string,
LEN ('Weather') AS length_of_string,
SUBSTRING(______,______,______) AS additional_description
FROM grid
WHERE description LIKE '%Weather%';
Similar Resources on Wayground
7 questions
Quiz 4 SQL
Quiz
•
University
9 questions
ARMD
Quiz
•
University
6 questions
Arbor Winter All Hands Training
Quiz
•
University
10 questions
ABS AND ATC
Quiz
•
University
10 questions
Automatic Transmissions and Planetary gear sets
Quiz
•
9th Grade - University
10 questions
190 Week 2: AB-Can You-C-D?
Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games
Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines
Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22
Lesson
•
9th - 12th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
20 questions
US Constitution Quiz
Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
Discover more resources for Specialty
10 questions
Would you rather...
Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History
Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors
Interactive video
•
4th Grade - University
20 questions
Levels of Measurements
Quiz
•
11th Grade - University
16 questions
Water Modeling Activity
Lesson
•
11th Grade - University
10 questions
ACT English prep
Quiz
•
9th Grade - University
