Difference between Select Unique and Select Distinct
2016-07-31 14:30
267 查看
ELECT UNIQUE is old syntax supported by Oracle’s flavor of SQL. It is synonymous with SELECT DISTINCT.
Use SELECT DISTINCT because this is standard SQL, and SELECT UNIQUE is non-standard, and in database brands other than Oracle, SELECT UNIQUE may not be recognized at all.
Use SELECT DISTINCT because this is standard SQL, and SELECT UNIQUE is non-standard, and in database brands other than Oracle, SELECT UNIQUE may not be recognized at all.
相关文章推荐
- What is the difference between SET and SELECT when assigning values to variables, in T-SQL?
- The difference between ID, ClientID and UniqueID
- Difference Between Select and SelectMany
- Difference between "select_catalog_role" and "select any dictionary"
- c++ the difference between auto_ptr (or unique_ptr) and shared_ptr
- Difference between Key, Primary Key, Unique Key and Index in MySQL
- What are the Differences between Work Package and Planning Package?
- Semantic difference between object expressions and declarations
- Difference between RVCT and GCCE
- Difference between Do_Key('Exit_Form') and Exit_Form
- The difference between CLOCK_MONOTONIC and CLOCK_REALTIME
- Difference between hub, switch and router
- difference between <? super T> and <? extends T> in Java
- Difference between WCF and Web API and WCF REST and Web Service
- What is the difference between .NET 1.1,2.0,3.0,3.5 and 4.0
- Difference between Comparator and Comparable in java
- Multi-thread: What is the difference between OpenMP and MPI
- What's the difference between the "gzip" and "deflate" HTTP 1.1 encodings?
- Differences between SPWeb.Users and SPWeb.SiteUsers
- What's the difference between a thread and a process?