Hi SaniaFatimi-2246,
Welcome to Microsoft Q&A.
Have you installed SQL Server?
If you have installed SQL Server, please go to SQL Server Configuration Manager or Services in your machine to check if the instance is running. In SQL Server Configuration Manager, on the left pane, click SQL Server Services. The right pane lists several services that are related to SQL Server. If the Database Engine is installed, the Database Engine service is listed as SQL Server (MSSQLSERVER) if it is the default instance; or SQL Server (<instance_name>), if the Database Engine is installed as a named instance. Please refer to Determine Whether the Database Engine Is Installed and Started which might help.
In addition, please share us the detailed error message which is located at Program Files\Microsoft SQL Server\MSSQL1x.\ MSSQL\Log\ERRORLOG.
If you have not installed SQL Server, please download and install it first. You can download it from here.
And here is a tutorial about SQL Server installation which might help.
If you have any question, please feel free to let us know.
Best Regards,
Amelia
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.