**Initialization:**

Considering a workload composed of seven queries *Q*1, *Q*2, *Q*3, *Q*4, *Q*5, *Q*<sup>6</sup> f g , *Q*<sup>7</sup> and five attributes f g *a*1, *a*2, *a*3, *a*4, *a*<sup>5</sup> . To proceed, store all the attributes in a list (**Figure 15**). Next, a table composed of all possible MVs gets formed (**Figure 16**).
