Posts by Cleiver Carneiro • 26 points
1 post
-
1
votes1
answer36
viewsA: Orders greater than 30 days
SELECT produto FROM movimentacao WHERE data < DATEADD(Day, -30, GETDATE()); I kicked the names of the columns and the table, but here’s the idea... and I don’t know which database you’re using,…
sqlanswered Cleiver Carneiro 26