当前位置:网站首页>Use of subqueries
Use of subqueries
2022-06-26 14:50:00 【All eyes are on it】
<!-- Query list -->
<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>边栏推荐
- Chinese output of PostGIS console is garbled
- Sword finger offer 15.65.56 I 56Ⅱ. Bit operation (simple - medium)
- 印尼投资部长:鸿海考虑在其新首都建立电动公交系统、城市物联网
- A remove the underline from the label
- teamviewer显示设备数量上限解决方法
- Excel-VBA 快速上手(二、条件判断和循环)
- Unity 利用Skybox Panoramic着色器制作全景图预览有条缝隙问题解决办法
- Where do people get their top energy?
- From Celsius to the three arrows: encrypting the domino of the ten billion giants, and drying up the epic liquidity
- Two dimensional DFS
猜你喜欢

登录认证服务

人的顶级能量从哪里获取?

Naacl2022: (code practice) good visual guidance promotes better feature extraction, multimodal named entity recognition (with source code download)

How to personalize VIM editor format (DIY)

Where do people get their top energy?

Combat readiness mathematical modeling 31 data interpolation and curve fitting 3

Pychar remotely connects to the server to run code

【soloπ】adb连接单个多个手机

权威发布 | 延安大学2022年教师岗位招聘公告

Attention meets Geometry:几何引导的时空注意一致性自监督单目深度估计
随机推荐
Recent important news
K gold Chef (two conditions, two points and difference)
Atcoder bit operation & Conclusion + formula derivation
[solo π] ADB connects multiple mobile phones
Pychar remotely connects to the server to run code
NAACL2022:(代码实践)好的视觉引导促进更好的特征提取,多模态命名实体识别(附源代码下载)...
Leaflet loading ArcGIS for server map layers
BM3D in popular language
One article of the quantification framework backtrader read observer
【使用yarn运行报错】The engine “node“ is incompatible with this module.
PostGIS create spatial database
详解C语言编程题:任意三条边能否构成三角形,输出该三角形面积并判断其类型
Sharing ideas for a quick switch to an underlying implementation
Sword finger offer 45.61 Sort (simple)
一个快速切换一个底层实现的思路分享
Oracle ASMM和AMM
Excel-VBA 快速上手(二、条件判断和循环)
Practical website recommendations worth collecting for College Students
Numpy基本使用
Complimentary Book Cognitive Control: how does our brain accomplish tasks?