db.l3.ai

Play

lessons

what-changed-in-19

editor

engine: not started

results

Run a query to see rows here.

check

Procedure

A procedure is called with CALL and, unlike a function, may run transaction control. The table orders_arch already exists and is empty.

task

orders_arch is empty. Write procedure archive() that copies orders placed before 2025-06-01 into it, then CALL it.

hints