Final answer:
To create a new login in SSMS, right-click on the 'Security' folder and follow the prompts. Create a new database by right-clicking on 'Databases' and entering the necessary details. Lastly, create a 'customer' table with specified columns within the new database.
Step-by-step explanation:
To create a new login in SQL Server Management Studio (SSMS), follow these steps:
- Open SSMS and connect to your server instance.
- In the Object Explorer, right-click on the 'Security' folder and then click 'New' -> 'Login'.
- In the Login - New dialog, enter the login name and choose authentication type, then click 'OK'.
To create a new database, follow the subsequent steps:
- Right-click on the 'Databases' folder in the Object Explorer and select 'New Database'.
- Enter the database name and configure settings as needed, then click 'OK'.
Finally, to create a new table called 'customer' within your database:
- Expand the newly created database, right-click on the 'Tables' folder, and choose 'New Table'.
- Define the columns as specified, setting ID as the primary key and allowing Salary to accept null values.
- After defining all columns, click 'Save' and name the table 'customer'.
Bear in mind that screenshots are not provided here, as this is a text-based response.