- 博客(1)
- 收藏
- 关注
原创 sql两表字段相同查找最大值以及统计记录总数
1、查找最大值select max(timeAlert) from(select timeAlert from A where [alertMark]=1unionselect timeAlert from B where [alertMark]=1) aa2、统计总数select(select count() from A where [alertMark]=1)+(sel...
2019-03-22 09:34:16
1617
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