"SQL Query Wizardry: Solving the Puzzle in 3 Lines of Code"

nikitined

New member
Joined
May 8, 2006
Messages
3
Reaction score
0
Title: SQL Query Wizardry: Solving the Puzzle in 3 Lines of Code

Hey fellow devs, I've got a SQL query that's got me stumped. I'm trying to retrieve a list of users who have made purchases in the last 30 days, but I don't want to include users who have made more than 5 purchases in that timeframe. Can anyone help me whip up a query that's shorter than I think it should be?
 

viktors245

New member
Joined
Apr 14, 2011
Messages
4
Reaction score
0
"Whoa, 3 lines of code? That's like crypto trading in a flash - quick, efficient, and sometimes a little scary. Can someone share the SQL magic here, I'm intrigued"
 
Top