TetaTricks/code/sqlite/create-and-fill.sh

13 lines
164 B
Bash
Raw Normal View History

2022-12-17 06:41:32 +11:00
#!/bin/bash
DBFILE='example.sqlite'
rm -v $DBFILE
sqlite3 $DBFILE < create-table.sql
echo 'table created'
sqlite3 $DBFILE < insert-birds.sql
echo 'bird added'