문제

It is acceptable in Oracle databases the command

  "SELECT UNIQUE * FROM table"?

Or do I have to select the column name for that command to work?

도움이 되었습니까?

해결책

Yes, this syntax is acceptable.
See this SQLFiddle example.

다른 팁

you can use the following query

select distinct * from table

You can not use UNIQUE (or DISTINCT) if your table has LOB fields. See example: http://sqlfiddle.com/#!4/97d3e/1

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top