你好,我有这个查询,我希望它也从表 j(jobcard) 返回行,其中 j.articleId、j.statusId、j.hcwsId、j.gpId 为空,有什么帮助吗?
SELECT jobcardId,createDateTime,jobNo,companyId,
customerId,serialNo,rsvdDate,model,promiseDate,
readyDate,deliveryDate,cashMemoNo,dealer,
dop,status,warrantyCardno,batchNo,
employeeId,hcws,gp,cdId,
collectionDate,remarks,article
FROM jobcard j, articles a, statuses s, hcws h, gp g
WHERE j.articleId=a.articleId AND
j.statusId = s.statusId AND
j.hcwsId = h.hcwsId AND
j.gpId=g.gpId"