143,000 results
Open links in new tab
  1. 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). …

  2. MySQL :: MySQL 8.4 Reference Manual :: 15.6.5.1 CASE Statement

    There is also a CASE operator, which differs from the CASE statement described here. See Section 14.5, “Flow Control Functions”. …

  3. MySQL CASE Statement - W3Schools

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

  4. MySQL CASE Function - GeeksforGeeks

    Mar 27, 2026 · The MySQL CASE function is a conditional expression that returns a value when the first matching condition is met. If …

  5. MySQL CASE Expressions

    In this tutorial, you will learn how to use the MySQL CASE expression to add if-else logic to SELECT, WHERE, and ORDER BY of a …

  6. MySQL :: MySQL 8.3 Reference Manual :: 15.6.5.1 CASE Statement

    There is also a CASE operator, which differs from the CASE statement described here. See Section 14.5, “Flow Control Functions”. …

  7. How do I use properly CASE..WHEN in MySQL - Stack Overflow

    I think part of it is that you're stating the value you're selecting after CASE, and then using WHEN x = y syntax afterward, which is a …

  8. MySQL CASE Expression: Usage & Examples - DataCamp

    Learn how to use the MySQL CASE expression for conditional logic in SQL statements. Discover syntax, examples, and best …

  9. CASE — MySQL Function Reference

    A comprehensive guide to SQL functions with examples for MySQL and PostgreSQL. Find out how CASE works in MySQL. Checks …

  10. MySQL - CASE Statement - Online Tutorials Library

    MySQL also have a CASE operator which is similar to the CASE statement the only difference is that the ELSE NULL clause is not …

  11. Some results have been removed