Remix.run Logo
dave333 4 days ago

Maybe I don't know enough about spreadsheets but two dimensions isn't enough for most applications. Maybe pivot tables? They are too hard to figure out. Need something like "SQLSheet" that takes a more complex data structure and presents viewing and editing it in a natural way with drill down and joins etc. AI should be able to help you design the DB and then create a tool to interact with it.

withinboredom 4 days ago | parent | next [-]

The people using these sheets have no idea what you’re talking about. They use multiple sheets to layer the dimensions and understand pivot tables perfectly.

Tabular-Iceberg 4 days ago | parent [-]

Are people who understand relational databases and people who understand pivot tables disjoint sets?

I can look at someone’s finished pivot table and reproduce it from the data through other means, but any explanation of what a pivot table actually is and does reads like pure gibberish to me.

withinboredom 4 days ago | parent | next [-]

Probably. A pivot table is basically a way to turn on one of the dimensions of the sheet to make sense of the data. Like "show me all invoices, grouped by date and sum each group". It is effectively a query, in a way that makes sense for people working in spreadsheets.

marcosdumay 3 days ago | parent | prev | next [-]

The pivot tables don't require people to understand data normalization and software maintenance good practices. Outside of that, yeah, not really relational databases because those focus on having more than one table, but they do understand relations.

incone123 3 days ago | parent | prev | next [-]

It is certainly much easier to shown than to tell about pivot tables. I tried to think of a good form of words to explain them but couldn't.

lmwnshn 3 days ago | parent | prev [-]

Check out the full version of Towards Scalable Dataframe Systems from VLDB 2020 [0]. They propose an algebra for dataframes and section 4.4's example succinctly describes the pivot operator.

[0] https://arxiv.org/abs/2001.00888

riffraff 4 days ago | parent | prev [-]

Microsoft Access?

incone123 3 days ago | parent [-]

If someone is going to invest the time in learning how to design a database and how to build a UI then they might as well do so on something more modern.