We will use the same blogging system used in Chapter 1, Kickstart - Introduction to Entity Framework Core. In this case, we will create SQL queries required for the existing database and then we will build our blogging system using the database-first approach. Let's write the SQL query of Blog and Post, which were required for the blogging system.