initial commit: tim_test_inv_pull.sql