Basic sql engine which supports simple queries of the type:
SELECT <attributes> FROM <tables> WHERE <condition>;
- Run all the commands in one terminal tab
- Install python3 and python3-venv
sudo apt install python3 python3-venv
- Create a virtual environment, activate the environment and install dependencies
python3 -m venv env
source env/bin/activate
pip install --upgrade pip && pip install -r requirements.txt
- To run query, use the following command
python3 20171171.py "<query_string>"
- After finishing running queries, deactivate environment
deactivate
rm -r env/