DataDriven
LearnPracticeInterviewDiscussDailyJobs

Extract the numeric portion of each username (characters 5 through 7) as user_number

A medium SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.

Domain
SQL
Difficulty
medium

Problem

Extract the numeric portion of each username (characters 5 through 7) as user_number. Show username and user_number from the users table. Limit to 5 rows.

Practice This Problem

Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and grades it automatically.

Related

  • All Practice Problems
  • Mock Interview Mode
  • SQL Interview Questions
  • Data Engineering Interview Prep Guide
  • Daily Challenge
  • Data Engineering Lessons