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