Bonjour,
lorsque j'ai executer cette requete :
Code java : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
java.sql.ResultSet curseur=s.executeQuery("select latitude, longitude, nomville 
from liste_magasins 
where (latitude between"+ lat + " and " + lat + "+" + step + ") and (longitude between "+ lon + " and " + lon + "+"+step+ ") LIMIT 5");

j'ai recu cette erreur :erreur
selectioncom.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'between49.894593 and 49.894593+10.0) and (longitude between 2.298256 and 2.29825' at line 1
merci de m'aider