How can I do this, select only the line with "1.4" if the result has the values "15.2", "UNK", "1.4"?
SELECT * FROM tbl WHERE result<4.0
(ideally this works for both MSSQL and MySQL ...)
Here is the result column
CREATE TABLE IF NOT EXISTS `tbl` ( `result` varchar(5) NOT NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8; INSERT INTO `tbl` (`result`) VALUES ('15.2'),('UNK'),('1.4');
ajo source share