Q:

Get the first name, last name, current date, admission date and difference between current date and admission date in month.

0

Get the first name, last name, current date, admission date and difference between current date and admission date in month.

All Answers

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

select FirstName, LastName, GETDATE() as 'Current_date', Admission_date,
DATEDIFF(MM, Admission_date, GETDATE()) As months from tblStudent

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
Get the first name, last name, current date, admis... >>
<< Get the first name, last name, current date, admis...