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 有一些了解,但在 Oracle 方面完全是新手。下面的 sql 语句将在 SQL Server 中正确执行。但这不会在 Oracle 中执行并引发错误。
select Field1, * from Table1 where SomeField = 0
请让知道如何在 Oracle 中执行类似的语句。收到的错误如下:
ORA-00936: missing expression 00936. 00000 - "missing expression"
尝试,
select Field1, a.* from Table1 a where SomeField = 0;
只需尝试:
select Field1, Table1.* from Table1 where SomeField = 0