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

  • SEARCH
  • Home
  • 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 6622065
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T21:21:24+00:00 2026-05-25T21:21:24+00:00

How can i it in single query Get mID for uID(1) (33,34,35) select text

  • 0

How can i it in single query

Get mID for uID(1) (33,34,35)
select text where mID (33,34,35){based on the above result}
select Name where uID(user id of mID in table b (5,6)){based on the above result}

Output

txt1  user5
txt3  user6

The only id I know is uID. How to do this in a single query.

TableA       TableB                      TableC
uID  mID    mID   Text  uID             uID    Name
1    33      33   txt1   5               1     user1
2    34      34   txt2   5               2     user2
1    35      35   txt3   6               5     user5
2    33                                  6     user6
2    34
  • 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-05-25T21:21:26+00:00Added an answer on May 25, 2026 at 9:21 pm
    select b.Text, c.Name
    from TableA a
    inner join TableB b on a.mID = b.mID
    inner join TableC c on b.uID = c.uID
    where a.uID = 1
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How can I pass the result from a scalar [single row, single value] query
How can I write single UPDATE query to change value of COL1 to ‘X’
Is there a single query (subqueries in it are allowed) where I can copy
I have a situation in which user can single tap a control, which show
I was just wondering how I can get a single tap to undo the
I have a table named 'jobs'. For a particular user a job can be
Table 1 : QUERY: Create table client ( applicationNo int primary key, name varchar(20)
Can a single regex be used to valdate urls and match all the parts,
Now I can add single value or tubles to the pipeline, my next question
I can make a single row IKImageBrowserView by setting the [imageBrowser setContentResizingMask:NSViewWidthSizable]; but in

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.