Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help with ORDER BY
Message
 
 
À
30/08/1999 08:09:21
Peter Brama
West Pointe Enterprises
Detroit, Michigan, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00259092
Message ID:
00259103
Vues:
24
Try Un-Nesting the joins:
SELECT Employee.employeeid, Employee.lastname, Employee.firstname, ;
   Log.employeeid, Log.firmid, Log.codeid, Log.logdate, Log.time, Log.rate, ;
   Code.codeid, Code.codenum, Code.codetype, Code.codedesc ;
 FROM timepro!employee ;
     INNER JOIN timepro!log ;
        ON Employee.employeeid = Log.employeeid ;
    INNER JOIN timepro!code ;
       ON  Log.codeid = Code.codeid ;
 ORDER BY Log.firmid, Employee.lastname, Employee.firstname, ;
  Code.codenum, Code.codetype
>Also... when you use a view on a REPORT and in the report you set up some data grouping, does that override the ORDER BY of the view?

No.
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform