Query: SELECT COUNT(*) AS total_videos
FROM pbvideo_category AS c
INNER JOIN pbvideo AS v ON (v.video_id = c.video_id AND v.status = 1)
WHERE c.cat_id = 22
Error Message: Table './admin_yesjavpleaseicu/pbvideo' is marked as crashed and last (automatic?) repair failed
Error Number: 144