About 1,760,000 results
Open links in new tab
  1. SQL CASE Expression - W3Schools

    The CASE expression goes through conditions and returns 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 …

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

    Jan 16, 2024 · Whether you are a beginner navigating SQL or an experienced analyst, mastering the CASE WHEN statement is a key step toward unlocking deeper layers of data analysis. …

  3. How to Use the CASE Statement in SQL (With Examples)

    Learn how to use the SQL `CASE` statement to implement conditional logic efficiently. Explore its syntax, use cases, best practices, and performance considerations.

  4. CASE Statement in SQL Examples - SQL Server Tips

    Apr 20, 2021 · 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 …

  5. SQL CASE Statement - GeeksforGeeks

    Dec 10, 2024 · In this article, we'll learn the SQL CASE statement in detail, with clear examples and use cases that show how to leverage this feature to improve your SQL queries. The CASE …

  6. SQL CASE Statement Explained with Examples - Database Star

    Jun 2, 2023 · The SQL CASE statements lets you implement conditional logic directly in SQL. Learn all about the SQL CASE statement (plus examples) in this guide.

  7. SQL CASE Statement (With Examples) - Programiz

    The SQL CASE statement is used to check conditions and perform tasks on each row while selecting data. In this tutorial, you will learn about the SQL CASE statement with the help of …

  8. How to Use CASE statement in SQL: Explained with Examples

    Jun 28, 2023 · Simple Case Syntax and Examples. When working with SQL case statements, it’s essential to understand the basic syntax and how to construct simple examples. Case …

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

    Nov 22, 2024 · CASE can be used in any statement or clause that allows a valid expression. For example, you can use CASE in statements such as SELECT, UPDATE, DELETE and SET, …

  10. SQL CASE Expression - SQL Tutorial

    For example, you can use the CASE expression in the clauses such as SELECT, ORDER BY, and HAVING of the SELECT, DELETE, and UPDATE statements. Here’s the syntax of the …

  11. Some results have been removed
Refresh