Find Jobs
Hire Freelancers

MySQL Database Query Script

$30-250 USD

In Progress
Posted almost 15 years ago

$30-250 USD

Paid on delivery
I am looking for a simple script that will Query my MySQL database and generate a report based on the query. It will basically be querying one table (billing_log). I need it to find all "amount" paid for each "account" field. Then add them up and give me an average spend amount per user (account). In other words. Each time a users account has been billed by us, an entry goes into the database. So an entry (account) might have have 10 entries in the database. We need to find all these and then add up all their dollar amounts (amount). Once we have this we would like to see the average spend per user. This is what I am after...the average spend per user (account) over the life of of their account. Things you may need to know: 1. Table has around 10,000 total records 2. Also need to make the query for only those records with the "status" of "A". This is Approved transactions...not Declined. 3. The end result should show three numbers....Total Number of Accounts, Average Number of Transactions per account, and Average Spend per Account. A demo would be great!
Project ID: 450019

About the project

13 proposals
Remote project
Active 15 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
13 freelancers are bidding on average $37 USD for this job
User Avatar
Hi, it's hard to build a working demo as I don't have the data. Please see PMB, thanks.
$30 USD in 0 day
5.0 (338 reviews)
7.4
7.4
User Avatar
Hello, I can do this. Please refer PMB. Thanks.
$30 USD in 0 day
5.0 (65 reviews)
5.9
5.9
User Avatar
Hi, I can start right away.. but... can you please send the sql file so i can import it into my database and show you a demo? Thanks Cip
$30 USD in 0 day
5.0 (70 reviews)
5.6
5.6
User Avatar
pretty easy & quick work. ready to start.
$30 USD in 0 day
4.8 (79 reviews)
6.0
6.0
User Avatar
Please see PM.
$40 USD in 0 day
5.0 (40 reviews)
5.1
5.1
User Avatar
Hello please check pm. Thanks
$30 USD in 0 day
4.7 (26 reviews)
5.1
5.1
User Avatar
Let's start.
$30 USD in 0 day
5.0 (29 reviews)
5.0
5.0
User Avatar
Please provide SQL table structure, and I can have that done for you in no time. - See PM
$65 USD in 4 days
5.0 (3 reviews)
2.5
2.5
User Avatar
see PM for details
$30 USD in 1 day
5.0 (3 reviews)
2.3
2.3
User Avatar
Hi there, Please check your PMB for more detail. Best regards, Eng. Valentin Secades
$75 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Hello. I am a professional MySQL developer. I have expertise in database design, optimisation and OLAP for enterprise projects. I can make a fast query according to MySQL's optimisator mechanism.
$30 USD in 0 day
0.0 (1 review)
0.0
0.0
User Avatar
Hi, I have posted a demo on your board. Let me know if you would like it implemented. Best Wishes Alastair
$30 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Henderson, United States
5.0
15
Payment method verified
Member since Dec 9, 2007

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.