AlaSQL / alasql

AlaSQL.js - JavaScript SQL database for browser and Node.js. Handles both traditional relational tables and nested JSON data (NoSQL). Export, store, and import data from localStorage, IndexedDB, or Excel.
http://alasql.org
MIT License
7.01k stars 650 forks source link

Fix Issue #1797 #1808

Closed adarshjhaa100 closed 11 months ago

adarshjhaa100 commented 11 months ago

Proposed Change

Fixed issue #1797 where adding alias alongside select(*) was producing duplicate columns. Added the testcase to the file test1797.js that passed without any issues.

Testing data and query image Before: output: This has duplicate COUNT(a) along with d image

After: output, clearly duplicate col has been removed. image

After: data and query

mathiasrw commented 11 months ago

Released as part of v4.1.10