I personally recommend Alice Zhao's SQL Hand book, linked here. It is a neat little book that goes in depth on just the SQL side of things, there is very little to no talk on DB applications and TCL, but for SQL, it is great, comprehendible, and it all fits in a little, pocket reference guide. For Python, on the other hand, I would have to recommend the online documentation as well as the hundreds of amazing YouTube resources and channels. If you are like me, though, and prefer to have some sort of hard copy to fall back on, then I recommend this book. It is great, cheap for the hundreds of pages, and contains pretty much everything you may need to know for basic to intermediate Python.
Now if you want to extend your knowledge with Python libraries, you pay need to learn Pandas (a Python library for data structures) if you want to work with SQL, and for that I would recommend Codecademy Pro's courses on Python Data Visualization. That course goes in-depth on Matplotlib (a very very useful graphing/statistical library, if you are into that), Pandas, and Seaborn. All important statistical, data-handling libraries.
SQL will be easy for you, it is a straight forward, 4th Generation programming language, it is made to be easy to write in and understand. I would spend a max of a month on it, if that, taking the time to learn all of the basic clauses and functions (PS: that SQL book also contains info on how to connect Python to a SQL-using DB). Python, again, on the other hand, could take as long as you'd like. Learning the basics of Python and its different than usual data structures should also take about a month, maybe a bit longer than SQL, learning the libraries is what will get you. Depending on the scale of the project and what libraries you are using, it an take up to two weeks to gain fluency in a library, this is usually due to the lack of documentation many libraries have. You will want to learn about pip (Python's library installer program), but I think the aforementioned book covers all that.
In the end, though, have fun! Programming is amazing, you can do so much with it, and a big part of it is the learning journey, and don't forget that you will always continue to learn when it comes to programming. You are following a similar learning path that I did so I hope it all works out for you and remember, have fun while learning it all! Come up with projects you want to work on and then hone in your skills to work on those projects. Over this summer I am configuring a server, something I know a lot about in the SQL sense, but not a lot about in the actual hands-on sense. I am going to struggle a lot but in the end I will have something that works (hopefully), and I will have had fun along the way. Some days things just won't work out for you, and I find it immensely helpful to take even just a 5 min break sometimes. Afterwards, when I come back, I will fix the problem with ease, wondering how I didn't catch it before.
I feel like at this point I am just bantering on, so all in all, have fun with it, find a resource that appeals to you. Whether it be books, online docs, YouTube, Codecademy, etc... And again, have fun with it! :)