The easiest way to create a website - is to use cms such as Wordpress. This is much more convenient in terms of content management than using a static site (cms is a content management system). But many fret at the speed of work, because the system is addressed to the database, and the beginner himself is difficult to understand the sql. Fortunately, I recently came across a cool site to learn sql. It's called codingsight. For example, here is a very cool article with simple tipses.
https://codingsight.com/sql-query-optimization-5-core-facts-to-boost-queries/ it describes the basic techniques of boost sql in plain language. I suggest you check it out!