我有两个 sql 查询,我想将它们组合在一个 SQL 查询中并显示在一个表上:
SELECT subname,subscribers as sub1 FROM reports_subreport where country ='1' and mp='0' and date ='2013-10-15' and NOT(subname LIKE '%Test%') order by site,subname
SELECT subscribers as sub2 FROM reports_subreport where country ='1' and mp='0' and date ='2013-10-08' and NOT(subname LIKE '%Test%') order by site,subname
应该在表格中显示类似这样的内容:
子 名 sub1 sub2
耳鼻喉科 222 202
你能帮我吗,因为我是 mysql 和 php 的新手?