To export database data into excel, you need to form a script to import it into the database. If you use excel to generate it without using third-party tools, you need to use formulas to splicing strings, and excel splicing strings using &, if it is a character constant, you need to use double enclosed in quotation marks, e.g. ","
例子 =A1&B1&","&C1&")"