sqlserver sql 异常<除非另外还指定了 TOP、OFFSET 或 FOR XML,否则,ORDER BY 子句在视图、内联函数、派生表、子查询和公用表表达式中无效。>
问题:使用sql查询时报错SELECT*FROM(SELECTa.value2,a.value3,a.value4,a.hospitalization_idFROMv_treatment_processaWHEREa.is_del=0ANDa.value1='1'ORDERBYa.treatment_items,a.use_func,a.is_record,a.value2,a.value3DES