Quantcast
Channel: Forum Getting started with SQL Server
Viewing all articles
Browse latest Browse all 7129

sql query on many child tables

$
0
0

I have an SQL database with many linkesd tables.

If I do:

SELECT [CaseNumber]<o:p></o:p>

     ,[CenterCode]<o:p></o:p>

     ,[Outcome]<o:p></o:p>

it will give me all numbers.  However, for example, all outcome verbatium definitions are in a table Outcome Def. same goes for the field CenterCode

How can I write the SQL command to give me the [caseNumber], [CenterCode] description which is in another table and [Outcome] description which is on another table.

Many Thanks,

Raul


Raul Rego


Viewing all articles
Browse latest Browse all 7129

Trending Articles