当前位置:网站首页>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>边栏推荐
- Detailed explanation of C language programming problem: can any three sides form a triangle, output the area of the triangle and judge its type
- Understand the difference and use between jsonarray and jsonobject
- Is the account opening link given by the broker manager safe? Who can I open an account with?
- Online bull Blogger
- Extended hooks
- ArcGIS secondary development -- arcpy batch automatic map publishing service
- 【 Native cloud】 Éditeur ivx Programmable par tout le monde
- Electron
- Sword finger offer 15.65.56 I 56Ⅱ. Bit operation (simple - medium)
- Oracle ASMM and AMM
猜你喜欢

15 BS object Node name Node name String get nested node content

The engine "node" is inconsistent with this module

710. 黑名单中的随机数

Common evaluation indexes of classification model -- confusion matrix and ROC curve

【 Native cloud】 Éditeur ivx Programmable par tout le monde

Attention meets geometry: geometry guided spatiotemporal attention consistency self supervised monocular depth estimation

vmware部分设置

MySQL master-slave replication and read-write separation

Setup instance of layout manager login interface

How to mount cloud disks in ECS
随机推荐
信息学奥赛一本通 1405:质数的和与积 (思维题)
登录认证服务
Leaflet loading ArcGIS for server map layers
oracle11g数据库导入导出方法教程[通俗易懂]
Eigen(3):error: ‘Eigen’ has not been declared
国信证券的排名如何?办理股票开户安全吗?
15 bs对象.节点名称.节点名称.string 获取嵌套节点内容
Introduction to basic knowledge of C language (Daquan) [suggestions collection]
印尼投资部长:鸿海考虑在其新首都建立电动公交系统、城市物联网
Sword finger offer 40.41 Sort (medium)
ArcGIS batch render layer script
BM3D in popular language
Sword finger offer 45.61 Sort (simple)
Caelus - full scene offline mixed Department solution
One article of the quantification framework backtrader read observer
聊聊 RPA 方向的规划:简单有价值的事情长期坚持做
人的顶级能量从哪里获取?
Sword finger offer 21.57.58 I Double pointer (simple)
How to mount cloud disks in ECS
在线牛人博主