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
Get Current selected link - apply css
Setting up wireless on a Cisco 1811
How do I get a user ID from a logged in user and include it in my query
Count/sum items between dates
secure emails
How to setup network
SQL Express 2008 R2 not showing instance or server name
lookup and then copy from one sharepoint list to another
custom Flex DataGrid Filter
Form Label Updates Not Working Properly