Re: Unknown column 'users.users_id' in 'where clause'

2011-02-04 Thread Tompkins Neil
res_results > > WHERE (fixtures_results.away_users_id = *users.users_id*) > > > Any ideas why I'm getting Unknown column 'users.users_id' in 'where > clause' > > for the part of the statement that I've marked as *bold* and how I can > over > > come this pro

Re: Unknown column 'users.users_id' in 'where clause'

2011-02-03 Thread Simcha Younger
On Thu, 3 Feb 2011 13:55:36 + Tompkins Neil wrote: > SELECT DISTINCT(away_teams_id) AS teams_id > FROM fixtures_results > WHERE (fixtures_results.away_users_id = *users.users_id*) > Any ideas why I'm getting Unknown column 'users.users_id' in 'where clause&

Unknown column 'users.users_id' in 'where clause'

2011-02-03 Thread Tompkins Neil
y_teams_id = users_teams.teams_id) AND fixtures_results.status = 'approved' ORDER BY fixtures_results.last_changed ASC LIMIT 1) <> '' ORDER BY time_at_team ASC, time_registered ASC Any ideas why I'm getting Unknown column 'users.users_id' in 'where clause&#x

Re: Error Unknown column in 'where clause'

2010-11-17 Thread Paul DuBois
eams_id > WHERE players_bids.bid_status = 'accepted' > AND players_bids.players_id = 279 > AND players_bids.worlds_id = 1 > ORDER BY players_bids.bid_type ASC, players_bids.bid_value DESC, > manager_points DESC, players_bids.bid_date ASC > > but the problem I have is that when referenci

Re: Error Unknown column in 'where clause'

2010-11-16 Thread Michael Dykman
ing players_bids.users_id_from >> within the UNION I get back the following error : >> >> Error Code: 1054 >> Unknown column 'players_bids.users_id_from' in 'where clause' >> >> Any ideas how to overcome this problem ? >> >> Chee

Error Unknown column in 'where clause'

2010-11-16 Thread Tompkins Neil
id = 1 ORDER BY players_bids.bid_type ASC, players_bids.bid_value DESC, manager_points DESC, players_bids.bid_date ASC but the problem I have is that when referencing players_bids.users_id_from within the UNION I get back the following error : Error Code: 1054 Unknown column 'players_bids.users_id_from' in &#x

Re: Unknown column error after upgrading from 4.0 to 5.0

2007-08-29 Thread Johan Höök
legal due to the implicit grouping of t1,t2 as (t1,t2). Now the JOIN takes precedence, so the operands for the ON clause are t2 and t3. Because t1.i1 is not a column in either of the operands, the result is an Unknown column 't1.i1' in 'on clause' error. To allow the join to be

Re: Unknown column error after upgrading from 4.0 to 5.0

2007-08-29 Thread Baron Schwartz
d and pd.language_id = '1' and p2c.categories_id = '1' give the following error: ERROR 1054 (42S22): Unknown column 'p.products_id' in 'on clause' What's wrong with that command? And why it worked correctly under 4.0? I tried to eliminate the al

Unknown column error after upgrading from 4.0 to 5.0

2007-08-29 Thread Federico Giannici
= s.products_id where p.products_status = '1' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '1' and p2c.categories_id = '1' give the following error: ERROR 1054 (42S22): Unknown column 'p.products_id' in &#x

Re: left join , Unknown column 't1.itemid' in 'on clause'

2006-11-16 Thread wang shuming
Hi, select * from t1,t2 left join t3 on t3.itemid=t1.itemid left join t4 on t4.f2=t1.f2 mysql4.1 works, but mysql5.0 shows Unknown column 't1.itemid' in 'on clause' If change into select * from t2,t1 left join t3 on t3.itemid=t1.itemid left join t4 on t4.f

Re: left join , Unknown column 't1.itemid' in 'on clause'

2006-11-04 Thread Rolando Edwards
nknown column 't1.itemid' in 'on clause' Hi, select * from t1,t2 left join t3 on t3.itemid=t1.itemid mysql4.1 works, but mysql5.0 shows Unknown column 't1.itemid' in 'on clause' If change into select * from t2,t1 left join t3 on t3.ite

