Mem tables sql added