Unknown column 'typeofpropertiess' in 'where clause'