In mysql if I want to do a simple qu ery :
select * from testtable where id = 192.1111
and i just want to select upto 2 decimal places, how do i go about it ?
conclusion should be that the testtable should pick values like 192.1111 and also 192.1133
etc
Please help
Thanks in advance
To return all the results that match the first 2 decimal points, try using
LIKE:Here is the Fiddle.
Good luck.