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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T20:45:07+00:00 2026-06-11T20:45:07+00:00

I am a newbie at MySQL ….. I am trying to left join 3

  • 0

I am a newbie at MySQL….. I am trying to left join 3 tables one contains some_id,name,count,descr and second one has id,some_id,uni_id and the last one has uni_id,price,added,etc So when i try to join these three tables it says that there’s no such field named descr

What could be the best way to join these tables without modifying structure of them?

  • 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-11T20:45:08+00:00Added an answer on June 11, 2026 at 8:45 pm

    Assuming the following schema:

    • table1(some_id, name, count, descr), where some_id is the primary key;
    • table2(id, some_id, uni_id), where some_id is a foreign key to table1;
    • table3(uni_id, price, added), where uni_id is a foreign key to table2.

    All you need to do is a LEFT OUTER JOIN between the three tables:

    SELECT *
    FROM table1 t1 LEFT JOIN table2 t2 ON (t1.some_id = t2.some_id)
      LEFT JOIN table3 ON (t2.uni_id = t3.uni_id)
    

    References:

    • Left Outer Join
    • Join Syntax
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i am newbie in rails and try to perform left join in mysql. there
Database newbie here. I'm setting up a mysql table. One of the fields will
Im a php/mySQL newbie and am trying to get the hang of it. I
I m a newbie in Spring Roo. I m trying to use two databases(Mysql).
I am newbie to Mysql Can any one help me for this? I need
I'm a complete newbie with MySQL indexes. I have several MyISAM tables on MySQL
I am newbie for hibernate,i am using mysql database,with two tables serviceTypeDetails,validateConfig.In serviceTypeDetails,it's having
questions from a Newbie :-) I am trying to convert my MySQL query syntax
I am a newbie trying to create a sample web application using; MySQL Java
total newbie and totally lost... I'm trying to setup coldfusion(8) with a mysql(5.5) database

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.