已创建表格并且之前已插入数据
似乎无法执行插入命令,在此阶段尚未尝试过其他命令
重置mysql,仍然这样做......
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1
Server version: 5.6.20 MySQL Community Server (GPL)
Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> USE X32334732
Database changed
mysql> INSERT INTO Product (Name, Picture, Type, Description, Sales_Price) VALUE
S ("FIFA 15", "pics/games/fifa.jpg", "Game - ps4", "Soccer Sports Game", 44.95);
感谢您的帮助。
谢谢2 Codebird,我正在使用“不是...... ......我猜的新手错误。”TY
答案 0 :(得分:0)
当控制台说">时,这意味着你在一个用双引号括起来的字符串里面(")没有关闭。
您在此处发布的字符串似乎没有任何未公开的双引号,但您似乎没有更少的双引号。仔细检查您的输入。
您可以输入&#34 ;;来摆脱目前的状况。要关闭引号和分号以执行命令,您可能会收到语法错误。