When exporting from MySQL database (through phpMyAdmin) how can one create a spreadsheet that recognises the SQL delineation to correctly maintain the database columns?
For instance, when exporting to CSV format for excel, all columns from the database are squashed into a single column in the excel sheet
A1 = id;”fname”;”sname”;”email”;”phone”;”dob”; …
Export your data as CSV. Make sure “Fields terminated by” is set to “,” (comma). Yours look like they may be set to “;” (semicolon). As a result, Excel does not recognize your field separators and thinks an entire row is all one field.
Also, you may want to “Put field names in the first row” to retain your column headers.