Here are some good places to start when you are learning how to write SQL to access databases.
(“SQL” is the letters for “Structured Query Language”, so it is pronounced “Ess-Que-Ell” — not “See-Quell” 🙂)
- sql: Introduction Learn SQL syntax. Nice! gives results online, you don’t have to set up your own database. No signup required. ☛ SQLBolt.com
- sql: Khan Academy Nice interactive tutorials. ☛ KhanAcademy.com
- sql: SQLZoo Free. Beginner tutorials will get you up to speed on the basics in an approachable manner. ☛ SQLZoo.com
- sql: W3Schools Online interactive tutorials for SQL ☛ W3Schools.com 
It is about doing things, writing code. It is not about memorizing. So you should take as long as it takes you to figure things out and do the things. Everybody is different. Some people take about 3 months, others 6 months, and some only a week. (It took me years!)
The important thing is: Do work every day. How much do you want it? How excellent do you want to be?
Some resources that are good for everything you learn:
- all: cheatsheet Look up html and css code here, at the place it is invented ☛ W3.org 
- all: Code Guide Standards for developing flexible, durable, and sustainable HTML and CSS – on a beautiful page! ☛ GitHub.io
- all: How to ask questions This article is about asking at WordPress support, but it applies to everywhere! ☛ WPBeginner.com 
- all: Web dev rates – India Hourly rates for web developer in India, with job descriptions, very nice interactive chart ☛ PayScale.com 
- all: Web dev rates – US Hourly rates for web developer in US, with job descriptions, very nice interactive chart ☛ PayScale.com 
- CertCheck Explains the role of the certificate on a website; by Tactical Technology Collective. (Note that the subdomain of the certcheck.me url will change each time you go there.) ☛ CertCheck.me
- typing: Typing Cat Practice typing skills and speed online ☛ theTypingCat.com 
Want to learn more? It's time to explore! ➽ All the Resources.