This is the query of PHP using MySQL. can anyone please convert this query to sqlite query?
Query:
select SQRT(POW(latitude, 2) + POW(longitude, 2)) *110 as dist from route
Best Regards,
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I have done it with the help of “pascal”.
The query becomes:
This query is used to find out the nearest coordinates of locations around me within 1 KM.