Menu

#4795 (ok 4.5) Query builder: missing joint for the intermediary table

4.4.3
resolved
None
Normal
2015-06-17
2003-06-20
Anonymous
No

Defining a Relation view does join tables by the relations
defined when using the query builder but then you have three
tables like x,y and z that are connected as x->y and y->z and
you only display x and z no join occurs, it should join the
middle table for joining the 2 tables together....

Discussion

  • hatky

    hatky - 2003-06-20

    Logged In: YES
    user_id=329784

    sorry, I forgat to log in before submiting

     
  • Marc Delisle

    Marc Delisle - 2003-07-11

    Logged In: YES
    user_id=210714

    The automatic join works if you select also the y table and
    if you select one column from it, even if "show" is not
    ticked for this y column.
    But I agree it would be more automatic if you don't have to
    choose the y table.

     

    Last edit: Marc Delisle 2015-03-08
    • Madhura Jayaratne

      With the current master even this does not seem to work. Using sakila database, it generates
      SELECT actor.actor_id, film_actor.last_update, film.film_id
      FROM film
      LEFT JOIN sakila.film_actor ON film.film_id = film_actor.film_id

       
  • Garvin Hicking

    Garvin Hicking - 2003-07-23

    Logged In: YES
    user_id=473563

    So, should we fill this as an RFE?

     
  • Marc Delisle

    Marc Delisle - 2003-07-23

    Logged In: YES
    user_id=210714

    Yes. Done.

     
  • Madhura Jayaratne

    • Description has changed:

    Diff:

    
    
    • assigned_to: Madhura Jayaratne
    • Group: --> Needs_decision
     
  • Marc Delisle

    Marc Delisle - 2015-03-11

    Ticket moved from /p/phpmyadmin/feature-requests/338/

     
  • Madhura Jayaratne

    • assigned_to: Madhura Jayaratne --> nobody
    • Group: Needs_decision --> 3.4.7
     
  • Marc Delisle

    Marc Delisle - 2015-03-30
    • Group: 3.4.7 --> 4.3.13
     
  • Marc Delisle

    Marc Delisle - 2015-04-11
    • summary: Query builder and Relation view --> Query builder: missing joint for the intermediary table
     
  • Marc Delisle

    Marc Delisle - 2015-04-20
    • Group: 4.3.13 --> 4.4.3
     
  • Madhura Jayaratne

    • assigned_to: Madhura Jayaratne
     
  • Madhura Jayaratne

    • summary: Query builder: missing joint for the intermediary table --> (ok 4.5) Query builder: missing joint for the intermediary table
    • status: open --> resolved