add repair tables sql queries as separate file