Welcome, Guest. Please login or register.

Author Topic: MySQL / PHP Programming (was, what comes next)  (Read 3952 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16878
  • Country: gb
  • Thanked: 5 times
    • Show all replies
Re: (RFD) Which would you prefer next?
« on: June 11, 2009, 01:36:50 PM »
@moto

You can join a single table multiple times in a query by using an alias name for each invocation of the join. However, building up large queries with a lot of joins and dependencies is not often a good idea, especially where these are generated from code. It's possible to end up generating queries that can never actually complete if you aren't careful.
int p; // A