Use order by clause
Qt Code:
model->setQuery("SELECT start_time,description,finish_time FROM db_table [B]order by id desc[/B]");To copy to clipboard, switch view to plain text mode
hope it helps,
bala
Use order by clause
Qt Code:
model->setQuery("SELECT start_time,description,finish_time FROM db_table [B]order by id desc[/B]");To copy to clipboard, switch view to plain text mode
hope it helps,
bala
Bookmarks