Posts by Raylan Cordeiro • 26 points
1 post
-
1
votes2
answers206
viewsA: 1 select with two columns
It can be as follows: SELECT ( SELECT COUNT(FORMA_PAGAMENTO) FROM ESTOQUE WHERE FORMA_PAGAMENTO = 'dinheiro' AND DATA BETWEEN '2020-01-01' AND '2020-02-13' ) AS 'DINHEIRO', ( SELECT…