質問

次のタイプのアサーションを作成するため

create assertion assert  
check "EMPTY SET" = (select User         
     from Video  
     where date=current_date()  
     group by user  
having count(*) >= 10

これは正しいですか?

create assertion assert  
check  0 = (select count(*)  
     from Video  
     where date=current_date()  
     group by user  
having count(*) >= 10

正しい解決策はありません

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top