<?xml version="1.0" encoding="UTF-8" ?>
<jsp:root
	xmlns:jsp="http://java.sun.com/JSP/Page"
	xmlns:og="hybs-taglib.tld" 
	version="2.0">
<jsp:directive.page language="java" contentType="text/html; charset=UTF-8" />

<og:head headType="query" />
<jsp:directive.include file="/jsp/custom/query_info.jsp" />
<og:comment
	system	= "GF:エンジンサンプル"
	pgid	= "GFX012"
	title	= "親子展開"
	date	= "2008/10/27"
	author	= "Hiroki.Nakamura"
	text	= ""
	version	= "001"
/>
<form method="GET" action="forward.jsp" target="RESULT" onClick="timeSet();">
<table summary="layout" >
<tr>
	<og:select name="MGR" lbl="MGR" must="true">
		<og:queryOption>
			<jsp:text>
				SELECT EMPNO,ENAME,JOB FROM EMP
				WHERE EXISTS (select * from EMP B where B.MGR = EMP.EMPNO)
				ORDER BY MGR
			</jsp:text>
		</og:queryOption>
	</og:select>
</tr>
</table>
<og:queryButton />
</form>

<jsp:directive.include file="/jsp/common/htmlend.jsp" />
</jsp:root>
