added one of preparations for efficient calculation of inner join.

Next we will implement SQLTableInnerJoin::prepareJoin(), which
makes indexes for the column taht is used in the condition of
inner join, if needed.