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 6558005
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T13:08:43+00:00 2026-05-25T13:08:43+00:00

Well I think it’s a simple question but I could not found the solution.

  • 0

Well I think it’s a simple question but I could not found the solution.

Well I have three Tables:

Table 1

id(AS t1id)    Name  LASTNAME Value 

1              a     z         50

2              b     e         60 

3              c     k         70

4              d     u         60

Table2

id   idTable1   Name(AS t2me)   Value(AS t2ve)

1     1          er             50

2     1          zx             150

3     2          zc             300

Table 3

id   idTable1   Name(AS t3me)   Value(AS t3ve)

1     2         erxc   50

2     2         zvvx   150

3     2         zcz    300

How to get this result with SQL

t1id    Name      LASTNAME   t2me    t2ve     t3me     t3ve

1       a         z           er      50      erdxc    150

1       a         z           zx      150           

2       b         e           zc      300      erxc    50

2       b         e                            zvvx    150

2       b         e                            zcz     300

Is that possible? If not what could I do?

  • 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-25T13:08:44+00:00Added an answer on May 25, 2026 at 1:08 pm
    SELECT t1.id as t1id, t1.Name, t1.LASTNAME, 
        t2.Name as t2me, t2.Value as t2ve, t3.Name as t3me, 
        t3.Value as t3ve from Table1 t1 
    LEFT JOIN Table2 t2 on t1.id = t2.idTable1 
    LEFT JOIN Table3 on t3.idTable1 = t1.id
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

You could very well leave out as a technical lead, but I think it
Well I think the title of this question is far to be clear but
I think my question is covered pretty well in my question, but here's some
Well, I think I have a very basic doubt here: I'm developing an app
Well the title pretty much sums the question. The only thing I found is
I think the title says it, as well...but of course some more explanation assume
I have asked this question earlier today but I didn't provide enough information and
I think I'll cross post to stackoverflow as well; Here's my issue: I have
I think this explains my question well enough: public class Model { public static
I think I understand ViewState pretty well, but the following is giving me some

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.