String sql1="select top 60 hairId from colorType order by hairId desc";
String sql2="select top 20 * from colorType where hairId not in ("+sql1+") order by hairId desc ";
String sql2="select top 20 * from colorType where hairId not in ("+sql1+") order by hairId desc ";
String sql2="select top 20 * from colorType where hairId not in ("+sql1+") order by hairId desc ";
没有办法,从理论上是没有问题的,是怎么回事,大虾们帮忙阿
你把 sq11的查询结果放到一个String对象里面,再把这个对象放在你 ‘sq11' 的位置,即可!!!