My database:

![enter image description here](https://i.stack.imgur.com/vgMrs.png)

My code:

```
QSqlDatabase db = QSqlDatabase::addDatabase("QSQLITE");
db.setDatabaseName("sqlite.db");
db.open();

QSqlQuery query;
query.exec("SELECT * from Expenses");

QSqlTableModel *model = new QSqlTableModel(0, db);
model->setTable("Expenses");
model->select();

```

How I can to get the value of TOTAL for "January 2014"? I.e. "1".