如何将此逻辑转换为SQL语句?IF @GrantSQL is successful, then continue to insert, if not stop query 这是存储过程: BEGIN
-- IF @GrantSQL is successful, then continue to insert, if not stop query
我的系统要求是从ubuntu终端执行一系列mysql命令,create table aa (id int); create table cc (id int); zero@zero-desktop:~/Desktop$ mysql --user=root --password=admin --database=zero <query</