mysql how to delete a column code example
Example 1: how remove column in mysql
ALTER TABLE "table_name" DROP "column_name";
Example 2: alasql delete column
var data = [{a:1,b:10},{a:2,b:20}];
var res = alasql('SELECT * REMOVE COLUMN b FROM ?',[data]);
// returns [{a:!},{a:2}]