Q:

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

0

Select no of students get admission 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 TOP Nth (any number) admission fees from tb... >>
<< Show only time part of the “AdmissionDate” fr...