• Skip to primary navigation
  • Skip to content
  • Skip to footer
Thomas Ngo Thomas Ngo Crafting Elegant Solutions Through Code
  • Home
  • Journal
  • Tags
  • About

    Thomas Ngo

    Software Engineer

    • Stanton, California
    • Email
    • GitHub
    • Resume

    SQL problem - Project Employees I

    February 10, 2024 less than 1 minute read

    Page Navigation

    • Problem
    • Query
    1 min read 73 words

    Problem

    problem-1075

    Query

    SELECT
        p.project_id,
        ROUND(AVG(e.experience_years), 2) AS average_years
    FROM
        Project AS p
    JOIN
        Employee AS e
        ON
            p.employee_id = e.employee_id
    GROUP BY
        p.project_id
    

    Tags: SQL

    Updated: February 10, 2024

    Share on

    X Facebook LinkedIn Bluesky
    Previous Next

    Leave a comment

    You may also enjoy

    Problem of The Day: Suspicious Bank Accounts

    March 5, 2026 3 minute read

    Problem Statement

    Problem of The Day: Minimum Suffix Flips

    March 4, 2026 less than 1 minute read

    Problem Statement

    Problem of The Day: Divide Players Into Teams of Equal Skill

    March 4, 2026 less than 1 minute read

    Problem Statement

    Problem of The Day: Sliding Window Maximum

    March 4, 2026 less than 1 minute read

    Problem Statement

    • Follow:
    • GitHub
    • LinkedIn
    © 2026 Thomas Ngo.