QString("UPDATE mytable SET city_name='%1' WHERE city_id=%2;").arg(cbMy->currentText()).arg(cbMy->itemData(cbMy->currentIndex()).toInt());