Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
INNER JOIN error
Message
 
À
27/03/2002 21:38:53
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00638244
Message ID:
00638252
Vues:
19
This message has been marked as the solution to the initial question of the thread.
seems to me that some lines are reverted:
SELECT StockItems.Code,StockItems.Description,StockItems.Dpt,Departments.Description,StockItemsPrc.Price 
FROM StockItems
INNER JOIN StockItemsPrc
ON StockItems.Code = StockItemsPrc.Code
INNER JOIN Departments
ON StockItems.Dpt = Departments.Code
>Error: FROM clause
>
>SELECT StockItems.Code,StockItems.Description,StockItems.Dpt,Departments.Description,StockItemsPrc.Price FROM StockItems
>INNER JOIN StockItemsPrc
>INNER JOIN Departments
>ON StockItems.Code = StockItemsPrc.Code
>ON StockItems.Dpt = Departments.Code
>
>Notes:
>Tables: StockItems, StockItemsPrc, Departments
>
>Where StockItems is the main table, and like to retrieve Price from
>StockItemsPrc table(using item code key) and department decription from
>Departments table(using department code key).
>
>How could I achieve the wanted result using the INNER JOIN operation?
>Please help, thanks.
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform