v.23.4Improvement
Allow Trailing Commas in SELECT Query Expression Lists
Allow trailing commas in expression list of SELECT query, for example SELECT a, b, c, FROM table. Closes #37802. #48438 (Nikolay Degterinsky).Why it matters
This feature improves query writing convenience and readability by permitting trailing commas inSELECT statements. It eliminates syntax errors caused by an extra comma at the end of expression lists, making it easier to modify and maintain SQL queries.How to use it
Users can simply add trailing commas to the list of expressions in theirSELECT queries without causing syntax errors, for example:sql<br><code>SELECT</code> a, b, c, <code>FROM</code> table<br>