If you're burying Query/400 into CL programs you can run into issues like
the original query was against production data. Now you've copied the
library to test. However the Query will hardcode the library. Converting
it to a QMQRY will allow you to fix that.
Or, maybe you like the results of a query and want to know how to do that
in SQL so you can imbed that into rpg or something.