Fix for SQL

Data for
users
event_stats
user_stats