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
Post a Comment