photo
Most Viewed
WordPress database error: [Table './bmsnewco_wrd4/wp_views' is marked as crashed and should be repaired]
SELECT `rate_table`.`post_id`, 'boombox_rate_boombox_hash_3aeb375bb94dc10fac13b8f7caf967b6' AS `rate_name`, SUM(`point`) AS `rate_count`
FROM `wp_views` AS `rate_table`
JOIN `wp_posts` AS `rate_posts`
ON `rate_posts`.`ID` = `rate_table`.`post_id`
AND `rate_posts`.`post_type` In( 'post' )
AND `rate_posts`.`post_status` In( 'publish' )
WHERE 1=1
GROUP BY `rate_table`.`post_id`
HAVING `rate_count` >= 0
ORDER BY `rate_count` DESC
LIMIT 200