Could not make the Query.<br /><br /><br />SELECT i.*, l.*, p.ip AS primary_ip FROM ip i LEFT JOIN license l ON (i.lid = l.lid) LEFT JOIN ip p ON (p.lid = i.lid AND p.primary = 1) WHERE i.ip = '199.193.7.132'<br /><br />MySQL Error No : 1194<br /><br />MySQL Error : Table 'license' is marked as crashed and should be repaired