SQL= SELECT FLOOR(COUNT(DISTINCT ContentID)/2) FROM Referrals WHERE ReferralTime > DATE_SUB(NOW(), INTERVAL 1 MONTH)
Database Error 1194: Table 'Referrals' is marked as crashed and should be repaired