With Clause to Normal SQL
Hi All,
Below query uses with clause along with group by.
I need to get all columns data without With clause and group by from the below query tables like ITEM12,C_3trans13,"ORDERS_ORDER_LINE_ITEM" ..etc
Because in below query it's giving the count wise records and that count shows wrong. So, want to fetch all the individual records to see the mismatch in the count for date wise.
Can you pleas help on this.
WITH "ORDERS_ORDER_LINE_ITEM" AS
(SELECT "ORDERS"."D_FACILITY_ALIAS_ID" "D_FACILITY_ALIAS_ID",
"ORDERS"."D_FACILITY_NAME" "D_FACILITY_NAME",