left join , Unknown column 't1.itemid' in 'on clause'

2006-11-03 Thread wang shuming
Hi, select * from t1,t2 left join t3 on t3.itemid=t1.itemid mysql4.1 works, but mysql5.0 shows Unknown column 't1.itemid' in 'on clause' If change into select * from t2,t1 left join t3 on t3.itemid=t1.itemid mysql5.0 works Shuming Wang

RE: Unknown column 'testcase_root.Test' in 'order clause'

2006-03-01 Thread Bartis, Robert M (Bob)
Sorry:-\ Meant to say I do not understand why mySQL is pointing to this as an error Bob -Original Message- From: Bartis, Robert M (Bob) [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 01, 2006 5:30 PM To: 'mysql' Subject: Unknown column 'testcase_root.Test' i

Unknown column 'testcase_root.Test' in 'order clause'

2006-03-01 Thread Bartis, Robert M (Bob)
I am receiving an error "Unknown column 'testcase_root.Test' in 'order clause' I do not understand why the error is pointing to this as an error, nor if it means anything that the name of the column is correctly identified in the query below as testcase_root.TestID.

Re: HAVING clause - MySQL 4.0.13 - unknown column error

2003-07-03 Thread Dan Nelson
In the last episode (Jul 03), Thomas J. Harris said: > This query does not work, giving me the following error: > Unknown column 'resource1_.COMPETENCE_LEVEL' in 'having clause' > > BUT, if I change the query so that the having clause is the following: > >

HAVING clause - MySQL 4.0.13 - unknown column error

2003-07-03 Thread Thomas J. Harris
(resource1_.ACTIVE=1 )) group by skill0_.SKILL_GUID , skill0_.SKILL_NAME , resource1_.COMPETENCE_LEVEL having (resource1_.COMPETENCE_LEVEL>? ) order by resource1_.COMPETENCE_LEVEL desc , skill0_.SKILL_NAME asc This query does not work, giving me the following error: Unknown column 're

Re: Unknown column

