我的oracle SQL有问题
SELECT BASE_PLATE FROM COMPONENT WHERE THICKNESS = :thicknessVal AND PROJECT_NAME = :projectName AND ((CNC+SCATOR+MANUAL) != QTY_REQUIRED)
问题是查询只显示1个数据,它应该显示2个数据。我查询的任何错误?
BASE_PLATE, NAME, QTY_REQUIRED,SCATOR,MANUAL,CNC
SMSPW-BS1, BASE_PLATE,10, 2, 2, 3
SMSPW-BS154,BASE_PLATE,7, 0, 0, 0
SMSPW-BS2, BASEPLATE, 16, 3, 6, 3