top running sql dynamic performance queryt