SQL practice: Text Functions

Chapter 19 · 9 questions · included in full access

  1. Question 1 · easy

    Show each customer's name in capitals with their city in lowercase.

    Solve it in your browser
  2. Question 2 · easy

    Show a single column reading name - city for every customer.

    Solve it in your browser
  3. Question 3 · medium

    Show each product name with its length in characters.

    Solve it in your browser
  4. Question 4 · medium

    Show the first 3 characters of every city name in branches.

    Solve it in your browser
  5. Question 5 · medium

    Find customers whose name is longer than 18 characters.

    Solve it in your browser
  6. Question 6 · medium

    Show every branch name with the word 'Branch' replaced by 'Office'.

    Solve it in your browser
  7. Question 7 · medium

    Show each customer as Shree Interiors (Delhi) — name, space, city in brackets.

    Solve it in your browser
  8. Question 8 · hard

    Find customers whose name contains 'facade' regardless of capitalisation.

    Solve it in your browser
  9. Question 9 · hard

    Show each product with a spec line like 'ACP Sheet, 4.0 mm'. Products with no thickness should show just their category, but they come out NULL. Fix it.

    Solve it in your browser

These questions are part of full access.

The first chapters of every track are free. Full access is a one-time payment.

See pricing