Question: SELECT Account A as group, (MLCP1-MLCP2) AS difference FROM table where account = A UNION SELECT Account B as group, (MLCP1-MLCP2) AS difference FROM table

SELECT "Account A" as "group", (MLCP1-MLCP2) AS difference FROM table where account = "A" UNION SELECT Account B as "group", (MLCP1-MLCP2) AS difference FROM table where account = "B" UNION SELECT "Account C" as "group", (MLCP1-MLCP2) AS difference FROM table where account = "C" UNION SELECT "Account D" as "group", (MLCP1-MLCP2) AS difference FROM table where account = "D" Can you provide any other SQL to get difference
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
