add missing clause for composition use:
ex:
(def s (select :foo (where {:bar 1})))
(->q s (table :some-other-table))