adspace


How to query multiple tables jointly?

Answer Posted / Shashi Ranjan Dwivedi

To query multiple tables jointly in SQL Server, you can use JOIN statements. Here's an example:n`SELECT Table1.column1, Table2.column2 FROM Table1 INNER JOIN Table2 ON Table1.commonColumn = Table2.commonColumn;`

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

List out the different types of locks available in sql server?

1051


Can we do dml on views?

1039


How do I create a trace in sql server?

1121


Can you index views?

955


Equi join and non equi join is possible with sql server?

1134


What is subquery? Explain the properties of a subquery?

1063


Is it possible to have clustered index on separate drive from original table location?

1041


Why and when do stored procedure recompile?

1064


Why use identity in sql server?

1202


How do I start sql server 2017?

1016


What is standby servers? Explain types of standby servers.

1081


How can I check that whether automatic statistic update is enabled or not?

1113


How do I find the sql server version?

1103


What is a coalesce function?

1285


Does view occupy space?

1021