QSqlQuery query(QString("INSERT INTO order_order (cashier_id) values ('%1')").arg(cashier.getID())); query.exec();