Find Jobs
Hire Freelancers

Simple SQL query over a OSCOmmerce database

$10-30 USD

Completed
Posted over 7 years ago

$10-30 USD

Paid on delivery
I need a SQL query that will return the customers who have done purchases over a given ammount (3000EUR) over a given period of time (last year). We have an "orders" table. The table has the following fields (it has more, not related). orders_id (int) customers_name (varchar) billing_company_tax_id (varchar) date_purchased (datetime) We have an "orders_total" table. The table has the following fields (it has more, not related). orders_id(int) title(varchar) value(decimal 15,4) I need to get a list of all the customers that have purchased over 3000E over year 2016. An SQL quert that can be run with PHPMYADMIN is enough. Each customer has a unique value which is the "billing_company_tax_id". I need the orders for each "billing_company_tax_id" added, and shown only those that go over 3000EUR. The "title" on "orders_status" must be "Total:", since each order has a few lines (subtotal, shipping cost, taxes, etc) and we only want to add the "Total" line on each order. I might supply a sample database if needed.
Project ID: 12744460

About the project

4 proposals
Remote project
Active 7 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
$14 USD in 1 day
4.8 (6 reviews)
2.4
2.4
4 freelancers are bidding on average $24 USD for this job
User Avatar
Hi there my name is Brendan and i am an expert in Web Development. PHP and SQL are two of my strongest languages and this is a job i can do for you. I can come up with the query you need and have a solution to your problem within the hour Can start right away
$25 USD in 0 day
5.0 (26 reviews)
5.7
5.7
User Avatar
Hi am Dennis from Kenya surely i understand you need some specific queries done to the database. I can help you on this please be considerate thanks
$30 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of SPAIN
Barcelona, Spain
5.0
13
Payment method verified
Member since Aug 21, 2001

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.