How to use case statement in SELECT query?

The CASE statement in the SELECT statement is used to create new columns, categorize data, or perform calculations based on specified conditions. It helps tailor the output of your query to meet specific requirements. SELECT column_1, column_2, CASE WHEN condition_1 THEN result_1 WHEN condition_2 THEN result_2 WHEN . Lees verder »

How to put a CASE statement in a SELECT query?

The CASE statement always goes in the SELECT clause. CASE must include the following components: WHEN , THEN , and END . ELSE is an optional component. You can make any conditional statement using any conditional operator (like WHERE ) between WHEN and THEN . Lees verder »

How to use case statement in SELECT query in SAP ABAP?

Then else we have to change check the lower. Amount so the else we have to print the value as a lower amount like that we can do control F3. Lees verder »

Gerelateerd aan How to use case statement in SELECT query?