Unique vs Distinct keyword in Oracle

前端 未结 4 1800
渐次进展
渐次进展 2021-01-18 17:54

I am a bit confused about the uses of these words. I have a table with he following columns: SITE, LAT, LONG, NAME, ......

I want results with unique (or is it disti

4条回答
  •  旧时难觅i
    2021-01-18 18:37

    AFAIR both mean the same. To get unique vel distinct LAT & LONG from your table just do:

    SELECT DISTINCT LAT, LONG FROM table;

提交回复
热议问题