Retrieve the length of the description column, returning the results as description_length.
SELECT ........... (...........) AS ........... FROM grid;
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%';
10 questions
Cellular Adaptation
Quiz
•
University
10 questions
Therapeutic Communication
Quiz
•
University
10 questions
Advanced Concepts Quiz Four Review
Quiz
•
University
10 questions
สอบวัดผลหลังเรียน
Quiz
•
University
10 questions
HEALTH CARE SYSTEMS
Quiz
•
University
6 questions
Let's practice! - Aggregating Data
Quiz
•
University
10 questions
Terminal Area Forecast (TAF)
Quiz
•
11th Grade - University
10 questions
All about Hobbies and what not!
Quiz
•
1st Grade - Professio...
25 questions
Equations of Circles
Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)
Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System
Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice
Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers
Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons
Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)
Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review
Quiz
•
10th Grade