摘要:
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open 阅读全文
posted @ 2018-07-26 16:31
杨咩咩
阅读(86)
评论(0)
推荐(0)
摘要:
1、查询出有多条重复的结果,用distinct可以进行去重处理: 语法:SELECT DISTINCT 列名称 FROM 表名称 例:SELECT DISTINCT Company FROM Orders 2、TOP,用于规定要返回的记录的数目。对于拥有数千条记录的大型表来说,TOP 子句是非常有用 阅读全文
posted @ 2018-07-26 16:12
杨咩咩
阅读(115)
评论(0)
推荐(0)

浙公网安备 33010602011771号