select sum(IF(mb_id<>'',1,0)) as mb_cnt, count(*) as total_cnt from g4_login where mb_id <> 'admin'

1194 : Table 'g4_login' is marked as crashed and should be repaired

error file : /bbs/write.php