Bad query: (select * from Hadith2 where id in ()) UNION (SELECT * FROM Hadith3 where id in ()) UNION (SELECT * FROM riyad where id in ()) order by id