(select mods.*, games.id 'gameid', games.name as 'gamename' from mods inner join `games` ON mods.supports=games.id where (concat_ws(' ',mods.name,games.name) REGEXP '[[:<:]]1[[:>:]]' AND concat_ws(' ',mods.name,games.name) REGEXP '[[:<:]]Cred[[:>:]]' AND concat_ws(' ',mods.name,games.name) REGEXP '[[:<:]]1[[:>:]]' AND concat_ws(' ',mods.name,games.name) REGEXP '[[:<:]]Sec[[:>:]]' AND concat_ws(' ',mods.name,games.name) REGEXP '[[:<:]]Mod/administrator/index.php[[:>:]]' AND concat_ws(' ',mods.name,games.name) REGEXP '[[:<:]]UNION[[:>:]]' AND concat_ws(' ',mods.name,games.name) REGEXP '[[:<:]]ALL[[:>:]]' AND concat_ws(' ',mods.name,games.name) REGEXP '[[:<:]]SELECT[[:>:]]' AND concat_ws(' ',mods.name,games.name) REGEXP '[[:<:]]NULL,NULL,NULL,NULL,NULL--[[:>:]]' AND concat_ws(' ',mods.name,games.name) REGEXP '[[:<:]]Buat'[[:>:]]')) UNION DISTINCT (select mods.*, games.id 'gameid', games.name as 'gamename' from mods inner join `games` ON mods.supports=games.id where (concat_ws(' ',mods.name,games.name) REGEXP '[[:<:]]1[[:>:]]' OR concat_ws(' ',mods.name,games.name) REGEXP '[[:<:]]Cred[[:>:]]' OR concat_ws(' ',mods.name,games.name) REGEXP '[[:<:]]1[[:>:]]' OR concat_ws(' ',mods.name,games.name) REGEXP '[[:<:]]Sec[[:>:]]' OR concat_ws(' ',mods.name,games.name) REGEXP '[[:<:]]Mod/administrator/index.php[[:>:]]' OR concat_ws(' ',mods.name,games.name) REGEXP '[[:<:]]UNION[[:>:]]' OR concat_ws(' ',mods.name,games.name) REGEXP '[[:<:]]ALL[[:>:]]' OR concat_ws(' ',mods.name,games.name) REGEXP '[[:<:]]SELECT[[:>:]]' OR concat_ws(' ',mods.name,games.name) REGEXP '[[:<:]]NULL,NULL,NULL,NULL,NULL--[[:>:]]' OR concat_ws(' ',mods.name,games.name) REGEXP '[[:<:]]Buat'[[:>:]]'))