Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8107439
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T00:46:20+00:00 2026-06-06T00:46:20+00:00

I need some help. I’m trying to display a field called SubmissionStatus in a

  • 0

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?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T00:46:21+00:00Added an answer on June 6, 2026 at 12:46 am

    I would suggest using a union, like so:

    SELECT T1.SubmissionStatus 
    FROM Table1 T1
    JOIN Table0 T0 ON T1.primaryKey = T0.foreignKey
    UNION
    SELECT T2.SubmissionStatus 
    FROM Table1 T2
    JOIN Table0 T0 ON T2.primaryKey = T0.foreignKey
    UNION
    SELECT T3.SubmissionStatus 
    FROM Table1 T3
    JOIN Table0 T0 ON T3.primaryKey = T0.foreignKey
    

    That will put everything in one column (think of a union kind of like the JOIN keyword, but for joining rows instead of columns).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Need some help with a query.. I have three tables. Source id name 1
Need some help with what is probably a pretty basic SQL query. I'm trying
Need some help from javascript gurus. I have one page where http://www.google.com/finance/converter is embedded
Need some help assigning a mouseover event to display some icons that start out
Need some help joining these two tables I have two views that looks like
need some help! I'm trying to write some code in objective-c that requires part-of-speech
Need some help to write a C# code to send mail to multiple users
Need some help with regex matching please. I'm trying to match a double quoted
Need some help from Oracle app developers out there: I have an C#.NET 4.0
I need some help in evaluating a regular expression in some code.I am trying

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.