DB managment system has been changed to PostgreSQL
PgSQL ignoring case of column's alias.
extract(epoch ....) - 	conversion from date to unix timestamp