Original Data:
EmpNo---------Pay Period
1----------------11/11/2013
1----------------11/25/2013
1----------------12/9/2013
1----------------12/23/2013
1----------------1/6/2014
1----------------1/23/2014
1----------------2/10/2014
First Query Output: Count Total Weeks Each Pay Period
EmpNo----------Pay Period------------Total Weeks
1----------------11/11/2013---------------2
1----------------11/25/2013---------------2
1----------------12/9/2013----------------2
1----------------12/23/2013---------------2
1----------------1/6/2014------------------2
1----------------1/23/2014-----------------2
1----------------2/10/2014-----------------2
Second Query Output: Concatenate Pay Periods by Months, or by Year, or by showing all records.
By months:
EmpNo------------------Period
1----------------11/11/2013 - 11/25/2013
1----------------12/9/2013 - 12/23/2013
1----------------1/6/2014 - 1/23/2014
1----------------2/10/2014 -
By year:
EmpNo------------------Period
1----------------11/11/2013 - 12/23/2013
1----------------1/6/2014 - 2/10/2014
By all records:
EmpNo------------------Period
1----------------11/11/2013 - 2/10/2014
Please help. Thank you.