2017-02-20 7 views
0

以下のMSSQLクエリを使用して、Kormaエンティティを特定できません。MSSQLクエリをKormaエンティティに変換する

;; Subselects can be used as entities too! 
(defentity subselect-example 
    (table (subselect users 
      (where {:active true})) 
     :activeUsers)) 

select t.d as did from (
      select dataid as d , count(dataid) as 
      cd from <table_name> 
      WHERE prid = <pid> group by dataid 
     ) as t WHERE t.cd >1; 

おかげ

SQLコルマドキュメントサイトは副選択sampleが含まれてい

答えて

0
を助けてください。
関連する問題