Re: Confusion over multiple table joins

2005-11-01 Thread Michael Stassen
Barry wrote: Can someone plaese help? I have three tables 1st is a collection of propertys, 2nd is a list of facilities(98 in total) and the third is a list of property id's corresponding to the facilities id's offered at each property, The query I am running: 'SELECT' '`'.$type.'`.`id`,' '`'.$t

Re: Confusion over multiple table joins

2005-11-01 Thread Jigal van Hemert
Barry wrote: Can someone plaese help? I have three tables 1st is a collection of propertys, 2nd is a list of facilities(98 in total) and the third is a list of property id's corresponding to the facilities id's offered at each property, The query I am running: 'SELECT' '`'.$type.'`.`id`,' '`'.$t

Confusion over multiple table joins

2005-11-01 Thread Barry
Can someone plaese help? I have three tables 1st is a collection of propertys, 2nd is a list of facilities(98 in total) and the third is a list of property id's corresponding to the facilities id's offered at each property, The query I am running: 'SELECT' '`'.$type.'`.`id`,' '`'.$type.'`.`name`,'

Re: Multiple table joins

2003-09-03 Thread Paul DuBois
At 11:11 +0100 9/3/03, Liz Scates wrote: Hi, We are running numerous queries which join anything from 3 - 10 tables together. Can I please ask the advice of the group as to the most efficient way to write such queries in MySQL V4. The example below has one 3 tables but 6/7 is more common. If a

Multiple table joins

2003-09-03 Thread Liz Scates
Hi, We are running numerous queries which join anything from 3 - 10 tables together. Can I please ask the advice of the group as to the most efficient way to write such queries in MySQL V4. The example below has one 3 tables but 6/7 is more common. 1. using the WHERE statement to show the matc

Multiple table joins in a select

2003-08-05 Thread Jeff McKeon
Ver. 3.23 How do I write a select query to join more than two tables? Table A relates to table B and table B relates to Table C. I need to return fields from Table A and C that are related.. Thanks, Jeff -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubs