Table Links

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
evilcoder
Forum Contributor
Posts: 345
Joined: Tue Dec 17, 2002 5:37 am
Location: Sydney, Australia

Table Links

Post by evilcoder »

Hey guys, Been a while since i've done any SQL work. I'm trying to link two tables in one query,

something like: SELECT t1.id , t2.id FROM t1 AS menus , t2 AS pages"

i cant remember exactly but does that sort of thing tell you what if you could write a link to the MySQL docu, or correct the example i've just given i'll be extremely greatful.

Thanks guys
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

Post Reply