Despite all its strengths, SQL can be awkward to integrate with host languages such as JavaScript and Python. There’s often an impedance mismatch between SQL’s declarative nature and the host language’s object-oriented or functional paradigms – SQL queries are typically written as strings within the host language, making it difficult to apply composable programming techniques…
I think this page explains it well: https://en.wikipedia.org/wiki/Object–relational_impedance_mismatch
That’s a great write-up. Thank you.