1. A computer-implemented method for improved processing of an SQL query made against a relational database, comprising: parsing the SQL query to obtain each operator and associated one or more operands and sequence of execution of the operators; determining whether all needed closure-friendly operators exist; if not, obtaining any available closure-friendly operators from a pattern repository; dynamically generating remaining or all non-available closure-friendly operators; grouping the available closure-friendly operators and the dynamically generated closure-friendly operators into one or more patterns; classifying impact of each pattern on a queried relational database and a database schema; and executing the SQL query using the one or more patterns based on sequence of the execution of the operators.