sql - How to select a field in addition to everything else? -


in sql server had convenient ability make query this:

select phone_number, last_known_location, *    missing_female_pilots   last_name = 'earhart' 

how can similar in oracle?

you can use table alias :

select t.phone_number, t.last_known_location, t.*  missing_female_pilots t t.last_name = 'earhart' 

or prepend table name before * :

select phone_number, last_known_location, missing_female_pilots.*  missing_female_pilots  last_name = 'earhart' 

Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -