ms access 2010 - Sub Query - Part Numbers and Quantity -



ms access 2010 - Sub Query - Part Numbers and Quantity -

looking find part numbers (d046d) @ to the lowest degree 1 record having vaule greater zero.

d046d e024a abc123 0 abc123 0 abc123 0 123abc 0 123abc 1 123abc 0 1a2b3c 0 1a2b3c 0

all want returned 123abc

select d008g, d046d, e024a 20121 (20121.[d046d])=(select sc.d046d 20121 sc e024a >0)

this error becuase find multiple d046d in subquery.

if want parts quantity greater zero, clause should say

where e024a > 0

now want part numbers @ to the lowest degree 1 record > 0, can conclude want see each qualifying part number 1 time - best achieved using distinct:

select distinct d008g, d046d, e024a 20121 e024a > 0

ms-access-2010

Comments

Popular posts from this blog

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

mediawiki - How do I insert tables inside infoboxes on Wikia pages? -

Local Service User Logged into Windows -