Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SELECT, MAX_JOIN_SIZE problem

Status
Not open for further replies.

Actorial

Programmer
Aug 23, 2006
38
0
0
US
I had this php page running fine, and all of a sudden after months of good service, I get this mysql error, maybe you can help?

Error, query failed. The SELECT would examine more than MAX_JOIN_SIZE rows; check your WHERE and use SET SQL_BIG_SELECTS=1 or SET SQL_MAX_JOIN_SIZE=# if the SELECT is okay

Here's the query:

SELECT clubs.country, count(members.club_name) as post_count from clubs left join members on members.club_name=clubs.club_name AND members.club_state=clubs.state AND members.club_country=clubs.country AND members.is_confirmed=1 group by clubs.country order by clubs.country

Any ideas?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top