我有一个看起来像这样的csv
DETAIL,CARDMT,67145,20160102,0571008,30900,ID22,1,C,44.70,A,44.70,A,20160101,20170124
DETAIL,CARDMT,67145,20160102,0571031,18309,FGIPA46C,1,C,29.50,A,29.50,A,20160101,20170124
我只需要2,4,5,6,7,8列
我试过
,dist_abbv,,date, invoice, account_vip_id, brand, quantity,,,,,,,,
所以它跳过我不需要的空格和空格,我需要的位置进入我的表中的右栏但是我收到错误:
Invalid column () specified! Ensure that columns names are spelled correctly, separated by commas, and not enclosed in quotes.
我该怎么做?