向数据库SC 中的数据表course (cid,cname,credit)导入数据,数据文件的内容形式如下:
“20121107”,“操作系统”,3
“20121110”,“数据库”,5
根据数据文件内容的形式,下面mysqlimport 语句正确的是()。
A.mysqlimport-uroot-p123456SC course.txt-fields-terminated-by=’,’-enclosed-by=’"’-lines-terminated-by=’\n’
B.mysqlimport-uroot-p123456SC course.txt-fields-terminated-by=,-fields-optionally-enclosed-by="\"-lines-terminated-by=\n
C.mysqlimport -uroot -p123456SC course.txt -fields -terminated -by=,-optionally -enclosed-by="\"-lines-terminated-by=\n
D.mysqlimport -uroot -p123456SC course.txt -fields -terminated -by=’,’-fields -optionally-enclosed-by=’"’-lines-terminated-by=’\n’