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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!