Is there a way to write SQL to get all clients second purchases in a table? (Sorting rows by date)
Table Transaction
clientid int
buy_date date
amount int
I prefer to use the Analytic functions, perhaps using count() over()?
Sign up
Already have an account? Login
Welcome to the Rocket Forum!
Please log in or register:
Employee Login | Registration Member Login | RegistrationEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.