Find Jobs
Hire Freelancers

Count Nested Direct Referrals Count | MYSQL, PHP

$10-30 USD

Completed
Posted over 5 years ago

$10-30 USD

Paid on delivery
Hello, I am building a MLM website and need to be solve a SQL query using PHP which counts each user's direct referrals users. #The Maximum Allowed Referral user is 50 (Here 50 direct referral means 50 individual chains ). #Each chain consist of N level of users and direct referrals (each users allowed 50 direct referral). #For better understanding please check attached snapshot. #As per screenshot you would see 3 individual chains. in the right chain there would see two users which have 50 direct referrals and there is single user also in left chain and middle chain which have completed there 50 direct referrals. #Suppose the top user (TOP user is completed its 50 direct referrals). # I want to count the number of chains which have at least one user with 50 direct Referrals. (N number Deep). #As per the screen shot we can say the top user have 3 chains which have at least one users with 50 direct referrals.
Project ID: 18237874

About the project

6 proposals
Remote project
Active 5 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
I'm a sql specialist, doing complex queries on oracle and / or mysql. I'm sure that is possible do what you want with a subquery in from statement. I believe that you have a good database model, but to be sure I want to know how do you store the referalls of an user on database.
$25 USD in 1 day
5.0 (2 reviews)
1.2
1.2
6 freelancers are bidding on average $24 USD for this job
User Avatar
Hello There, I have read your requirement about MLM System. I have knowledge about it. We can discuss more in chat about the details,u can view my profile and complete on time. Regards: Webklug Thank You
$25 USD in 1 day
5.0 (17 reviews)
4.4
4.4
User Avatar
Hi, Hope You are doing good. I have good experience with PHP, Mysql. I would like to work on this task..let's discuss it further..
$20 USD in 1 day
5.0 (9 reviews)
3.2
3.2
User Avatar
Hi , I can do this job, i understand your problem , it can be done 1-2 hours only. getting warning message on bid"WARNING: Do not bid on projects that ask to exchange money or cryptocurrency (e.g. Bitcoin)". I hope you will pay amount not in Bitcoin than only i am ready to do. Regards, Gaurav
$25 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of INDIA
bhopal, India
5.0
4
Payment method verified
Member since Jan 26, 2009

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.