How do I do it if I have multiple IFs like:
(sql-compile `(:insert-into 'kupci :set ,@((if TEST (list 'ime "a") (if TEST2 (list 'prezime "b")))))
The first step would be understanding how quasiquoting works. This is not a Postmodern question, but a basic Common Lisp one. There are other channels for that.