# 基本语法 下列 SQL 语句,哪一项不合法?
点击进入[MySQL实战练习环境](https://mydev.csdn.net/product/pod/new?image=cimg-centos7-skilltreemysql&connect=auto&create=auto&utm_source=skill)。 * `show databases` 列出所有数据库 * `show tables` 列出所有表 ## 答案 ```mysql from test select abc; ``` ## 选项 ### A ```mysql select 3.14; ``` ### B ```mysql select * from employee; ``` ### C ```mysql select * from employee where dept = 'hr'; ``` ### D ```mysql select id, name, dept, salary from employee where salary > 10000; ``` ### E ```mysql select now(); ```