3 ms·
You can do "deductive" reasoning in SQL too, via views and possibly-recursive CTE's.
by zozbot234 4y ago
You can do "deductive" reasoning in SQL too, via views and possibly-recursive CTE's.
- jitl 4y agoSure; you can do most Datalog things in SQL and most SQL things in Datalog. But I find it much clearer to express deductive reasoning in Datalog. I built a toy Datalog-to-CTE compiler at https://perceval.jake.tl https://perceval.jake.tl if you want to play with some examples of the equivalence.