Eve For Enterprise    Eve Support Community    Forums  Hop To Forum Categories  Resources  Hop To Forums  Development, & Software Talk    Establishing Relation using phpMyAdmin

Moderators: Mark Badolato
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Groupee Newbie
Posted
I'm trying to Relate to two tables using phpMyAdmin using the book, Mastering phpMyAdmin (October 2004 edition). I do not see a Relation View available to me (See pg 138).
I'm successfully browsing an individual table but cannot figure out how to join multiple tables.
Help!
Thanks, Greg
 
Posts: 20 | Registered: March 25, 2006Reply With QuoteEdit or Delete MessageReport This Post
Groupee Newbie
Posted Hide Post
try this

SELECT * FROM t1 LEFT JOIN (t2, t3, t4)
ON (t2.a=t1.a AND t3.b=t1.b AND t4.c=t1.c)


SELECT t1.name, t2.salary
FROM employee AS t1 INNER JOIN info AS t2 ON t1.name = t2.name;

SELECT t1.name, t2.salary
FROM employee t1 INNER JOIN info t2 ON t1.name = t2.name;
 
Posts: 1 | Registered: March 07, 2007Reply With QuoteEdit or Delete MessageReport This Post
 Previous Topic | Next Topic powered by eve community  
 

Eve For Enterprise    Eve Support Community    Forums  Hop To Forum Categories  Resources  Hop To Forums  Development, & Software Talk    Establishing Relation using phpMyAdmin