没有办法删除上一行的。mysql> select test from ssad -> where < 只能删除当前行。或者你用 \c 取消整个个命令。
mysql命令行工具没什么太多的技巧。 你可以按 help mysql> select test from ssad -> where \c mysql> helpFor information about MySQL products and services, http://www.mysql.com/ For developer information, including the MySQL Ref http://dev.mysql.com/ To buy MySQL Network Support, training, or other p https://shop.mysql.com/List of all MySQL commands: Note that all text commands must be first on line ? (\?) Synonym for `help'. clear (\c) Clear command. connect (\r) Reconnect to the server. Optional a delimiter (\d) Set statement delimiter. ego (\G) Send command to mysql server, displ exit (\q) Exit mysql. Same as quit. 一般来说命令行工具写脚本比较方便。另外看得比较清楚。
-> where < 只能删除当前行。或者你用 \c 取消整个个命令。
-> where \c
mysql> helpFor information about MySQL products and services,
http://www.mysql.com/
For developer information, including the MySQL Ref
http://dev.mysql.com/
To buy MySQL Network Support, training, or other p
https://shop.mysql.com/List of all MySQL commands:
Note that all text commands must be first on line
? (\?) Synonym for `help'.
clear (\c) Clear command.
connect (\r) Reconnect to the server. Optional a
delimiter (\d) Set statement delimiter.
ego (\G) Send command to mysql server, displ
exit (\q) Exit mysql. Same as quit.
一般来说命令行工具写脚本比较方便。另外看得比较清楚。
也不习惯。