以下是数据库的脚本,我想增加一个wo_no(工单号的意思)的参数,想通过wo_no这个参数去查询数据,如何操作 select sn,wo_no from IMPORT_RUNCARD_sn where wo_no='MO4506A013' and 1=1 and sn not in ( select detail.sn from SMT_MULTIPANEL_header head, SMT_MULTIPANEL_DETAIL detail where 1=1 and head.id=detail.MULT_HEADER_ID and head.wo_no='MO4506A013') |