11.判断 NULL和MISSING值

  • NULL : 字段为NULL值

  • NOT NULL : 字段值不为NULL值

  • MISSING:字段不存在

下边的查询查找people的children字段是显式地设置为NULL。

Query:

SELECT fname, children
        FROM tutorial 
            WHERE children IS NULL

结果:

{
  "results": [
    {
      "children": null,
      "fname": "Fred"
    }
  ]
}

Last updated

Was this helpful?