10,500 results
Open links in new tab
  1. SQL CASE Expression - W3Schools

    The CASE expression is used to define different results based on specified conditions in an SQL statement. The CASE expression …Read more

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

    Sep 21, 2026 · The simple CASE expression operates by comparing the first expression to the expression in each WHEN clause for …Read more

  3. SQL CASE - W3Schools

    The CASE command is used is to create different output based on conditions. The following SQL goes through several conditions …Read more

  4. SQL CASE Statement - GeeksforGeeks

    Oct 1, 2026 · The SQL CASE statement is used to add conditional logic inside SQL queries. It checks conditions one by one and …Read more

  5. CASE Statement in SQL Examples - SQL Server Tips

    Apr 20, 2021 · This tip will teach you when and how you can use CASE in T-SQL statements with several code examples to give you …Read more

  6. 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 …Read more

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

    Jan 16, 2024 · In SQL, this construct is a vital tool for data analysis. In this article, you'll find real-world practical exercises using the …Read more

  8. SQL CASE Statement: CASE WHEN Syntax and Examples | SQL Easy

    Nov 11, 2026 · CASE is how you write if/then/else logic in SQL. It checks conditions from top to bottom and returns the value for the …Read more

  9. SQL CASE Expression

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

  10. sql - CASE .. WHEN .. IN expression - Stack Overflow

    May 31, 2015 · It might be easier to read when written out in longhand using the 'simple case' e.g. ...which kind makes me thing that …Read more