There is a table
CREATE TABLE IF NOT EXISTS `test` ( `id` int(11) NOT NULL, `sq_min` int(11) NOT NULL, `sq_max` int(11) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Дамп данных таблицы `test` -- INSERT INTO `test` (`id`, `sq_min`, `sq_max`) VALUES (1, 50, 200), (2, 45, 49), (3, 210, 250), (4, 45, 55), (5, 195, 205);
How to do a search on this table. If the search is also given a minimum and maximum.