drop the sql clause for older studios
echo the calculated input options