Querying the database

The four major types of queries that we perform in this database involve each of the attributes that we created indexes on, namely, Time, SourceUser, SourceMachine and TargetMachine. Also, we perform queries that combine multiple of them. 
1- Get all events that occurred in a specific time frame as follows: