This program includes its own query language, which is described here: tdb Users' Guide. tdb uses a completely different paradigm, so knowledge of SQL won't help! Warning, this Users' Guide was generated by n/groff (recently unearthed by archaeologists). It's 80 characters wide, so viewing it on a small screen may prove "challenging".