The trial database and online data queries