Message 1 of 2
SQL query for Odd values
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am trying to query a table for only the odd values. I do not think it likes the % command is there another way to do this?
return Table.query("SELECT Rack FROM Racks WHERE BayName % 2 <> 0 AND Sequence <= 30 ORDER BY Sequence DESC")[1][1];