Skip to content

Select rowid along with all other columns from a table in Oracle database

To select rowid along with all other columns from a table, just use an alias and get the columns using asterisk (*).

select rowid as id, mm.* from MOVIES_MASTER mm where MOVIE_ID = 98766;
See also  Import CSV files into MySQL table

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.