hi how can i use more than one 'between' clause in mysql query ? like if i want to select students having height between 20 and 25 and weight between 50 and 70..
thanks in advance
tismon
hi how can i use more than one 'between' clause in mysql query ? like if i want to select students having height between 20 and 25 and weight between 50 and 70..
thanks in advance
tismon
WHERE height BETWEEN 20 AND 25 AND weight BETWEEN 50 AND 70
Bear in mind that your condition being applied to each row one-by-one, not to "whole table at once".