Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Counting First Occurrences
Message
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Title:
Counting First Occurrences
Miscellaneous
Thread ID:
01174771
Message ID:
01174771
Views:
46
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
Next
Reply
Map
View

Click here to load this message in the networking platform