I am not familiar with Datalog but if it is anything like Prolog then it should be extremely easy compared to SQL. Right now if I want to make any query that is more complex than Select x from table in SQL I will have to make multiple google searches and look at multiple resources that explain the unintuitive SQL syntax. Meanwhile if I want to do something more complex in prolog it will be trivial. For example if I want to do an inner join in prolog I can just do something like: table1(X, FirstName, LastName), table2(OrderId, X, OrderDate, OrderCost).