我是 NHibernate 和 queryover 的新手。我想将 nhibernate 查询写入以下 sql。
SELECT A.*
FROM V_FDS_BANK_MASTR_ADTWORKFL A,
(SELECT DISTINCT BANK_CD
FROM V_FDS_BANK_MASTR_ADTWORKFL
WHERE TRUNC (APPROVEDBY_DATE) BETWEEN TO_DATE ('18/03/2013',
'DD/MM/YYYY')
AND TO_DATE ('19/03/2013',
'DD/MM/YYYY')) B
WHERE A.BANK_CD = B.BANK_CD
ORDER BY A.BANK_CD, APPROVEDBY_DATE
非常感谢