Skip to content

Instantly share code, notes, and snippets.

@hnykda
Created May 3, 2023 12:55
Show Gist options
  • Save hnykda/af13672d27fe75eee10c19055a51003c to your computer and use it in GitHub Desktop.
Save hnykda/af13672d27fe75eee10c19055a51003c to your computer and use it in GitHub Desktop.
# How to run it
```
sqlite3 Test.db ".read scripts/init.sql" # creates the dabatase structure
sqlite3 Test.db ".read scripts/seed.sql" # populates with dummy data
sqlite3 Test.db ".read scripts/query1.sql"
sqlite3 Test.db ".read scripts/query2.sql"
```
To run the rules program:
```
python main.py Test.db rules.txt
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment