Check out example codes for "alasql delete column". It will help you in understanding the concepts better.

Code Example 1

var data = [{a:1,b:10},{a:2,b:20}];
    var res = alasql('SELECT * REMOVE COLUMN b FROM ?',[data]);
    // returns [{a:!},{a:2}]

Learn ReactJs, React Native from akashmittal.com