Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is MAX() a good choice where GROUP BY?
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01676115
Message ID:
01676125
Vues:
35
>This is 1-M Relationship.
>
>Table2 - Parent Table. Field1 is PK field. One record for each Field1 PK
>Table1 - Foreign table. Field1 is a Foreign key. It could have several records for the same value of Field1.
>

:) Usually I would think in reverse that's why it was a bit confusing.

Now, back to the original question - which rows of Table1 do you want to get per single Field1 (PK) in the table2 ?
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform