我想查询一条aucid=1的now__price(1600的)而不是三条,怎么写?
select top 1 now__price from 表 where aucid=1
select max(now__price) from 表 where aucid=1
select max(now__price) from 表 where aucid=1 and price=1600
那就是两个条件 where id=xxx and price=1600
now_price是不固定的
根据你的说法 就是 像他们说的 2个条件 where id=1 and price=1600
根据你的说法 就是 像他们说的 2个条件 where id=1 and price=1600