需要一些帮助来完成这项任务:
参数类型int
如果参数= 0,则返回表中的所有值,如果参数> 0,则返回值大于参数
有谁可以帮我这个?
你会使用这样的逻辑:
where (@parameter = 0 or value > @parameter)