TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: SpreadsheetDB – A database that you can query with spreadsheets

144 pointsby Clexabout 8 years ago

13 comments

codezeroabout 8 years ago
It&#x27;s a little known fact (is it?) that you can use a SQL like query language on Google Sheets.<p>You can query across different tabs on a single sheet, or query a totally different sheet!<p><a href="https:&#x2F;&#x2F;developers.google.com&#x2F;chart&#x2F;interactive&#x2F;docs&#x2F;querylanguage" rel="nofollow">https:&#x2F;&#x2F;developers.google.com&#x2F;chart&#x2F;interactive&#x2F;docs&#x2F;queryla...</a><p><a href="https:&#x2F;&#x2F;support.google.com&#x2F;docs&#x2F;answer&#x2F;3093343?hl=en" rel="nofollow">https:&#x2F;&#x2F;support.google.com&#x2F;docs&#x2F;answer&#x2F;3093343?hl=en</a>
评论 #13978885 未加载
评论 #13981525 未加载
评论 #13979843 未加载
评论 #13979964 未加载
评论 #13981110 未加载
评论 #13978810 未加载
评论 #13982964 未加载
falsedanabout 8 years ago
Other posters have mentioned Microsoft&#x27;s Excel 20-year-old ODBC support [0]: you can connect any database as a source of data, then create pivot tables for live ad-hoc transforms and summarizations of a database. This is a separate feature to connecting to an Excel spreadsheet using ODBC.<p>I showed this to my manager and he immediately demanded I explain to the rest of the team how this black magic worked…<p>[0]: <a href="https:&#x2F;&#x2F;support.office.com&#x2F;en-gb&#x2F;article&#x2F;Overview-of-connecting-to-importing-data-c0ad7aec-ff1a-4e48-9c21-dc18a102433f" rel="nofollow">https:&#x2F;&#x2F;support.office.com&#x2F;en-gb&#x2F;article&#x2F;Overview-of-connect...</a>
评论 #13982082 未加载
评论 #13982992 未加载
fiatjafabout 8 years ago
The idea is very nice, but I don&#x27;t like the fact that it is just an API for calculations. That kind of defeats the purpose of a spreadsheet format.<p>At first I thought it was an actual spreadsheet application, or an Excel plugin or whatever.<p>I tried multiple times to create a spreadsheet app that would speak to JSON APIs easily from within cells. The problem is that writing a spreadsheet app from scratch is not easy (one of my tries: <a href="http:&#x2F;&#x2F;sheets.alhur.es&#x2F;" rel="nofollow">http:&#x2F;&#x2F;sheets.alhur.es&#x2F;</a>), but when that is done it is not hard to integrate it directly with PouchDB, CouchDB -- or any other database or application, actually, with a custom integration.
评论 #13980084 未加载
ukd1about 8 years ago
Cool idea, but that logo just reads as &quot;preadsheet&quot;, which, is not exactly positive.
评论 #13979796 未加载
franciscopabout 8 years ago
I created something simpler but based on Google Docs and just retrofitted promises into it: <a href="https:&#x2F;&#x2F;github.com&#x2F;franciscop&#x2F;drive-db" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;franciscop&#x2F;drive-db</a>
Mister_Snugglesabout 8 years ago
I&#x27;d love to see this concept taken a step further and be able to write back changes (within reason, of course) to a SQL database.<p>The piece I&#x27;d most love to see is some form of editable Pivot Table, where the changes get written back to the appropriate place in the database. For example:<p><pre><code> CREATE TABLE Balances(Account varchar, Scenario varchar, Amount numeric, primary key(Account,Scenario)); -- Pretend that this is pre-populated with all Account and Scenario combinations </code></pre> Using this schema, I would want to get a Pivot Table out of this where Account makes up the row labels, Scenario forms the column labels, and the Amount values are the data. Where the magic happens is that I want to be able to make changes to the amounts and have it write those back into the database with the appropriate UPDATE statements.
评论 #13981186 未加载
eobabout 8 years ago
Cool idea. We&#x27;ve built a spreadsheet-powered web platform (Cloudstitch - YC S15) that lets you publish web forms and widgets that rely on spreadsheets as a backend.<p>Several folks use us just for the spreadsheet API -- as this service seems oriented. We provide a simple, common API that can talk to both GSheets and MS Excel 365, support various forms of row-level access control, and Ruby on Rails-like join syntax. Would love to hear feedback.
garyclarke27about 8 years ago
I was an Excel expert before becoming a sql expert. Following this I changed the way I created large excel models, now 90% of my data is in Excel tables. The main benefit of these is they are much easier to use and manage than range names and the ranges automatically change their size to contain the data. Wish ms would add unique row ids (as we&#x27;ll as the unique column ids they have) is a bit cumbersome having to setup index match everywhere to link rows in different tables. It&#x27;s amazing what you can do with sumifs and countifs these are far more powerful then the sumif - very similar to sql where clause, with multiple criteria such as &lt;= , works with text and numbers. I used to use tons of pivot tables but no longer, they are too unstable and confusing and very hard to format nicely.
评论 #13985691 未加载
sandGorgonabout 8 years ago
pretty cool - I have been a fan of tools like Airtable.com (IMHO the best cloud spreadsheet I have seen). In my own startup, I have hacked together a version of a cloud spreadsheet using Handsontable + reactjs + flask api.<p>Can you talk about the stack you are using ? really interested to hear about it.
评论 #13979545 未加载
SEJeffabout 8 years ago
Aka Access?
评论 #13978989 未加载
评论 #13979061 未加载
nodesocketabout 8 years ago
Somewhat related. I&#x27;ve been using AirTable (<a href="https:&#x2F;&#x2F;airtable.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;airtable.com&#x2F;</a>) to manage my consulting startups clients and even track hours. Absolutely loving it.<p>You define tables and scheme in their beautiful excel like web interface. AirTable then automagically generates a RESTful API you can build on-top of. They even have a great Node.js ORM[1] library. Finally, you can export public embeddable forms for inserting data into tables.<p>I&#x27;d love to see somebody create a React based front-end that pulls data and schema from AirTable and automatically creates a CRUD interface like Rails does. All inclusive authentication (Twitter, Facebook, GitHub) and user level permissions.<p>[1] - <a href="https:&#x2F;&#x2F;github.com&#x2F;airtable&#x2F;airtable.js" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;airtable&#x2F;airtable.js</a>
sirriceabout 8 years ago
There&#x27;s some related research out of UIUC that&#x27;s pretty neat. <a href="http:&#x2F;&#x2F;dataspread.github.io&#x2F;" rel="nofollow">http:&#x2F;&#x2F;dataspread.github.io&#x2F;</a>
brilliantcodeabout 8 years ago
Not sure what pain problems this solves. You can already programmatically access and manipulate Google Sheets.<p>And no, you are not going to run in to their upper bound limitations on rows and columns often.