CREATE PROCEDURE test_proc (id VARCHAR(255)) BEGIN DECLARE dt DATETIME(6) DEFAULT ROW(1, 2) = SOME(SELECT 1) = ALL(SELECT 1);