Woops, select was screwing up syntax