diff --git a/database/reports/stacked.sql b/database/reports/stacked.sql index f85deeb..6a8616e 100644 --- a/database/reports/stacked.sql +++ b/database/reports/stacked.sql @@ -61,6 +61,7 @@ dcard AS ( UNION ALL SELECT * FROM chase ) +,format AS ( SELECT s.srce ,s.id @@ -81,3 +82,5 @@ FROM ORDER BY s.pdate desc ,s.id desc +) +SELECT * FROM format