Hi people pls help me having some trouble with the SQL I try to test the SQL to get a value but it does not work this is my table name location:
uid uname lat
1 Peter Collins 1.378
2 Mary Hopenson 1.298
I trying to get the the name Peter Collins to be display so I have the following code input:
SELECT uname
FROM location
WHERE location.lat = '1.378'
LIMIT 0 , 30;
but when I run i got this "MySQL returned an empty result set"
why is it like that I thought my code say get uname from table location where the lat is = 1.378 that mean it should display Peter Collins but instead it return nothing plss help me thx!
uid uname lat
1 Peter Collins 1.378
2 Mary Hopenson 1.298
I trying to get the the name Peter Collins to be display so I have the following code input:
SELECT uname
FROM location
WHERE location.lat = '1.378'
LIMIT 0 , 30;
but when I run i got this "MySQL returned an empty result set"
why is it like that I thought my code say get uname from table location where the lat is = 1.378 that mean it should display Peter Collins but instead it return nothing plss help me thx!
Comment