U menya takoy problema.na Baze field-birth type varchar(11) takoy. tam vse birth takoy vide naprimer 01-01-1970 ili 05-03-1990 . ya xachu iskat tam ot 1970 do 1990 ili ot 1980 do 1995 i tak dale ne poluchayetsa.Tak napisal SELECT * FROM users where birth BETWEEN '05-05-1985' and '01-06-1990'tap napisal ne nichevo ne nashol.
|