Microsoft
Software
Hardware
Network
Question : Group by year AND date.
How could i get round this one guys.
I want to group these:
Admin training 14-06-2009
Admin training 02-06-2010
Admin training 02-06-2010
Admin training 07-06-2010
Admin training 25-08-2010
to just a month so
$query = "SELECT * FROM diary GROUP BY month(ev_dat) ";
Which gives
Admin training 14-06-2009
Admin training 25-08-2010
But as you see it completely misses all the dd-06-2010.
So how can i order by month and date??
1:
$query = "SELECT * FROM diary GROUP BY month(ev_dat) AND year(ev_date)";
Answer : Group by year AND date.
$query = "SELECT * FROM diary GROUP BY year(ev_date), month(ev_dat) ";
Random Solutions
Netapp - increased LUN volume - resized to gain space - but windows server has not picked up change - what am i Missing please
Website doesnt display correctly in IE7
Application user
Resource Booking in Outlook 2003/07
get 550 5.7.1. Unable to relay for specific domains....
Google apps Cname
Dell PowerEdge 2800 server failure - RAID ADAPTER unrecoverable error
Prevent users from sending emails to all users group lotus notes
Modification to Sample CrossTab Database
Windows 7 Deployment under 802.1x Wired LAN Authentication