implement csv_to_sql