我要实现从一个数据库的多个表查询同一个字段(数字型的),然后选择头10个,
如何写呢?
select top 10 a.hit,b.hit from a,b order by a.hit and b.hit desc
select top 10 a.hit,b.hit from a,b order by hit desc
用了,都不行,怎么不行呢?
...全文
502打赏收藏
asp问题,有关ADO中查询语句
我要实现从一个数据库的多个表查询同一个字段(数字型的),然后选择头10个, 如何写呢? select top 10 a.hit,b.hit from a,b order by a.hit and b.hit desc select top 10 a.hit,b.hit from a,b order by hit desc 用了,都不行,怎么不行呢?