avatar
Question on SQL Query# Database - 数据库
n*l
1
I generated TableA and TableB in "subqueries" of the SQL statement, say
Table A: Table B:
columnA columnB columnC
avatar
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?
avatar
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

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。