4 ms·
That question haunts all of us... For instance... Lets say you need to query a db to get 4 known sets of things aggregated by other things... That should scream
by other_herbert 10y ago
That question haunts all of us... For instance... Lets say you need to query a db to get 4 known sets of things aggregated by other things... That should scream at you "in clause with the known params and group by" or.... if you take an approach I saw recently you spawn 4 worker threads each querying the same tables but with one of those 4 params then combining the records.... I'm afraid this board may constitute the remaining sane individuals...
Edit those known params were all used as a param for the same column