1-- 2-- Copyright 2019 The Android Open Source Project 3-- 4-- Licensed under the Apache License, Version 2.0 (the "License"); 5-- you may not use this file except in compliance with the License. 6-- You may obtain a copy of the License at 7-- 8-- https://www.apache.org/licenses/LICENSE-2.0 9-- 10-- Unless required by applicable law or agreed to in writing, software 11-- distributed under the License is distributed on an "AS IS" BASIS, 12-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13-- See the License for the specific language governing permissions and 14-- limitations under the License. 15-- 16CREATE TABLE null_test ( 17 primary_key INTEGER PRIMARY KEY, 18 int_nulls INTEGER, 19 string_nulls STRING, 20 double_nulls DOUBLE, 21 start_int_nulls INTEGER, 22 start_string_nulls STRING, 23 start_double_nulls DOUBLE, 24 all_nulls INTEGER 25); 26 27INSERT INTO null_test( 28 int_nulls, 29 string_nulls, 30 double_nulls, 31 start_int_nulls, 32 start_string_nulls, 33 start_double_nulls 34) 35VALUES 36(1, "test", 2.0, NULL, NULL, NULL), 37(2, NULL, NULL, NULL, "test", NULL), 38(1, "other", NULL, NULL, NULL, NULL), 39(4, NULL, NULL, NULL, NULL, 1.0), 40(NULL, "test", 1.0, 1, NULL, NULL) 41 42SELECT * from null_test; 43