Hi,
Is it possible to select several specific variables from multiple different tables in SQL server? For instance, If I have table(Demo1) that has variables such CID, Name, and Age, And table (Demo2) that has diagnosis, hospital code, DoB. and I want to retrieve CID and age from Table Demo and retrieve diagnosis and DoB from table Demo2 into one data set to work with, how can I achieve this?
I used the following command:
and it works but when I tried to retrieve variables from another tables it says I have to start with empty data?
Any suggestion is appreciated!
Is it possible to select several specific variables from multiple different tables in SQL server? For instance, If I have table(Demo1) that has variables such CID, Name, and Age, And table (Demo2) that has diagnosis, hospital code, DoB. and I want to retrieve CID and age from Table Demo and retrieve diagnosis and DoB from table Demo2 into one data set to work with, how can I achieve this?
I used the following command:
Code:
odbc load, exec(SELECT CID FROM Demo)
Any suggestion is appreciated!
Comment