Hi there.
I am looking to insert a value into a column but want to ensure the value remains in a range less than the current max and min values for the specific column.
I want to run a command such as:
BUT I currently know that the current min(column_valu e) is 200.
At the moment my select is returning nothing as there is no value less than 100 but is there a way to create this max(column_valu e + 1) amount by applying some form of control please?
Thank you.
M :o)
I am looking to insert a value into a column but want to ensure the value remains in a range less than the current max and min values for the specific column.
I want to run a command such as:
Code:
select max(column_value + 1) from tableName where column_value < 100;
At the moment my select is returning nothing as there is no value less than 100 but is there a way to create this max(column_valu e + 1) amount by applying some form of control please?
Thank you.
M :o)
Comment