Hi guys i have an sql query string that in my view there is something wrong with it but i an handicaped since i am very new to sql so my question is, is there any way of optimizing this query string
select t1.cat,t1.site from (select cat,site from news where site='myjoy'and cat='business'limit 3) t1 union all
select t2.cat,t2.site from (select cat,site from news where site='pea'and cat='business'limit 3) t2 union all
select t3.cat,t3.site from (select cat,site from news where site='myjoy'and cat='sports' limit 3) t3 union all
select t4.cat,t4.site from (select cat,site from news where site='pea'and cat='sports'limit 3) t4 union all
select t5.cat,t5.site from (select cat,site from news where site='myjoy'and cat='ent'limit 3) t5 union all
select t6.cat,t6.site from (select cat,site from news where site='pea'and cat='ent' limit 3) t6 union all
select t7.cat,t7.site from (select cat,site from news where site='myjoy'and cat='cover_story' limit 3) t7 union all
select t8.cat,t8.site from (select cat,site from news where site='pea'and cat='cover_story' limit 3) t8 union all
select t9.cat,t9.site from (select cat,site from news where site='pea'and cat='politics' limit 3) t9 union all
select t10.cat,t10.site from (select cat,site from news where site='myjoy'and cat='politics' limit 3) t10;