- Restore JOB_PORTAL_DB.bak Database
- Launch SQL Server Management Studio (SSMS) and connect to your instance.
- Right-click on the Databases folder in the Object Explorer (left sidebar).
- Select Restore Database.
- In the "Source" section, select Device.
- Click the ellipsis button (...) on the right.
- In the "Select backup devices" window, click Add.
- Navigate to and select your JOB_PORTAL_DB.bak file, then click OK until you return to the main Restore window.
- SSMS should automatically fill the "Destination Database" field with JOB_PORTAL_DB. You can change this if you want a different name.
- Run Assignment1.sql queries one by one to test it.
The file Assignment2.sql is self-contained and does not require a .bak file.
Note: You will need to manually insert rows (DML) to test the logic of the queries, as the script initializes an empty structure.