» Quick Links
You can make money on these forums
We Share profits with you
Google
Google Adsense
Google Adwords
YPN
Yahoo
MSN Search
Web Directories
Web Hosting
Web Hosting Offers
Hosting News
Suggestions
Link Building
Domain Names
PHP Forums
MySQL Forums
» More Links
OSP News
Reseller Hosting
Shared Hosting
Dedicated Servers
Google Adsense
Search Engine Marketing
Link Development
Affiliate Marketing


» Advertising
Multiple DC PR Check

Free SEO Tools


Go Back   Webmaster Forums > Website Developement / Programming > MySQL Forums

MySQL Forums Share Your Ideas and Tips about MYSQL. Ask questions about MYSQL. Table Design and Much More...

Reply
 
Thread Tools Display Modes
  #1  
Old 08-01-2006, 01:18 PM
Kendrick Kendrick is offline
Junior Member
 
Join Date: Aug 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Kendrick is on a distinguished road
Default upgraded 3.23 to 5.0.16 and inner join query gives an error????

hello there,
I upgraded from mySQL 3.23 to mySQL 5.0.16 and an inner join query, now gets an error, and plz advice what I need to change about it? It also works on 4.0.22 mySQL for the same database.

Here's the query: select distinct ud.* from user_data ud, einsof_object eo inner join einsof_attribute ea1 on ( ud.user_data_id = ea1.for_einsof_object_id and ( ea1.attribute_name like '%LEC:Countries%' and ea1.attribute_value_string = 'UNITED STATES' )) where ud.user_data_id = eo.id and ud.approval_ind = 'Y' and ud.active_ind ='Y' and ud.red_flag_ind = 'N' and ud.user_form_id = 40712 order by eo.create_date desc

the error is in the "on clause" for the inner join: 1054: Unknown column 'ud.user_data_id' in "on clause"....

Any suggestions would be greatly appreciated!
Thanks, -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote
Revenue Sharing Ads ( ?):
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 09:40 AM.