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
Xenserver multipath issue with pool
Windows Rights Management Server
Need help on rollover buttons in flash in Flash CS4 and AS 3
Transparent PNG IE8
how can i get Hard Disk Serial number (unique) in C#.net web application ??
How can I force Graphics.MeasureString to consider the font style?
getElementByID not loading text
ORA: 6533 Subscript out of range
Microsoft.Exchange.Search.
ExSearch.e
xe 80% resources
How to Transfer All ZIP files from a FTP Directory using Powershell