[eluser]patie[/eluser]
[quote author="WanWizard" date="1281008505"]Have you ever tested this code and checked the results, or is this a theoretical excercise?
Have you read up on SQL syntax?
In this query, 'order_users' is a table alias, to make sure that if you include the same table twice (on two foreign keys linking to the same table) you don't get errors. It is not a new table.[/quote]