您好,欢迎来到厘赞财经。
搜索
您的当前位置:首页ORA-00922:选项缺失或无效_MySQL

ORA-00922:选项缺失或无效_MySQL

来源:厘赞财经


1、错误描述

SQL> create table info_stu from select t.stu_id,t.stu_name,t.stu_age from info t;
 
create table info_stu from select t.stu_id,t.stu_name,t.stu_age from info t
 
ORA-00922: 选项缺失或无效

2、错误原因

由于用数据库表中某些字段创建一张新表,中间的连接是用AS,而不是用from

3、解决办法

SQL> create table info_stu as select t.stu_id,t.stu_name,t.stu_age from info t;
 
Table created

Copyright © 2019- lzlq.cn 版权所有

违法及侵权请联系:TEL:199 18 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务