Click here to Skip to main content
15,899,679 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
my table looks like this

AUTO_ID TIME_STAMP LATITUDE LONGITUDE

1 2:30:00AM 16.001 78.37437
2 2:31:00AM 16.001 78.37437
3 2:32:00AM 17.121 80.74358
4 2:33:00AM 12.101 89.79658
5 2:34:00AM 13.211 45.45454
6 2:35:00AM 13.211 45.45454


i want to select distinct latitude and longitude from the above table

so please suggest me
Posted
Updated 28-Feb-12 22:20pm
v2

try this one

SQL
select latitude , longitude from tablename group by latitude,longitude


Regards,
Bluesathish
 
Share this answer
 
Comments
kalyan10qwerty 29-Feb-12 23:27pm    
thanq satish...
SQL
SELECT DISTINCT latitude, longitude
FROM Table

that will select distinct couple of lat-long
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900