SELECT browidb FROM met_ipm_order b WHERE binpatient_no=ZY010003272718 and not existsSELECT arowida FROM ord_ipm_order a wHERE ainpatient_no=ZY010003272718 and aid=bmark6;详解以上SQL
该SQL查询的是在met_ipm_order表中,inpatient_no='ZY010003272718'的记录,并且在ord_ipm_order表中不存在id与该记录的mark6相同的记录。返回的结果包括met_ipm_order表中的所有列。
原文地址: https://www.cveoy.top/t/topic/emxR 著作权归作者所有。请勿转载和采集!