I need help with an SQL request.
In practice it is only to count the number of references of a person if the referenced persons referenced 500 people or more.
In pseudo code what I want to do:
SELECT * FROM users WHERE referrer_id ='$referral_code' AS user if((SELECT COUNT(*) FROM referrals where id=user) >= 500)
Hello, I have read you are looking for some help regarding database query, please let me know how I can help you with it, feel free to discuss anything, Hopefully you will get what you want, Thank You
$10 CAD in 1 day
5.0 (5 reviews)
2.7
2.7
8 freelancers are bidding on average $24 CAD for this job
Hi, creating this query is not that complicated, if you like please write me the column names here and i will try to help immediately. Basically you need a single SQL query with a subquery inside, really close to what you have as pseudo code.
Thanks, Milan
Thank you for posting the project.
I believe I will be the right fit for the role as I have done similar projects in the past.
Look forward to hearing from you.