In How to create DataBase Back up , section you learn how to create database backup by using query . Now in this section I tell you how to restore back up file from particular location to our MSSQL database server.
RESTORE <File_Name> FROM DISK = 'Path\File_Name.bak'
In <File_Name> you must to define a blank data base name where you will restore your data base.and another parameter is Path of backup file in your system.
this query is highly useful while restoring database in SQL SERVER 2005/2008 without using wizard....this is more suitable to restore database using query instead of wizards..