2002-05-01 Thread Egor Egorov
lnk1.TID=57 WHERE ((enabled=1) AND a> countries.ParentID=46) ORDER BY Name a> And this is result: a> Unknown column 'enabled' in 'where clause' a> Why? :( a> 'enabled' is not keyword. a> Columns aliases seems to be ignored here. You can't use

Unknown column

2002-04-30 Thread akul
countries.ParentID=46) ORDER BY Name And this is result: Unknown column 'enabled' in 'where clause' Why? :( 'enabled' is not keyword. Columns aliases seems to be ignored here. MySQL .49max for Windows, table type InnoDB. RS. Query so strange because generated. Really it&#

Re: ERROR 1054 at line 52: Unknown column 'nan' in 'field list'

2001-09-03 Thread Michael Widenius
Hi! > "mmokrejs" == mmokrejs writes: mysql> update rep set low='nan' where id=148; mmokrejs> Query OK, 1 row affected (0.07 sec) mmokrejs> Rows matched: 1 Changed: 1 Warnings: 1 The above will just set '0' in the 'low' column. (The string 'nan' converted to a number is 0) You can ver

Re: ERROR 1054 at line 52: Unknown column 'nan' in 'field list'

2001-09-03 Thread Michael Widenius
Hi! > "Sinisa" == Sinisa Milivojevic <[EMAIL PROTECTED]> writes: Sinisa> =?iso-8859-2?Q?Martin_MOKREJ=A9?= writes: >> And should say that >> >> update rep set low='0.00' where id=148; >> >> solved my problem for command: >> mysqldump -f --socket=/tmp/mysql.sock --add-drop-table --extended

RE: ERROR 1054 at line 52: Unknown column 'nan' in 'field list'

2001-09-03 Thread Remco Brood
i can reproduce it on 3.23.32 create table test (id int(13),low float(10,2) ) insert into test values (1,1) insert into test values (1,'nan') id low 1 1.00 1 nan doh.. - Before posting, please check: http://w

Re: ERROR 1054 at line 52: Unknown column 'nan' in 'field list'

2001-09-03 Thread Martin MOKREJŠ
On Sun, 2 Sep 2001, Michael Widenius wrote: Hi, > > "Sinisa" == Sinisa Milivojevic <[EMAIL PROTECTED]> writes: > > Sinisa> =?iso-8859-2?Q?Martin_MOKREJ=A9?= writes: > >> And should say that > >> > >> update rep set low='0.00' where id=148; > >> > >> solved my problem for command: > >> mys

Re: ERROR 1054 at line 52: Unknown column 'nan' in 'field list'

2001-08-31 Thread Martin MOKREJŠ
ysql -f --host=pednew -C Cmuridarum" > > ERROR 1054 at line 52: Unknown column 'nan' in 'field list' > > > > I have even tried "OPTIMIZE TABLE REP; REPAIR TABLE REP;", no luck. > > "SHOW COLUMNS FROM REP;" does NOT show any column

Re: ERROR 1054 at line 52: Unknown column 'nan' in 'field list'

2001-08-31 Thread Sinisa Milivojevic
=?iso-8859-2?Q?Martin_MOKREJ=A9?= writes: > And should say that > > update rep set low='0.00' where id=148; > > solved my problem for command: > mysqldump -f --socket=/tmp/mysql.sock --add-drop-table --extended-insert > --quick --databases Cmuridarum rep | mysql -f --host=pednew -C Cmuridarum >

Re: ERROR 1054 at line 52: Unknown column 'nan' in 'field list'

2001-08-31 Thread Martin MOKREJŠ
On Fri, 31 Aug 2001, Sinisa Milivojevic wrote: > May be you used some special chars in column names. In that case you > should use instruct mysqldump to use backticks for table and column > names. Ehh, now I know what you meant: - to use -Q option to mysqldump , ok but it anyway did not hel

Re: ERROR 1054 at line 52: Unknown column 'nan' in 'field list'

2001-08-31 Thread Sinisa Milivojevic
=?iso-8859-2?Q?Martin_MOKREJ=A9?= writes: > On Fri, 31 Aug 2001, Sinisa Milivojevic wrote: > > Ehh, now I know what you meant: - to use -Q option to mysqldump , ok > but it anyway did not help. > > I'm pretty sure the problem is with text "nan" being in place of a float > number. > > --

Re: ERROR 1054 at line 52: Unknown column 'nan' in 'field list'

2001-08-31 Thread Martin MOKREJŠ
And should say that update rep set low='0.00' where id=148; solved my problem for command: mysqldump -f --socket=/tmp/mysql.sock --add-drop-table --extended-insert --quick --databases Cmuridarum rep | mysql -f --host=pednew -C Cmuridarum ... to be complete. ;) -- Martin Mokrejs - PGP5.0i key i

Re: ERROR 1054 at line 52: Unknown column 'nan' in 'field list'

2001-08-31 Thread Sinisa Milivojevic
=?iso-8859-2?Q?Martin_MOKREJ=A9?= writes: > On Fri, 31 Aug 2001, Sinisa Milivojevic wrote: > > Ehh, now I know what you meant: - to use -Q option to mysqldump , ok > but it anyway did not help. > > I'm pretty sure the problem is with text "nan" being in place of a float > number. > > --

Re: ERROR 1054 at line 52: Unknown column 'nan' in 'field list'

2001-08-31 Thread Sinisa Milivojevic
=?iso-8859-2?Q?Martin_MOKREJ=A9?= writes: > Hi again, > I have the following problem: > > "mysqldump -# --socket=/tmp/mysql.sock --add-drop-table -f --extended-insert >--quick Cmuridarum rep | mysql -f --host=pednew -C Cmuridarum" > ERROR 1054 at line 52: Unknown

Re: ERROR 1054 at line 52: Unknown column 'nan' in 'field list'

2001-08-31 Thread Sinisa Milivojevic
=?iso-8859-2?Q?Martin_MOKREJ=A9?= writes: > Hi again, > I have the following problem: > > "mysqldump -# --socket=/tmp/mysql.sock --add-drop-table -f --extended-insert >--quick Cmuridarum rep | mysql -f --host=pednew -C Cmuridarum" > ERROR 1054 at line 52: Unknown

ERROR 1054 at line 52: Unknown column 'nan' in 'field list'

