In this chapter, you learned about SQL databases and how to use them with PyQt. You learned the basics of creating a relational database with SQL, how to connect to the database with the QSqlDatabase class, and how to execute queries on the database. You also learned how to build elegant database applications without having to write SQL by using the SQL model-view classes available in QtSql.
In the next chapter, you're going to learn how to create asynchronous applications that can deal with slow workloads without locking up your application. You'll learn the effective use of the QTimer class, as well as how to safely utilize QThread. We'll also cover the use of QTheadPool to enable high-concurrency processing.