SQL Practice Logo

SQLPractice Online

Scenario SQL Question

Find All Records with Duplicate First Names

Build mastery in Finding Duplicates with this scenario-based SQL challenge and live execution support.

Problem Statement

Write a query to find all employees who share the same first name with at least one other employee. Return first_name, last_name, and occurrence count.

Relevant Tables

employees

SQL Concepts Used in This Scenario

Strengthen your understanding with these targeted learning topics: