Loading different sql tables