transfer: read from sql (LAST VERSION ONLY)