Am arbeiten...
invalid query: Table 'blogscanner.brand_posts90' doesn't exist SELECT brands.brand_id, blogs.country_id, SUM(post_counter) AS post_counter, SUM(comment_counter) AS comment_counter, SUM(post_counter + comment_counter) AS post_comment_counter, SUM(post_counter) AS brand_place FROM brands, brand_posts90, blogs WHERE brands.brand_id = brand_posts90.brand_id AND brand_posts90.blog_id = blogs.id AND brands.brand_id2 = 0 AND post_date <= DATE_SUB(CURDATE(), INTERVAL 0 DAY) AND post_date >= DATE_SUB(CURDATE(), INTERVAL 90 DAY) AND (crawl_status = '' OR crawl_status = 'old') GROUP BY brands.brand_id ORDER BY post_counter DESC LIMIT 1000