Query execution was interruptedSELECT COUNT(people.id) AS total FROM `friend`, people WHERE `friend`.people_id='40111008' AND `friend`.friend_id=people.id