TMP: sql_block