Query tab in database module is working