On 02.05.2005 17:32, Hannes Dorbath wrote:
$q = "SELECT u.login FROM users WHERE u.user_id = 1;";

Sorry, it should read:

$q = "SELECT u.login FROM users u WHERE u.user_id = 1;";

I accidently removed the "u" after users while removing line breaks to make it shorter to post here.

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
     joining column's datatypes do not match

Reply via email to