Reputation: 65
I am having an issue with a MySQL SELECT query. Here is the data in the table https://i.sstatic.net/TcVSZ.jpg This query doesn't, even though the data is in there https://i.sstatic.net/Guj0B.jpg Does anyone know why this is happening? The data type is a float, and a similar variable works.
Upvotes: 1
Views: 51
Reputation: 1
SELECT * FROM table_name WHERE pos<=0.7 AND pos LIKE '%0.7';
Is it helping?
Upvotes: 0
Reputation: 133400
could be the value stored is not exactly 0.7
try
select * from learned_info where pos > 0.6;
or could be the value are not float
Upvotes: 1