you can write imperative code in python, but you can also write declarative stuff most languages are like that, kinda, some just have more support for one of those
yes, SQL is declarative, so is Powershell, so is HTML.