How to make join query in sql server( for beginners)
- Open SSMS.
- Expand your Database.
- Right click on views under that Database and then click on New view.
- Select the tables that you want to join and click on Add.
- Join the columns (PK and FK) in tables. It can be done through drawing the line from one column(PK) of table to another column(FK) of table.
- Select the columns you want to select from tables.
- You can view the query in below preview field.
- Copy your query and paste it in your code.
Thanks for viewing waiting for your positive response