Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Counting First Occurrences
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Titre:
Counting First Occurrences
Divers
Thread ID:
01174771
Message ID:
01174771
Vues:
47
I need to count the total number of first occurances of this record.

The records are date, with subsequent records having a greater
StartDate value. I need to know the total number of first occurance
records.
SELECT SystemKey, UnitID1, StartDate
	FROM acUnitSystems
	WHERE StartDate > '2005-12-31'
	ORDER BY SystemKey, UnitID1, StartDate
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