Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
INNER JOIN with MAX MIN
Message
De
02/09/2021 18:03:12
 
 
À
Tous
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Titre:
INNER JOIN with MAX MIN
Divers
Thread ID:
01682244
Message ID:
01682244
Vues:
59
I have a SQL command which has a lot of INNER JOINs. From a master table having 20 records, I need to create a report with several fields. One of the INNER JOINs has several matching records. I need to obtain the related MIN(ID) and the MAX(NoStatus) in the master report. Basically, if the INNER JOIN has 7 possibilities, I need the ID of the first record and the status of the last record. What would be the simplest way to achieve that?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform