i want in the query in mssql ................................................
Then try Googling for a MSSQL tutorial.
Nobody here will do your work for you. You will have to do that yourself.
If you run into any specific problems, however, we are happy to help you out.
The only thing we ask is that you at least try to do this yourself, and if you need help, provide the necessary information we need to help you. Like say; the type of SQL server you are using.
Before you post again, please read through our
Posting Guidelines, which we expect all members to follow when posting here.
Also, I have moved this thread over to the Microsoft SQL Server forum, seeing as it is not really related to PHP in any way.
Thank you.
Moderator