سؤال

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