INTERVAL() function in mysql -
select interval (33, 5, 10, 15, 25, 27, 34);
this query give result 5, because immediate highest value 33 found 34 @ index 5.
select interval (33, 5, 10, 15, 25, 27, 33);
this query giving result 6.is right answer ? since there no integer greater 33 in list , giving highest index+1 result or other logic missing?
please me out! thanks
Comments
Post a Comment