Learn how to use SQLModel here.
This includes an introduction to databases, SQL, how to interact with databases from code and more.
You could consider this a book, a course, and the official recommended way to learn SQLModel.