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