Цитата (twin @ 12.01.2015 - 20:49) |
А по теме, BETWEEN работает быстрее, чем два условия. |
echo '<pre>',print_r($var, 1);die;
Цитата (kristall @ 13.01.2015 - 20:27) |
... This is equivalent to the expression (min <= expr AND expr <= max) if all the arguments are of the same type. http://dev.mysql.com/doc/refman/5.5/en/com...perator_between |