SQL syntax error fixed.
Syntax errors fixed.

Makefile added for building the database.
Build all system parts from the root directory.