I need some help. I’m trying to display a field called SubmissionStatus in a query. However I need to select it from multiple tables. For example…
I have:
Table0
Table1.SubmissionStatus
Table2.SubmissionStatus
Table3.SubmissionStatus
(All three of these tables have a foreign key to relate them to Table0)
I can do:
SELECT Table1.SubmissionStatus, Table2.SubmissionStatus, Table3.SubmissionStatus
FROM Table0
But that won’t give me anything
I need something like:
SELECT SubmissionStatus FROM Table0 (As one column)
Help please?
I would suggest using a union, like so:
That will put everything in one column (think of a union kind of like the JOIN keyword, but for joining rows instead of columns).