Get Example source ABAP code based on a different SAP table
VERSION 5 IN
query optimizer The query optimizer generates the most efficient query execution plan for a given query and passes it to the executor. In SQL>, there are basically two optimization tasks:
Rule-based optimization (declarative): Rewriting of the entire tree by, for example, removing joins. More efficient queries are produced at best .
Cost-based optimization (procedural): Discovering the space of access plans of the queries produced during the rule-based optimization and comparing the access plans by cost and size. The cheapest query is used for further processing.