hello I have the following query
SELECT device.Latitud, device.Longitud FROM device WHERE device.id IN (SELECT MAX(device.id) FROM device GROUP BY device.IMEI )
but ists no working if ai took the sentence SELECT device.Latitud, device.Longitud FROM device, it works and SELECT MAX(device.id) FROM device GROUP BY device.IMEI works
but i need the complete query