$query = "SELECT p.id, p.kodL code, p.name, i.price buyPrice, i.vprice salePrice, i.count, i.id iid, i.insert_date insertDate, p.wi, i.insert_version FROM product p