Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need Assistance With A Query
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Need Assistance With A Query
Divers
Thread ID:
00925379
Message ID:
00925379
Vues:
42
I have 2 tables:

SchdLine and Details. There is a One To Many relationship from SchedLine
into Details

SchedLine has a Length field. Details has a Type field.

Each SchedLine record could have multiple child records in Details with
different Type values.


The result set should look like:
  Length         Type
  ----------------------
  30             1
  30             2
  30             3
  .
  .
  .
  30            16
  60            1
  60            2
  60            3
  .
  . 
  .
and so on.

Each record in the result set should contain a count of each type from
Details against each Length in SchdLine.

Hope that explains it.

Thanks
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform