34,576
社区成员
发帖
与我相关
我的任务
分享
select bookname,isbn, ([count]-ordercount) as 出库,id from bookorder where ([count] - ordercount) > 0 and id=@id
declare @id int
set @id=15
select * from bookorder where ([count] - ordercount) > 0 and id =@id