INTO RESULT

Lets you set a custom label for SELECT. It can’t be used along with DISCARD.

Examples:

  1. SELECT 1 INTO RESULT foo;

INTO RESULT - 图1

  1. SELECT * FROM
  2. my_table
  3. WHERE value % 2 == 0
  4. INTO RESULT `Result name`;

INTO RESULT - 图2