2001-08-31 Thread Martin MOKREJŠ
Hi again, I have the following problem: "mysqldump -# --socket=/tmp/mysql.sock --add-drop-table -f --extended-insert --quick Cmuridarum rep | mysql -f --host=pednew -C Cmuridarum" ERROR 1054 at line 52: Unknown column 'nan' in 'field list' I have even tri

RE: Unknown column in 'where clause' error

2001-06-18 Thread Tim
yan Shrout > > -Original Message- > From: Bill "Elvis" Gibbs [mailto:[EMAIL PROTECTED]] > Sent: Monday, June 18, 2001 3:20 PM > To: Shrout, Ryan > Subject: RE: Unknown column in 'where clause' error > > > WHERE Customer_No = 'CMET355853923

RE: Unknown column in 'where clause' error

2001-06-18 Thread © webfroggie . com
gem original- De: Shrout, Ryan [mailto:[EMAIL PROTECTED]] Enviada: Segunda-feira, 18 de Junho de 2001 20:14 Para: '[EMAIL PROTECTED]' Assunto: RE: Unknown column in 'where clause' error Thanks for the suggestions, but this is actually a variable that is passed via a URL. For e

RE: Unknown column in 'where clause' error

2001-06-18 Thread technical Support
*** * Visit http://www.computerstaff.net - Computer Jobs at all LEVELS * * > -Original Message- > From: Shrout, Ryan [mailto:[EMAIL PROTECTED]] > Sent: 18 June 2001 20:14 > To: '[EMAIL PROTECTED]' > Subjec

Re: Unknown column in 'where clause' error

2001-06-18 Thread Cal Evans
ustomer_No = '".$id."'; if for some reason the first one didn't work. HTH, Cal * * Cal Evans * Senior Internet Dreamer * http://www.calevans.com * - Original Message - From: "Shrout, Ryan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday

RE: Unknown column in 'where clause' error

2001-06-18 Thread technical Support
rstaff.net - Computer Jobs at all LEVELS * * > -Original Message- > From: Shrout, Ryan [mailto:[EMAIL PROTECTED]] > Sent: 18 June 2001 19:44 > To: '[EMAIL PROTECTED]' > Subject: Unknown column in 'wh

RE: Unknown column in 'where clause' error

2001-06-18 Thread Shrout, Ryan
uotes around' a variable? Ryan Shrout -Original Message- From: Bill "Elvis" Gibbs [mailto:[EMAIL PROTECTED]] Sent: Monday, June 18, 2001 3:20 PM To: Shrout, Ryan Subject: RE: Unknown column in 'where clause' error WHERE Customer_No = 'CMET3558539239' you nee

RE: Unknown column in 'where clause' error

2001-06-18 Thread © webfroggie . com
rout, Ryan [mailto:[EMAIL PROTECTED]] Enviada: Segunda-feira, 18 de Junho de 2001 19:44 Para: '[EMAIL PROTECTED]' Assunto: Unknown column in 'where clause' error Here is the full error I am getting when running the query included: Failed Query: SELECT * FROM customers WHERE Cus

Re: Unknown column in 'where clause' error

2001-06-18 Thread Tim
Put quotes around the Customer_No: SELECT * FROM customers WHERE Customer_No = 'CMET3558539239' - TIM > Here is the full error I am getting when running the query included: > > Failed Query: SELECT * FROM customers WHERE Customer_No = CMET3558539239 > 1054 : Unknown colu

Re: Unknown column in 'where clause' error

2001-06-18 Thread Peter van Dijk
On Mon, Jun 18, 2001 at 02:44:00PM -0400, Shrout, Ryan wrote: > Here is the full error I am getting when running the query included: > > Failed Query: SELECT * FROM customers WHERE Customer_No = CMET3558539239 > 1054 : Unknown column 'CMET3558539239' in 'where clau

Unknown column in 'where clause' error

2001-06-18 Thread Shrout, Ryan
Here is the full error I am getting when running the query included: Failed Query: SELECT * FROM customers WHERE Customer_No = CMET3558539239 1054 : Unknown column 'CMET3558539239' in 'where clause' Here's the problem, I know that Customer_No exists. I can see it in