• 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 - Employee Bonus

    February 6, 2024 less than 1 minute read

    Page Navigation

    • Problem
    • Query
    1 min read 67 words

    Problem

    problem-577

    Query

    SELECT
        name,
        bonus
    FROM
        Employee AS e
    LEFT JOIN
        Bonus AS b
    ON
        e.empId = b.empId
    WHERE
        bonus < 1000 OR bonus IS NULL
    

    Tags: SQL

    Updated: February 6, 2024

    Share on

    X Facebook LinkedIn Bluesky
    Previous Next

    Leave a comment

    You may also enjoy

    Mastering SemaphoreSlim for Async Concurrency in C# .NET 10

    6 minute read

    Learn how to use SemaphoreSlim to throttle parallel asynchronous operations in C# .NET 10, preventing resource exhaustion and improving application stability.

    Staying Free: Throttling Google Geocoding API with C# .NET 10

    4 minute read

    Learn how to control your API usage and stay within the Google Geocoding free tier using SemaphoreSlim in C# .NET 10.

    Copy List with Random Pointer in C#

    5 minute read

    Learn how to create a deep copy of a linked list where each node contains an additional random pointer using hash map and space-optimized interweaving approa...

    Remove N-th Node From End of List in C#

    2 minute read

    Learn how to remove the n-th node from the end of a singly-linked list using the two-pointer approach in C#.

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