Anonymous
public sql v1 · immutablecafegraphica=# create table comments (comment_id integer not null unique primary key default nextval('comment_id_sequence'), comment_url text not null, comment_text text not null, comment_by text not null, comment_date timestamp not null default now(), constraint not_spam check ( count( select comment_id from comments where comment_by ilike comment_by and (comment_date - now()) < '000001')) < 20);