mysql> select * from check;
ERROR 1064: You have an error in your SQL syntax.  Check the manual that corresp
onds to your MySQL server version for the right syntax to use near 'check' at li
ne 1
这是报错信息!

解决方案 »

  1.   

    SELECT * FROM `CHECK`  吧!
      

  2.   


    C:\Documents and Settings\Eric\桌面>e:E:\>cd program files\mysql\binE:\Program Files\MySQL\bin>mysql
    Welcome to the MySQL monitor.  Commands end with ; or \g.
    Your MySQL connection id is 5 to server version: 4.0.18-ntType 'help;' or '\h' for help. Type '\c' to clear the buffer.mysql> show databases;
    +----------+
    | Database |
    +----------+
    | bonus    |
    | mysql    |
    | test     |
    +----------+
    3 rows in set (0.00 sec)mysql> use bonus
    Database changed
    mysql> show tables;
    +-----------------+
    | Tables_in_bonus |
    +-----------------+
    | games           |
    | players         |
    | plyer_data      |
    | scores          |
    | teams           |
    +-----------------+
    5 rows in set (0.00 sec)这是我数据库的内容
      

  3.   

    我用了SELECT * FROM 'CHECK';也不行!
      

  4.   

    不是 '  ,而是 `,在tab 上面。