Find Jobs
Hire Freelancers

Build a Website

$10-15 USD

Completed
Posted over 8 years ago

$10-15 USD

Paid on delivery
I have an SQL query that needs to be optimized for speed. The SQL query currently takes about 0.33 seconds to execute. I am sure it can be significantly improved as I am new to SQL. I need someone who can optimize this query for the best speed: SELECT qty_available, date_added FROM inventory_available WHERE dealer_id = 342547821 AND inventory_id = 4937432 AND sub_dealer_id = 83567218 AND location = 'subdealer' AND warehouse_id=0 AND consignee_id = 0 ORDER BY date_added DESC, id DESC LIMIT 1 The winner of the bid should be able to explain to me how they optimized it so I can learn from it :)
Project ID: 9427219

About the project

3 proposals
Remote project
Active 8 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 have more than 5 years exp in MySQL. I have looked at the schema and I have already found whats wrong. Hit me up and I can explain you :)
$15 USD in 1 day
5.0 (1 review)
0.4
0.4
3 freelancers are bidding on average $15 USD for this job
User Avatar
Hello, What is your data base engine? .
$15 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of CANADA
Toronto, Canada
4.9
23
Payment method verified
Member since Feb 3, 2013

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.