Database: real_estate_properties
# ref_feature_types ( feature_type_code , feature_type_name )
# ref_property_types ( property_type_code , property_type_description )
# other_available_features ( feature_id , feature_type_code , feature_name , feature_description )
# properties ( property_id , property_type_code , date_on_market , date_sold , property_name , property_address , room_count , vendor_requested_price , buyer_offered_price , agreed_selling_price , apt_feature_1 , apt_feature_2 , apt_feature_3 , fld_feature_1 , fld_feature_2 , fld_feature_3 , hse_feature_1 , hse_feature_2 , hse_feature_3 , oth_feature_1 , oth_feature_2 , oth_feature_3 , shp_feature_1 , shp_feature_2 , shp_feature_3 , other_property_details )
# other_property_features ( property_id , feature_id , property_feature_description )
# other_available_features.feature_type_code = ref_feature_types.feature_type_code
# properties.property_type_code = ref_property_types.property_type_code
# other_property_features.property_id = properties.property_id
# other_property_features.feature_id = other_available_features.feature_id

Question: How many available features are there in total?
SQL: select count ( * ) from other_available_features

Question: What is the feature type name of feature AirCon?
SQL: select ref_feature_types.feature_type_name from other_available_features join ref_feature_types on other_available_features.feature_type_code = ref_feature_types.feature_type_code where other_available_features.feature_name = 'AirCon'

Question: Show the property type descriptions of properties belonging to that code.
SQL: select ref_property_types.property_type_description from properties join ref_property_types on properties.property_type_code = ref_property_types.property_type_code group by properties.property_type_code

Question: What are the names of properties that are either houses or apartments with more than 1 room?
SQL: select property_name from properties where property_type_code = 'House' union select property_name from properties where property_type_code = 'Apartment' and room_count > 1