Ошибка DB:

Unknown column 'url' in 'where clause'

SELECT id FROM events WHERE url='2' LIMIT 1