Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Introduction
Concatenation
Simple text functions
How to modify Strings
Summary

Instruction

Good job! Remember, you don't have to use LEN() or other text functions in the SELECT clause only. You can use text functions in WHERE, too! This allows you to filter columns with longer or shorter values. For instance:

SELECT
  Id,
  Text
FROM Slogan
WHERE LEN(Text) > 45;
a7

The above query will select only those slogans whose length is greater than 45 characters.

Exercise

Show the ID numbers of all items with a name longer than 8 characters.

Stuck? Here's a hint!

Use LEN(Name) > 8 as the condition.