# Wiki Discussion: Prolog in the mind set of SQL

**URL:** <https://swi-prolog.discourse.group/t/wiki-discussion-prolog-in-the-mind-set-of-sql/2661>\
**Category:** Wiki Discussion\
**Created:** [July 20, 2020, 10:39am UTC](https://swi-prolog.discourse.group/t/wiki-discussion-prolog-in-the-mind-set-of-sql/2661 "2020-07-20T10:39:03Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![EricGT](https://avatars.discourse-cdn.com/v4/letter/e/f1d935/32.png) [@EricGT](https://swi-prolog.discourse.group/u/EricGT)\
**Post date:** [July 20, 2020, 3:02pm UTC](https://swi-prolog.discourse.group/t/wiki-discussion-prolog-in-the-mind-set-of-sql/2661/3 "2020-07-20T15:02:08Z")

</div>

Clearly by looking at the items above missing test cases, IMHO many test cases need to be created so that others have examples of how to use the predicates. I know in initially learning Prolog not having examples was what kept me from using those predicates.

When I note that the test cases should be created, that means we the SWI-Prolog community should contribute to SWI-Prolog by writing the test cases and not expect this of others.

~~Also in creating the above list it needs to be further segregated out into different data structures such as list, rbtrees, association lists, facts, dicts, nb\_set, ordsets, tables, etc. as many predicates for one data structure do not operate on other data structures. However many of the libraries tied to a data structure come with predicates can translate to/from Prolog list so all is not lost.~~

---

_[View the full topic](https://swi-prolog.discourse.group/t/wiki-discussion-prolog-in-the-mind-set-of-sql/2661)._
