
Let's practice! - String
Authored by Thuan Tran
Specialty
University

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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.
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.
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.
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.
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%';
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Anime
Quiz
•
KG - University
10 questions
ADHD
Quiz
•
University
10 questions
Documentary: Sound and Fury
Quiz
•
5th Grade - University
10 questions
Ageing Process
Quiz
•
University
10 questions
NSTP 1 PREFINALS QUIZ
Quiz
•
University
10 questions
สอบวัดผลหลังเรียน
Quiz
•
University
10 questions
National Poetry Month - News 2 You
Quiz
•
KG - University
10 questions
Product Lifecycle Stage 1
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Specialty
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
5 questions
Poetry Interpretation
Interactive video
•
4th Grade - University
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
15 questions
Review1
Quiz
•
University
15 questions
Pre1
Quiz
•
University