Query : SELECT user_gallery.caption FROM user_gallery INNER JOIN portfolio ON (user_gallery.portfolio_id=portfolio.portfolio_id) WHERE user_gallery.gallery_id = '12059' and portfolio.portfolio_type = 'c' and user_gallery.created_by = '9305'

Error No : 1194

Error : Table 'user_gallery' is marked as crashed and should be repaired