MySQL Forums
Forum List  »  Install & Repo

Re: error 1054: Unknown column
Posted by: Andrew Zabolotny
Date: November 26, 2006 07:55AM

I've found the answer to my problem here:

http://www.zen-cart.com/forum/archive/index.php/t-46483.html

In short: You must enclose multiple tables for 'FROM ...' in parentheses. In my case, the correct fix is:


SELECT m.*
FROM ( cslan_gamemaps as m, cslan_defs_maps as def )
LEFT JOIN cslan_gamemaps_cstrike as mm ON mm.gamemapid=m.gamemapid

This works as expected.

Options: ReplyQuote


Subject
Written By
Posted
July 06, 2006 01:29AM
October 18, 2006 06:17PM
November 15, 2006 10:12AM
Re: error 1054: Unknown column
November 26, 2006 07:55AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.