If you need to retrieve specific data from your database, you can create a query to recover the desired data. For example, if you were running a forum, you could create a query to view all of the users that have posted a certain amount of times, or find a list of users that have posted within the last week.
To query your MSSQL database, please do the following:
Scroll down to the Web hosting section.
Select the relevant domain name from the drop down box and click on the Manage button.
Click on the MSSQL Database link in the Web Tools section of your hosting control panel.
In the Manage Databases section press the Manage button to access your database administration area.
Click on the Query button, this is located in the menu on the left hand side of the screen.
Enter your query into the box provided and click on the Execute query button.