Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL-Select Bug?
Message
De
08/12/2000 15:50:38
 
 
À
08/12/2000 15:20:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00450933
Message ID:
00450968
Vues:
33
>I think you'd have to do something like this:
>
>select customer, sum(invoices) from ;
>(select Customer, count(InvNum) as Invoices;
> from ActiveInvoices;
> group by Customer;
>union select Customer, count(InvNum) as Invoices;
> from HistInvoices;
> group by Customer;
> order by Customer)
>group by customer

That type of query is not supported in VFP. It would be cool if it did, though.
What would that work in? I tried it in SQL 7 and it didn't work either.
Insanity: Doing the same thing over and over and expecting different results.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform