Find Jobs
Hire Freelancers

An SQL statement for Mysql database required

£10-20 GBP

Complété
Publié il y a presque 3 ans

£10-20 GBP

Payé lors de la livraison
Two mysql tables: Part, Part Association Part attributes: id, name, type Part Association attributes: child_part_id, parent_part_id (i.e. Part has two one-to-many relationships with Part Association) Sample values:- Part: [id, type] 1,A; 2,A; 3,A; 4,A; 5,A; 6,B; 7,B; 8,B; 9,C; 10,C; 11,D. Part Association: [child_part_id, parent_part_id] 1,6; 2,9; 3,6; 3,9; 4,7; 5,11; 7,9; 10,1; 10,5. I want sql to return all parts which are of a specific type ($firsttype) but which are not related to another part which is of another specified type ($secondtype). Example (1), for: $firsttype='A', $secondtype='B' Result should be Part id's: 2, 5. That is parts 2 and 5 are of type 'A' but are not related to any part of type B. Example (2), for: $firsttype='A', $secondtype='C' Result should be Part id's: 1, 4, 5. That is parts 1, 4 and 5 are of type 'A' but are not related to any part of type C. Example (3), for: $firsttype='B', $secondtype='C' Result should be Part id's: 6, 8. That is parts 6 and 8 are of type 'B' but are not related to any part of type C.
N° de projet : 30567041

Concernant le projet

3 propositions
Projet à distance
Actif à il y a 3 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
Hi there, I am PHP web developer having worked with SQL databases. I can perform this task. Let me know if you are interested. Thanks.
£10 GBP en 1 jour
5,0 (5 commentaires)
2,2
2,2
3 freelances proposent en moyenne £15 GBP pour ce travail
Avatar de l'utilisateur
Hello, I am an expert in MySql with an experience of 7+ years in it. I can solve your database error after discussing with you start work on it. Looking forward to discuss with you in detail and start work on it. Thank you
£20 GBP en 1 jour
5,0 (3 commentaires)
2,3
2,3
Avatar de l'utilisateur
Hello. Thanks for your posting. My focus point is to give best results which is above the clients expectation. I am a professional engineer with 8+ years experiences SQL I am a skilled programmer who able to learn and adapt quickly to new technologies. Also If you complete your task from me ,you can be enchanted about result from my end. Best regards.
£15 GBP en 1 jour
5,0 (1 commentaire)
0,8
0,8

À propos du client

Drapeau de UNITED KINGDOM
Lincoln, United Kingdom
5,0
1
Méthode de paiement vérifiée
Membre depuis mai 24, 2021

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.