Find Jobs
Hire Freelancers

Create a MySQL query (using stored procedures?)

$30-520 NZD

Annulé
Publié il y a environ 8 ans

$30-520 NZD

Payé lors de la livraison
We have a MySQL database of all flight routes and schedules in the world, which is updated weekly. We require a freelancer to: 1) Create the proper indexes (hash indexes?) for maximum efficiency 2) Write an SQL query (perhaps using stored procedures?) that recursively searches for a specific route, given inputs of origin, destination, departure date, minimum connection time, and maximum number of connections. For example, say I wanted to find a route that took me from Auckland, New Zealand (AKL) to London, United Kingdom (LHR), with a minimum of 2 hours between flights and a maximum of 2 connections. A. The query would first look at Auckland Airport (AKL), and find every possible destination and flight time available from there. B. The query would then look at all destinations available from each airport returned from the previous result (such as SYD, MEL, BNE, HKG, etc), that have flights leaving at least 2 hours after the arrival from AKL. C. The query would then look at all destinations available from *those* airports returned from the previous result that have flights leaving at least 2 hours after the arrival from the previous airports. D. Because the last airport was teh final connection, this step would look only for flights leaving at least 2 hours after the arrival which have their destination as LHR. Note that flights with less connections can (and should) be returned also. For example, if there was a direct flight between AKL and LHR, or a flight with one connection (AKL-HKG-LHR). Some flights do not operate on certain days, so day of the week is also important, and should be deciphered from departure date provided. You also need to confirm the effective_from and effective_to dates to ensure you are using the right schedule for the date. The query should be able to return a result for 2 connections in less than 10 seconds. Example data is attached and is a result of running the following query: select * from schedules WHERE (origin='AKL' OR origin='SYD' OR origin='MEL' OR origin='SIN' OR origin='HKG') AND (destination='AKL' OR destination='SYD' OR destination='MEL' OR destination='SIN' OR destination='HKG' OR destination='LHR') AND codeshare IS NULL
N° de projet : 9752863

Concernant le projet

12 propositions
Projet à distance
Actif à il y a 8 ans

Cherchez-vous à gagner de l'argent ?

Avantages de faire une offre sur Freelancer

Fixez votre budget et vos délais
Soyez payé pour votre travail
Surlignez votre proposition
Il est gratuit de s'inscrire et de faire des offres sur des travaux
Décerné à :
Avatar de l'utilisateur
$155 NZD en 3 jours
5,0 (27 commentaires)
6,2
6,2
Avatar de l'utilisateur
DB observe and data investigation.
$520 NZD en 5 jours
5,0 (1 commentaire)
2,5
2,5
12 freelances proposent en moyenne $199 NZD pour ce travail
Avatar de l'utilisateur
Hi! I'm senior lecturer on databases and I've more 10 years experience in MySQL. I can create indexes and effective query on your task.
$155 NZD en 3 jours
4,8 (25 commentaires)
4,7
4,7
Avatar de l'utilisateur
Dear Sir/Madam, I have over 8 years of work experience in PHP, MySQL, Database Development, Database Programming, HTML, CSS, Linux, Javascript, jQuery, .NET, Bootstrap, C, C++, C# and so on... Please visit the links below to see some of my skills and to see few of my works: https://www.freelancer.com/u/TechnoVilla.html I can ensure you that you will be fully satisfied with my work. You will be realized that I have a wonderful skills and strong abilities while I am working on your project. If I cannot complete your task with my skills, I will refund all funds to you based on 'Money Back Guarantee' Rule. But I can confirm you that it will never happen! Looking forward to working with you soon. Thank you! Kind Regards, TechnoVilla!
$250 NZD en 3 jours
5,0 (9 commentaires)
3,3
3,3
Avatar de l'utilisateur
I am oracle certified professional and expert in databases and query design. I can do the task as per your requirements.
$49 NZD en 1 jour
4,5 (15 commentaires)
3,7
3,7
Avatar de l'utilisateur
Hi Hope you are fine I am qualified webdeveloper with experience in C#,Asp.net ,mvc,SqlServer 2008r2.. fully understand your query. I have a logic to implement it which will display result according to your description just need tables of your db to implement it in stored procedure i will describe you chat how to do it .If you have any query do tell me i will answer you hope to hear you back Thanks
$50 NZD en 1 jour
5,0 (7 commentaires)
3,0
3,0
Avatar de l'utilisateur
hello sir plz let me know if u want help from myself. ------------------------------------------------------------------------------------------ Regards Ravi Sharma
$166 NZD en 1 jour
5,0 (1 commentaire)
1,5
1,5
Avatar de l'utilisateur
the best case who require me seeing the structure of the tables in question even with dummy data in order to assess and write the best way possible. ITS basically more of a mathematically challenge (Permutations) written in SQL.
$155 NZD en 3 jours
0,0 (0 commentaires)
0,0
0,0

À propos du client

Drapeau de NEW ZEALAND
Victoria Street West, New Zealand
5,0
8
Méthode de paiement vérifiée
Membre depuis juil. 27, 2014

Vérification du client

Merci ! Nous vous avons envoyé un lien par e-mail afin de réclamer votre crédit gratuit.
Une erreur a eu lieu lors de l'envoi de votre e-mail. Veuillez réessayer.
Utilisateurs enregistrés Total des travaux publiés
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Chargement de l'aperçu
Permission donnée pour la géolocalisation.
Votre session de connexion a expiré et vous avez été déconnecté. Veuillez vous connecter à nouveau.