Re:SQL: One of the most valuable skills
by dwd on Wednesday February 13, 2019 @12:26AM
(#19150679)
If raw speed is not an issue you can always fall back on temp tables or a cursor for those cases where you might have extracted an initial dataset to then iterate over.
EDIT: A CTE (Common Table Expression) might be what you're thinking you need. You can do some fun recursive queries with them.
EDIT: A CTE (Common Table Expression) might be what you're thinking you need. You can do some fun recursive queries with them.