sql - Select records from single column based on two conditions -
i might simple need solution.
i have column id (1 10) in table , want rows having id between 2 4 , 6 10, how retrieve rows? helpful.
select * mytable id between 2 , 4 or id between 6 , 10
Comments
Post a Comment