SQL Strings Practice Problems: 105 Questions with Solutions

105 SQL strings practice problems with solutions: CONCAT, SUBSTRING, TRIM, REPLACE, LIKE and GROUP CONCAT. Written in MySQL, judged on hidden datasets.

  • Problems: 105
  • By difficulty: 50 easy · 44 medium · 11 hard
  • Dialect: MySQL

Practise SQL string functions in MySQL: CONCAT, SUBSTRING, LEFT and RIGHT, UPPER and LOWER, TRIM, REPLACE, LENGTH, LIKE patterns and GROUP_CONCAT. The problems fix names, mask card and phone numbers, read e-mail domains and build labels, the text work that turns up in data-cleaning and reporting rounds.

Easy SQL strings problems

Medium SQL strings problems

Hard SQL strings problems

Every SQL problem · The SQL skill test