摘要: 一、需求 有如下这样一组数据: SQL> select * from score; ID CHINESE MATH ENGLISH 10001 91 98 87 10002 81 87 79 希望得到如下结果: ID CHINESE MATH ENGLISH MAX MIN 10001 91 98 阅读全文
posted @ 2021-05-06 10:34 cqyyck 阅读(1906) 评论(0) 推荐(0) 编辑
摘要: 原文链接:http://blog.itpub.net/28929558/viewspace-1182183/ 销售表: SQL> select * from criss_sales where dept_id = 'D02' order by sale_date ; DEPT_ID SALE_DAT 阅读全文
posted @ 2021-05-06 10:20 cqyyck 阅读(334) 评论(0) 推荐(0) 编辑