sql - Unique vs Distinct keyword in Oracle -


i bit confused uses of these words. have table following columns: site, lat, long, name, ......

i want results unique (or distinct) lat, long. how achieve this?

select unique cola, colb atable  select distinct cola, colb atable 

in context, unique , distinct mean same thing.

distinct ansi standard, whereas unique not.

please note unique has many other meanings when used in other area's ie index creation etc.


Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -