Posts by Mauricio Zambretti • 13 points
1 post
-
1
votes2
answers368
viewsQ: Customers who bought in one year but not another
I need to make a select that brings me which customers bought in 2016 and did not buy in 2017 and vice versa. This is my select: SELECT tc.`cod-emitente` AS CODIGO, tc.`nome-emit` AS CLIENTE,…