操作方法
第一步,双击打开MySQL Workbench客户端,连接book数据库,选中t_book数据库表鼠标右键“Send to SQL Editor”,点击“Insert Statement”,创建插入SQL语句,如下图所示:
第二步,再次选择t_book数据库表,鼠标右键“Send to SQL Editor”,点击“Select All Statement”,创建查询SQL语句,如下图所示:
第三步,选择t_book数据库表,鼠标右键“Send to SQL Editor”,点击“Update Statement”,创建更新SQL语句,如下图所示:
第四步,选择t_book数据库表,鼠标右键“Send to SQL Editor”,点击“Delete Statement”,创建删除SQL语句,如下图所示:
第五步,选择t_book数据库表,鼠标右键“Send to SQL Editor”,点击“Create Statement”,创建新建数据库表SQL语句,如下图所示:
第六步,选择t_book数据库表,鼠标右键“Send to SQL Editor”,点击“Delete With References”,创建删除索引SQL语句,如下图所示: