• @[email protected]
    link
    fedilink
    English
    11
    edit-2
    6 hours ago

    In the context of this tweet most important differences are:

    SQL is a language for querying databases.

    Most common used databases are relational databases. With relational databases you can setup, well, relations and constraints.

    Imagine you have 2 tables (2 excel sheets) one with people, and one with home ownership. You can set the following constraint: (1) each person shows up only once in the people table. And the following relation: (2) every home owner must refer to an existing person in people table.

    When modifying the table contents, the system checks if no constraints or relations are violated.

    Excel, just like a badly designed relational databse, would, for example, have no problem with duplicate people, or home ownership referring to non-existant people.

    • Steve Dice
      link
      fedilink
      English
      16 hours ago

      I spent more than I’d like to admit wondering “what the fuck is a wel relation?!”

    • @answersplease77
      link
      16 hours ago

      I get what you say but excel even the 98 version can do duplicate/missing data constraints.

      • @Adalast
        link
        123 minutes ago

        The big difference between the a relational database and a spreadsheet is that “can do” clause in your sentence. In a relational database they MUST have those constraints to be related.

        In the Microsoft ecosystem Access is the relational database. Excel is a table manager with fancy features.