Topfolio
Career TracksMicro Free CoursesTask CoursesPracticeInterview PracticeWork ExperienceProjects
Career TrackBlog
Support
Dashboard
Career TracksMicro Free CoursesTask Courses
SQL & Python
Interview Prep
Work ExperienceProjectsResume Feedback
CertificatesMy OrdersRefer & Earn
Join Community

Navigation

Dashboard
Learn
Career TracksMicro Free CoursesTask Courses
Practice
SQL & PythonInterview Prep
Career
Work ExperienceProjectsResume Feedback
My Stuff
CertificatesMy OrdersRefer & Earn
Join Community
Topfolio

Learn data analytics online. Real skills, real projects, real community.

courses

  • Career Tracks
  • Work Experience
  • Best Data Analyst Course in India
  • SQL Fundamentals
  • SQL Advanced
  • Python for Data
  • Micro Free Courses

practice

  • SQL Fundamentals Interview Test
  • SQL Advanced Coding Test
  • All Practice Tests

resources

  • How to Become a Data Analyst
  • SQL Interview Questions
  • Data Analyst Salary Guide
  • Free Datasets for Practice
  • SQL vs NoSQL Guide
  • Data Analyst vs Data Engineer vs Data Scientist

employers

  • Enterprise Screening
  • AI Proctoring Demo
  • Volume Pricing
  • Employer Portal

company

  • About
  • Terms
© 2026 Topfolio. All rights reserved.Made with ❤️ for aspiring analysts
  1. Home
  2. /
  3. Practice
  4. /
  5. SQL String Functions

SQL String Functions Practice Questions

Text columns rarely arrive in the shape a report needs: names come combined, emails hide the domain, product codes carry a prefix. SQL string functions cut and rebuild those values in place, with SUBSTR and POSITION for slicing, concatenation for joining fields, LIKE for simple pattern matching and regular expressions when the pattern is not simple. These questions cover the parsing and matching problems that come up in interviews and in day-to-day cleanup work.

What you will practice

  • •Slice values with SUBSTR, LEFT, RIGHT and POSITION to pull a prefix, domain or code out of a field
  • •Build new labels by concatenating columns with || or CONCAT and handling NULL parts
  • •Match patterns with LIKE and ILIKE, including the % and _ wildcards and how to escape them
  • •Use regular expressions to extract or replace substrings that a wildcard cannot describe
  • •Standardise case and whitespace with UPPER, LOWER and TRIM before joining or grouping on text

15 of 17 questions in this topic

  • Search Artists by Name Patternbeginner
  • Uppercase Artist Namesbeginner
  • Create Full Customer Namesbeginner
  • Extract Email Domainsintermediate
  • UNION ALL: Combined Invoice Reportintermediate
  • Convert Names to Uppercasebeginner
  • Filter by String Patternintermediate
  • Extract First Name from Full Nameintermediate
  • North America Customer Profileintermediate
  • Customer Email Domain Reportintermediate
  • Radio-Friendly Love Songsintermediate
  • RFM Customer Segmentationadvanced
  • Extract Email Addressesintermediate
  • Parse Apache Access Log Linesadvanced
  • Extract URLs From HTML Anchorsintermediate