About 9,410 results
Open links in new tab
  1. SQL CASE Expression - W3Schools

    The SQL CASE Expression The CASE expression is used to define different results based on specified conditions in an SQL statement. The CASE expression goes through the conditions and stops at the …

  2. SQL CASE WHEN: The Complete Guide With Examples (2026)

    Learn SQL CASE WHEN with practical examples. Master simple CASE, searched CASE, CASE with aggregates, and common patterns every SQL developer needs. SQL CASE WHEN is the if-then-else …

  3. CASE (Transact-SQL) - SQL Server | Microsoft Learn

    Nov 18, 2025 · Transact-SQL reference for the CASE expression. CASE evaluates a list of conditions to return specific results.

  4. SQL CASE WHEN Explained: 10 Easy Examples for Beginners

    Jan 16, 2024 · Unlock the power of SQL CASE WHEN with 10 beginner-friendly exercises. Learn to categorize and manipulate data dynamically, enhancing your data analysis skills!

  5. SQL CASE Statement - GeeksforGeeks

    Apr 11, 2026 · The SQL CASE statement is used to add conditional logic inside SQL queries. It checks conditions one by one and returns a value as soon as a matching condition is found. Works like an IF …

  6. SQL CASE WHEN with Multiple Conditions – Syntax, Examples & Tips

    Mar 17, 2026 · Master SQL CASE WHEN with multiple conditions in MySQL, PostgreSQL, SQL Server & Oracle. Learn syntax, examples, and tips for interviews.

  7. SQL CASE Expression

    This tutorial shows you how to use two forms of SQL CASE expressions including simple CASE and searched CASE expressions.

  8. CASE Statement in SQL Examples - SQL Server Tips

    Apr 20, 2021 · Problem In the T-SQL scripting language, you can use the SQL CASE statement to evaluate a condition and return one or more result expressions. This SQL Tutorial will teach you …

  9. SQL Server CASE Expression - GeeksforGeeks

    Jul 23, 2025 · The CASE expression is used to show another column which can be evaluated based on the conditions depending on the existing columns. The CASE expression consists of WHEN and …

  10. MySQL CASE Function - W3Schools

    The CASE statement goes through conditions and return a value when the first condition is met (like an IF-THEN-ELSE statement). So, once a condition is true, it will stop reading and return the result.