In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!
and [codes_region.region_code] Any ideas what the problem is? [code] FROM log LEFT OUTER JOIN ip ON log.ip = ip.ip LEFT OUTER JOIN codes_country ON ip.country_code = codes_country.code LEFT OUTER JOIN codes_region ON ip.country_code = codes_region.country_code AND ip.region_code = codes_region.region_code