Joined populate sql file