当前位置:网站首页>子查询的使用
子查询的使用
2022-06-26 14:01:00 【万众瞩目.】
<!--查询列表-->
<select id="selMap" parameterType="java.util.HashMap" resultType="java.util.HashMap">
SELECT
a.id,
a.building_name,
a.number_floor,
DATE_FORMAT( a.create_time, "%Y-%m-%d " ) AS create_time,
( SELECT count( 1 ) FROM yz_install_mountingpoint WHERE name_id = a.id ) AS 'cOunt',
( SELECT count( 1 ) FROM yz_install_placefloor WHERE building_name = a.id ) AS 'cOuntfloor',
address,
dept_name
FROM
yz_install_placemanage a,
sys_dept d
WHERE
d.dept_id = a.dept_id
<include refid="selwhere"/>
LIMIT #{StarRow},#{PageSize}
</select>
边栏推荐
- Eigen(3):error: ‘Eigen’ has not been declared
- Is the account opening link given by the broker manager safe? Who can I open an account with?
- Research on balloon problem
- Summary of decimal point of amount and price at work and pit
- Leaflet load day map
- transformers DataCollatorWithPadding类
- Lucky numbers in the matrix
- Oracle ASMM和AMM
- 从Celsius到三箭:加密百亿巨头们的多米诺,史诗级流动性的枯竭
- 权威发布 | 延安大学2022年教师岗位招聘公告
猜你喜欢
Related knowledge of libsvm support vector machine
Deploy the flask environment using the pagoda panel
备战数学建模32-相关性分析2
Eigen(3):error: ‘Eigen’ has not been declared
Sword finger offer 09.30 Stack
【使用yarn运行报错】The engine “node“ is incompatible with this module.
How to mount cloud disks in ECS
From Celsius to the three arrows: encrypting the domino of the ten billion giants, and drying up the epic liquidity
Complimentary Book Cognitive Control: how does our brain accomplish tasks?
710. 黑名单中的随机数
随机推荐
From Celsius to the three arrows: encrypting the domino of the ten billion giants, and drying up the epic liquidity
Sword finger offer 09.30 Stack
Combat readiness mathematical modeling 31 data interpolation and curve fitting 3
MySQL master-slave replication and read-write separation
Sword finger offer 18.22.25.52 Double pointer (simple)
Leaflet loading ArcGIS for server map layers
C语言刷题随记 —— 乒乓球比赛
vmware部分设置
Common controls and custom controls
Eigen(3):error: ‘Eigen’ has not been declared
Deploy the flask environment using the pagoda panel
C language | Consortium
权威发布 | 延安大学2022年教师岗位招聘公告
布局管理器~登录界面的搭建实例
Setup instance of layout manager login interface
备战数学建模32-相关性分析2
When drawing with origin, capital letter C will appear in the upper left corner of the chart. The removal method is as follows:
Complete diagram / Euler loop
大学生值得珍藏的实用网站推荐
使用宝塔面板部署flask环境