access query

G

Guest

I have a query in my database which includes the following fields from
various tables:
orderID
stockID
qty
price
stockLevel
reorderLevel
However I cant figure out how to display only the results where 'stockLevel'
is less than 'reorderLevel'.
 
G

Guest

Try this SQL after changing the table name

Select orderID, stockID , qty, price, stockLevel, reorderLevel,
From TableNAme
Where stockLevel < reorderLevel

Or, write under the stockLevel field the criteria
< reorderLevel
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top