摘要: 1.计算相邻两行的年龄的差距 表中的数据如下 select (s.age-(select age from stu where id - s.id = 1)) from stu as s; select a.age-b.age from stu a,stu b where a.id-b.id=1; 阅读全文
posted @ 2018-07-09 11:15 努力就是魅力 阅读(137) 评论(0) 推荐(0) 编辑