Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 SQL Server 中,我可以非常方便地进行如下查询:
SELECT phone_number, last_known_location, * FROM missing_female_pilots WHERE last_name = 'Earhart'
我怎样才能在 Oracle 中做类似的事情?
您可以使用表别名:
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'