I'm still pretty new with MySQL and I don't know the best way to do this.
I have a table with incremented values, and if the values exceed a certain limit, I'd like to know. So lets say I have this table with a current
column and capacity
column. A row in current
is incremented by user input and I want to know when the value in a current
row exceeds or meets its corresponding capacity
.
If current
is still below the capacity
, I would like the query to return true. However, if current
meets or exceeds capacity
, I would like the query to return false.
Thanks!