mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
GROUP BY에 사용되는 <groups> 태그 안에 <having> 태그를 넣을 수 있습니다.
문법은 <conditions> 부분에 적용되는 것과 같습니다.
<query id="queryId" action="select">
...
<groups>
<group column="document_srl" />
<having>
<condition operation="more" column="document_srl" var="myvar" default="0" />
</having>
</groups>
...
</query>
결과: SELECT ... GROUP BY document_srl HAVING document_srl >= 0
|
||
|---|---|---|
| .. | ||
| condition | ||
| expression | ||
| limit | ||
| order | ||
| table | ||
| Query.class.php | ||
| Subquery.class.php | ||