SELECT * FROM `profiles` WHERE `country` = 'qatar' AND `gender` = 'w' AND `gender` = 'w' AND `active` = '1' ORDER BY RAND() LIMIT 20
Mysql Error:
Error writing file '/tmp/#sql-temptable-277-7354c-5a01.MAD' (Errcode: 28 "No space left on device")