Is this the correct way to create SQL assertion?
问题 in order to make the following type of assertion create assertion assert check "EMPTY SET" = (select User from Video where date=current_date() group by user having count(*) >= 10 is this assertion right? create assertion assert check 0 = (select count(*) from Video where date=current_date() group by user having count(*) >= 10 回答1: For full details on CREATE ASSERTION see the ISO SQL-92 Standard spec. The CHECK definition should be in parentheses. CURRENT_DATE does not have parentheses. USER