Newcomers fail at "database programming" because they try to do the backend and the front end at the same time. If you want learn SQL focus on the backend and leave the front end for awhile. Getting the database design in a usable state is the hardest part. This is crucial. learning the theory can be a bit daunting if you don't have help.
However it's a good skill to have. Knowing SQL in addition to whatever language(C#, C++, Java etc), can seriously bump up your potential earnings
However it's a good skill to have. Knowing SQL in addition to whatever language(C#, C++, Java etc), can seriously bump up your potential earnings