摘要: 2.使用实例 创建实体类 阅读全文
posted @ 2018-07-31 16:01 塔卡哈西KSK 阅读(2996) 评论(0) 推荐(0) 编辑
摘要: 1.Navicat for MySQL(连接MySQL数据库的工具) ctrl + r 执行查询页中所有的sql语句 ctrl + shift + r 只运行选中的sql语句 2.DBeaver(支持连接任何具有一个JDBC驱动程序数据库) ctrl + 回车 只运行选择的sql语句 阅读全文
posted @ 2018-07-31 15:34 塔卡哈西KSK 阅读(3650) 评论(0) 推荐(0) 编辑
摘要: 1.select first 1 * from shop; 正序查询第一条数据 2.select first 1 * from shop order by create_time desc; 按创建时间倒序查询第一条数据 3.select first 1 shopid from shop; 正序查询 阅读全文
posted @ 2018-07-31 15:21 塔卡哈西KSK 阅读(1015) 评论(0) 推荐(0) 编辑