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