I want to practice SQL commands on Ubuntu. I would just like to play with different commands and keywords. Where can I find something that helps?
I don't want to install any server. I need a small app; something less than 20MB.
I want to practice SQL commands on Ubuntu. I would just like to play with different commands and keywords. Where can I find something that helps?
I don't want to install any server. I need a small app; something less than 20MB.
If you want to play around with a lightweight SQL RDBMS, SQLite (Ubuntu package) is the standard choice. You have multiple options to use SQLite:
Command-line
You can use the SQLite program directly from the command line by running
Type commands and press Enter (remember the trailing semicolon).
GUI
Alternatively, you can install sqliteman, which provides a nice GUI browser for SQLite databases; you can also enter SQL code and execute it (displaying the results in the GUI):
Install via terminal:
Or:
Caveat
Be aware that SQLite takes some unusual design decisions for an RDBMS:
CHECK
constraints.Give a try sqlline which is shell for issuing SQL to relational databases via JDBC.
There is a project demos page with short demo videos