Re: Same table aliased twice causes infinite loop

2001-11-13 Thread Bill Adams
Sinisa Milivojevic wrote: > Nick de Voil writes: > > I am running MySQL 3.23 on Windows 2000. > > > > I have a SQL statement which looks fine to me, although it does reference > > the same table twice. > > > > Here it is: > > > > SELECT DISTINCT u.inserted_usr_id, g.inserted_ugp_id FROM raw_users

Re: Same table aliased twice causes infinite loop

2001-11-13 Thread Sinisa Milivojevic
Nick de Voil writes: > I am running MySQL 3.23 on Windows 2000. > > I have a SQL statement which looks fine to me, although it does reference > the same table twice. > > Here it is: > > SELECT DISTINCT u.inserted_usr_id, g.inserted_ugp_id FROM raw_users u, > raw_data d, raw_groups g, raw_groups

RE: Same table aliased twice causes infinite loop

2001-11-13 Thread Rick Emery
Yes, MYSQL allows the same table to be aliased twice or more in a select -Original Message- From: Nick de Voil [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 13, 2001 12:35 PM To: [EMAIL PROTECTED] Subject: Same table aliased twice causes infinite loop I am running MySQL 3.23 on

Same table aliased twice causes infinite loop

2001-11-13 Thread Nick de Voil
I am running MySQL 3.23 on Windows 2000. I have a SQL statement which looks fine to me, although it does reference the same table twice. Here it is: SELECT DISTINCT u.inserted_usr_id, g.inserted_ugp_id FROM raw_users u, raw_data d, raw_groups g, raw_groups gg WHERE u.forename = d.forename AND u