Convert CSV to SQL