Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL syntax help with a subquery
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
SQL syntax help with a subquery
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows NT
Database:
MS SQL Server
Divers
Thread ID:
01173944
Message ID:
01173944
Vues:
57
Hello all,

I'm hoping to get some assistance on a specific SQL query. Here's a simplified version of the two tables it is working off:

Table A (parent)
a_pk (pk)

Table B (child)
b_pk (pk)
b_afk (fk to parent)
b_area (area)
b_name (non-unique name)

Problem: I am trying to write a query that returns the name (b_name) of the largest child (b_area) for all parent records.

Any help is most appreciated!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform