This commit is contained in:
Imbus 2024-01-24 17:40:07 +01:00
commit b78faac32a
4 changed files with 1407 additions and 0 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
lab.db

1392
init.sql Normal file

File diff suppressed because it is too large Load diff

1
lab1.sql Normal file
View file

@ -0,0 +1 @@
SELECT * FROM Courses;

13
makefile Normal file
View file

@ -0,0 +1,13 @@
DB_NAME := lab.db
SQL_FILES := init.sql lab1.sql
.PHONY: all clean
all: $(SQL_FILES:.sql=.db)
%.db: %.sql
sqlite3 $(DB_NAME) < $<
clean:
rm -f $(DB_NAME)