In Reply to @ @webRat @mweagle I like the idea, i am skeptical about it handling some rather hairy queries i have with CTEs, JOINs and a few other common SQL bells and whistles but sounds promissing, for the moment ill stay with the query gen side https://github.com/ShiftLeftSecurity/gaum cause i can coerce the author :p