一个标准sql语句模板
程序员文章站
2022-03-28 18:54:22
top n:选出查询结果的前n项,可改为 top n percent 形式:选出查询结果的前百分之n项; inner join:内连接查询,可改为left join(左连接)、right join(右连接); ......
select distinct top n * from t1 inner join t2 on ... join t3 on ... where ... group by ... having ... order by ...
top n:选出查询结果的前n项,可改为 top n percent 形式:选出查询结果的前百分之n项;
inner join:内连接查询,可改为left join(左连接)、right join(右连接);
上一篇: spoon(kettle)基本配置(链接Mysql和Oracle)
下一篇: 选择器