I generated TableA and TableB in "subqueries" of the SQL statement, say Table A: Table B: columnA columnB columnC
n*l
2 楼
I got the following error message says missing a keyword. The AB in your code, is it the new table name? SQL> select A.columna as newa, A.columnb as newb, b.columnc as news 2 into AB 3 from A, B 4 ; into AB * ERROR at line 2: ORA-00905: missing keyword So basically this is a cartesian join?
s*i
3 楼
don't know which DB you use, but try into table AB
【在 n*l 的大作中提到】 : I got the following error message says missing a keyword. The AB in your : code, is it the new table name? : SQL> select A.columna as newa, A.columnb as newb, b.columnc as news : 2 into AB : 3 from A, B : 4 ; : into AB : * : ERROR at line 2: : ORA-00905: missing keyword