当前位置:网站首页>子查询的使用
子查询的使用
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>边栏推荐
- 【soloπ】adb连接单个多个手机
- Flex & Bison 开始
- Research on balloon problem
- Electron
- C language | file operation and error prone points
- ArcGIS batch export layer script
- Eigen(3):error: ‘Eigen’ has not been declared
- From Celsius to the three arrows: encrypting the domino of the ten billion giants, and drying up the epic liquidity
- Leaflet loading ArcGIS for server map layers
- MySQL master-slave replication and read-write separation
猜你喜欢

Combat readiness mathematical modeling 31 data interpolation and curve fitting 3

Common controls and custom controls

ArcGIS batch export layer script

Correlation analysis related knowledge

2022年最新贵州建筑八大员(机械员)模拟考试题库及答案

Jianzhi offer 43.47.46.48 dynamic planning (medium)

量化框架backtrader之一文读懂observer观测器

This is the graceful file system mounting method, which is effective through personal testing

C language | Consortium

710. 黑名单中的随机数
随机推荐
Datasets dataset class (2)
Summary of decimal point of amount and price at work and pit
Atcoder 238
Login authentication service
idea快捷键
Chinese output of PostGIS console is garbled
Relevant knowledge of information entropy
Installation tutorial about origin2019
Heap optimization dijkstra/hash table storage node number
量化框架backtrader之一文读懂observer观测器
信息学奥赛一本通 1400:统计单词数 (字符串匹配)
Practice with the topic of bit operation force deduction
Setup instance of layout manager login interface
Atcoder bit operation & Conclusion + formula derivation
券商经理给的开户链接办理股票开户安全吗?我想开个户
oracle11g数据库导入导出方法教程[通俗易懂]
From Celsius to the three arrows: encrypting the domino of the ten billion giants, and drying up the epic liquidity
一个快速切换一个底层实现的思路分享
Electron
Extended hooks