On Sunday, March 23, 2025, Igor Korot <ikoro...@gmail.com> wrote:

>
>     CREATE TRIGGER playersinleague_insert AFTER INSERT ON playersinleague
> WHEN new.current_rank IS NULL
>
>

When the syntax shows parentheses you are required to write them.

  [ WHEN ( *condition* ) ]

David J.

Reply via email to