]> git.ardis.lu - sheets-db/commitdiff
Use consistent casing for output column names
authorArdis Lu <ardisglu@gmail.com>
Wed, 14 Feb 2024 05:26:39 +0000 (21:26 -0800)
committerArdis Lu <ardisglu@gmail.com>
Wed, 14 Feb 2024 05:26:39 +0000 (21:26 -0800)
Otherwise the resulting markdown in <table> has inconsistent casing, which can be semantically confusing

demo/index.html

index 76970782b4d389a66f267a792b11eb3a92820305..be2a64766c0838eb25901f1c8301a147ec084807 100644 (file)
 SELECT
   users.first_name
   , users.last_name
-  , STRFTIME('%Y-%m-%d', users.birthday) AS BIRTHDAY
+  , STRFTIME('%Y-%m-%d', users.birthday) AS birthday
   , transactions.category
-  , SUM(transactions.price) AS TOTAL
+  , SUM(transactions.price) AS total
 FROM
   users
   INNER JOIN transactions ON users.user_id = transactions.user_id
This page took 0.050733 seconds and 4 git commands to generate.