You can use AS
for table aliasing on many SQL servers (at least MsSQL, MySQL, PostrgreSQL) but it’s always optional and on Oracle it’s illegal.
So remove the AS
:
SELECT G.Guest_ID, G.First_Name, G.Last_Name
FROM Guest G
More Related Contents:
- ORA – 00933 confusion with inner join and “as”
- SQL Command not properly ended?
- Receive an unexpected symbol error in my PLSQL query [closed]
- SQL Query to concatenate column values from multiple rows in Oracle
- Select First Row of Every Group in sql [duplicate]
- Oracle: how to UPSERT (update or insert into a table?)
- Get top results for each group (in Oracle)
- Comparing Dates in Oracle SQL
- Oracle Differences between NVL and Coalesce
- Oracle SQL query: Retrieve latest values per group based on time [duplicate]
- Is it possible to output a SELECT statement from a PL/SQL block?
- Oracle SQL, concatenate multiple columns + add text
- Oracle query to fetch column names
- Oracle Joins – Comparison between conventional syntax VS ANSI Syntax
- SQL Error: ORA-01861: literal does not match format string 01861
- Determine Oracle null == null
- How to anticipate and escape single quote ‘ in oracle
- Oracle insert if row does not exist
- SELECT INTO using Oracle
- Display names of all constraints for a table in Oracle SQL
- `show create table` equivalent in oracle sql
- Does ‘Select’ always order by primary key?
- Query json dictionary data in SQL
- ORA-00972 identifier is too long alias column name
- How to insert a string which contains an “&”
- Subtracting Dates in Oracle – Number or Interval Datatype?
- Retrieve Oracle last inserted IDENTITY
- Using bind variables with dynamic SELECT INTO clause in PL/SQL
- Why are aggregate functions not allowed in where clause
- Insert into from CTE