How to do it...

There are two methods that can be used for writing queries, which are explained as follows.