On Fri, Dec 3, 2010 at 12:50 PM, Mark Goodge <[email protected]> wrote: > Given a table containing a range of INT values, is there any easy way to > select from it the lowest non-zero number? >
SELECT number FROM table WHERE number > 0 ORDER BY number ASC LIMIT 1; ? -- Paul Halliday Ideation | Individualization | Learner | Achiever | Analytical http://www.pintumbler.org -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[email protected]
