An Error Was Encountered

Error Number: 1690

BIGINT UNSIGNED value is out of range in '(`terra`.`items_t1`.`kpp_distance` - 12)'

SELECT * FROM `items`,`items_t1` WHERE `items`.`id`=`items_t1`.`id_item` AND (`items`.`id`!=643) AND (`items_t1`.`target`=0 AND ((`items_t1`.`target`!=4 AND `items_t1`.`undtarget`=1) OR (`items_t1`.`target`=4 AND `items_t1`.`undtarget_other`=''))) AND (`items`.`region`=9 AND ((`items`.`region`=9 AND `items`.`undregion`=12) OR (`items`.`region`!=9 AND `items`.`undregion_other`=''))) AND (`items`.`city_name`='Белогородка') ORDER BY ABS(`items_t1`.`kpp_distance`-12) ASC,ABS(`items`.`price`-3750) ASC,ABS(`items_t1`.`size_area`-0.2) ASC,`items`.`id` DESC LIMIT 20