1

In SQL Server I had the very convenient ability to make a query like this:

SELECT phone_number, last_known_location, * 
  FROM missing_female_pilots 
 WHERE last_name = 'Earhart'

How can I do something similar in Oracle?

4

1 に答える 1

4

テーブルエイリアスを使用できます:

SELECT t.phone_number, t.last_known_location, t.* 
FROM missing_female_pilots t WHERE t.last_name = 'Earhart'

または、前にテーブル名を追加します*

SELECT phone_number, last_known_location, missing_female_pilots.* 
FROM missing_female_pilots  WHERE last_name = 'Earhart'
于 2012-06-04T15:43:51.453 に答える