Building Effective Thinking Framework During the practicing process, I recorded my mistakes and studied how to make my solution more effective. I summarized them all and built up a thinking framework (or flow chart of SQL queries) which include the following essential decision points.