Yahoo Poland Wyszukiwanie w Internecie

Search results

  1. Learn how to use the SQL CASE expression to return different values based on conditions. See syntax, examples and a demo database with the Northwind sample data.

    • Try It Yourself

      CASE WHEN Quantity > 30 THEN 'The quantity is greater than...

  2. 13 cze 2021 · Case statement syntax in SQL SERVER: CASE column WHEN value1 THEN 1 WHEN value3 THEN 2 WHEN value3 THEN 3 WHEN value1 THEN 4 ELSE '' END And we can use like below also: CASE WHEN column=value1 THEN 1 WHEN column=value3 THEN 2 WHEN column=value3 THEN 3 WHEN column=value1 THEN 4 ELSE '' END

  3. 17 sie 2021 · Explore CASE in SQL and master conditional logic with our comprehensive guide on the CASE statement. Includes practical examples and best practices.

  4. 16 sty 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. Dive further into its complexities with our articles How to Use CASE in ORDER BY in SQL and How to Use CASE WHEN in GROUP BY.

  5. 2 cze 2023 · What Does the SQL CASE Statement Do? The CASE statement allows you to perform an IF-THEN-ELSE check within an SQL statement. It’s good for displaying a value in the SELECT query based on logic that you have defined.

  6. The SQL CASE expression allows you to evaluate a list of conditions and returns one of the possible results. The CASE expression has two formats: simple CASE and searched CASE. You can use the CASE expression in a clause or statement that allows a valid expression.

  7. 4 lis 2022 · With SQL, you can do this using the CASE statement. You use the CASE keyword together with the WHEN clause to execute a block of conditional statement code. You use a THEN statement to return the result of the expression.

  1. Ludzie szukają również