Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is MAX() a good choice where GROUP BY?
Message
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01676115
Message ID:
01676125
Views:
37
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform