Good day, lords of the QT's!

I'm using QSqlTableModel and QTableView, I wonder: this is the best way whether custom the SQL, making select between two or more tables? Can use submitAll? I think not, what can I do?

Thanks,

Marcelo E. Geyer