I\'ve started learning Prolog and wondering about the theoretical difference from the SQL language.
For example:
I think the main difference is that Prolog is a query language used for matching complicated patterns against a database of simple facts. SQL on the other hand is limited to relational databases.