Microsoft
Software
Hardware
Network
Question : SQL query to extract distinct years and number of members within a year
Hi All
I need a view in my SQL DB from one single table where I can show 2 columns:
1: Number of different birthyears
2: Number of members within a single year
And as I said - all in a single view with 2 colums.
Answer : SQL query to extract distinct years and number of members within a year
select year(birthdate), count(*)
from members
group by year(birthdate)
Random Solutions
Start applications from command promt
rsync with One host in DMZ
Error while attempting to uninstall SQL Server R2/VS2008
java include : a simple question
FreeNAS NIC teaming
Revert to Visual Studio 2008
Fax services SBS 2008
DELETE DUPLICATE RECORD from TABLE in SQL Server 2005
InfoPath - CONCAT, Line break and copying user comments into a repeating table each time a new user adds comments in a browser-enabled field
Can't get twoASA 5505's VPNd