Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 3145

query for count

$
0
0
I have an attendance table with each student has each absent date in the table.How can I make a query that in any rollover 30 days back from a beginning date to now for any student has more than 7 absence days-Find the student and the first date that met the threshold?Thanks,

Viewing all articles
Browse latest Browse all 3145

Trending Articles