标签: mysql mysql-workbench
默认情况下,MySQL Workbench会在生成查询时将数据库名称预先挂起到表名作为前缀。它还在反引号`
例如,如果我删除一行并单击“应用”,它将显示如下查询:
DELETE FROM `my_db`.`users` WHERE `user_id`='12345';
有没有办法更改查询生成的设置,使其生成如下所示的查询:
DELETE FROM users WHERE user_id = '12345';