Unknown column 'thingstodo' in 'where clause'