Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Does anyone know of any software to let you test relational algebra queries? By this I don't mean a database such as MySQL, something where the query can be input in some for of mathematical notation instead of SQL.

share|cite|improve this question
I'm not sure how your supposed to "test" queries without an underlying data set to compare expected results to - in which case an RDBMS would be exactly what you need. Are you looking for a syntax checker? – ItsNotObvious Sep 14 '11 at 19:46

If you have any experience with programming languages such as Haskell or any of the ML-variants you could just use lists and map/filter/fold. Testing queries could then be achieved by using a testing framework such as QuickCheck (assuming you by "test" mean something like checking the result of a "query" satisfy some properties).

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.