Microsoft
Software
Hardware
Network
Question : Query help Max date and count
I need to grab the max(date) and count for the number of immunizations given to a patient.
I have a few thoughts on this was wondering what was must efficient way to do it. mahalo,
ID Date
1 1/1/10
1 3/4/10
1 5/10/10
should look like this
ID Date Total
1 5/10/10 3
Answer : Query help Max date and count
Hi,
How about?
select id, max(date), count(id) from yourtable group by id
/peter
Random Solutions
PHP_sessions
Access 2007 - Query Question
return multiple resultsets with TsqlQuery
Cant access internet through Cisco PIX 515
OS X Mail attachments - drag all
Locking a header & a footer in Microsoft Word 2003
Dead harddrive - clicking sound
Caseware version 3.1. old Dos accounting software
Excel 2007 viewer error in Windows Server 2008 R2 terminal server (crash)
How do I resolve stop error: *** STOP: 0x0000007B (0xF789EA94, 0XC0000034,0x0000000,0x000
0000)