if.sql 102 B

123456
  1. $data = [
  2. <|x:false,y:1,z:2|>,
  3. <|x:true,y:3,z:4|>,
  4. ];
  5. select if(x,y,z) from as_table($data);