单选题 插入记录的语法格式是( )。

A、 insert from 表名(字段1,字段2,…)values(值1,值2,…);;
B、 insert into 表名(字段1,字段2,…)values(值1,值2,…);;
C、 insert where 表名(字段1,字段2,…)values(值1,值2,…);;
D、 insert into from 表名(字段1,字段2,…)values(值1,值2,…);;
下载APP答题
由4l***jg提供 分享 举报 纠错

相关试题

单选题 在SELECT语句中,用于限制SELECT语句返回的行数的子句是( )。

A、TOP;
B、LIMIT;
C、TRUNCATE;
D、ORDER

单选题 以下哪个子句中不允许使用子查询( )。

A、select;
B、where;
C、having;
D、order by

单选题 如果要连接的表中连接字段列名相同,那么ON条件也可以换成( )子句。

A、AND;
B、LIKE;
C、USING;
D、OR

单选题 以下不是MySQL索引类型的是( )。

A、普通索引;
B、全文索引;
C、并行索引;
D、唯一索引

单选题 查询book表中price字段的最大值,查询语句是( )。

A、select max(price) from book;;
B、select min(price) from book;;
C、select price from min book;;
D、select price from max book;;

单选题 创建数据库的语法格式是( )。

A、SHOW DATABASE;;
B、USE 数据库名;
C、CREATE DATABASE 数据库名;
D、DROP DATABASE 数据库名;

单选题 以下关于数据库的说法错误的是( )。

A、数据结构化;
B、数据共享;
C、数据统一管理和控制;
D、数据冗余度越高越好

单选题 查询tb数据表中id=1的记录,语法格式是( )。

A、select * into tb where id=1;;
B、select * where tb where id=1;;
C、select * delete tb where id=1;;
D、select * from tb where id=1;;