I’m getting a
domain error in my query. Why is this happening?
It means a function was called with an argument outside of the function’s domain. For example sqrt(-1) would return a domain error since there is no real number result for a negative sqrt().