Odd Street Addresses

M

MGFoster

Steve said:
How would I query a odd (or even) street addresses only for a specific street?

ODD:
SELECT Address
FROM Addresses
WHERE (HouseNumber Mod 2) = 1

EVEN: use (HouseNumber Mod 2) = 0
 

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