Fixed incorrect specs for where_cond(), sqlquery() and create_query/3-4

Select must be a list. There is a join(<<",">>, Select) further down, which requires it to be a list.