2016-10-05 124 views
0

これはsqlで新しく追加されたものです。このクエリを使用すると、エラーが発生します。ORA-32033:サポートされていない列の別名:Oracle 10g

with new_table (loan,customer_city) as (
    select loan.loan_number , customer.customer_name, customer_city 
    from loan,borrower,customer 
    where customer.customer_name = borrower.customer_name and loan.loan_number = borrower.loan_number order by loan_number) 
select customer_city from new_table ; 
+1

のようなものをサブクエリ自体の中にエイリアスを作成し、皆を奨励しなければなりません同じことをする!それに対して+1。 – mathguy

答えて

3

CTEの宣言での列エイリアシングは、Oracle 11.2で導入されました。 10gでは、あなたは、あなたが質問して、このすべての時間を行うことを忘れないでください.... Oracleのバージョンを明記の大きな重要性を見ることができます

with new_table as (select loan.loan_number as loan, .....) 
関連する問題