If you code a website, fast api and django, the two most popular framework to do so, heavily rely on them to make you productive.
Most databases I’ve dealt with will happily outstrip Python for a good chunk of the common queries.
And write SQL directly for medium complexity queries.