Using spreadsheet as the database table

Hello. While reading about working with databases I can’t find one usefull for me information. How can I use a Calc spreadsheet as a db table and use SQL queries above it? I would use such ability in Excel

The most useful thing to do is to do your own research. :slight_smile:
Menu / File / New / Database.
Connect to an existing database: Spreadsheet.

1 Like
1 Like

If you will use SQL queries, then you need an odb-file, generated from the spreadsheet. See the “Base Guide” how to create one. Don’t mind that the guide is for LO 7.3. There had been no large changes to the Base module. English documentation II | LibreOffice Documentation - LibreOffice User Guides


Are you sure you need SQL? Otherwise the database ranges in Calc might be sufficient. LibreOffice has in the meantime not only the Sort and Filter features from the Data menu, but a lot of new functions for queries and sorting.

1 Like

I prefer SQL), it is universal and familiar, there are lot of languages and formats but SQL is one). Thanks a lot