Read sql statement from file