Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Use SQLite for public databases instead of CSV (postlight.com)
4 points by sprague on Nov 20, 2017 | hide | past | favorite | 1 comment


Datasette is a great idea. Just wish the SQL parser was more strict. The following produce results which aren't exactly expected:

  select breed, count(*) from [Adelaide-City-Council-dog-registrations-2013]
  order by count(*) desc

  select breed, count(*) from [Adelaide-City-Council-dog-registrations-2013]
  group by breed, order by count(*) desc
The well formed, unsurprising query is:

  select breed, count(*) from [Adelaide-City-Council-dog-registrations-2013]
  group by breed order by count(*) desc




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: