Q:

Select no of students joined with respect to year and month from tblStudent table.

0

Select no of students joined with respect to year and month from tblStudent table.

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

select datepart (YYYY,Admission_date) Admission_year,datepart (MM,Admission_date) Admission_month,
count(*) Total_student from tblStudent group by datepart(YYYY,Admission_date), datepart(MM,Admission_date)

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Top 100 SQL server queries Interview questions

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
Select FirstName, Lastname, Scholarship amount fro... >>
<< Get branch, no of students in a branch, total admi...