Question: Count the products that have the color description "white" or have the characteristic name "hot".
Schema: create table characteristics (characteristic_id varchar, characteristic_name varchar, PRIMARY KEY (characteristic_id)); create table ref_colors (color_code varchar, color_description varchar, PRIMARY KEY (color_code)); create table products (product_id varchar, color_code varchar, PRIMARY KEY (product_id)); create table product_characteristics (product_id varchar, characteristic_id varchar, PRIMARY KEY (product_id))
SQL: select count(*) from products as t1 join product_characteristics as t2 on t1.product_id = t2.product_id join characteristics as t3 on t2.characteristic_id = t3.characteristic_id join ref_colors as t4 on t1.color_code = t4.color_code where t4.color_description = "white" or t3.characteristic_name = "hot"