Can someone help me with a join query to pull data from 3 different tables which have common columns between each 2 tables. The queries are below:
Query1 = Select * from abc.table1 -- The following are the columns: ID, CODE, DATE, SESSIONTIME.
Query2 = Select * from abc.table3 -- The following are the columns: CODE, Name, BATCH.
Query3 = Select * from abc.table2 -- The following are the columns: BATCH, TITLE
I want a join query to display: CODE
, DATE
, SESSIONTIME
, BATCH
, TITLE
.
DBMS is Microsoft SQL Server