$ 0 0 If you want to see how to write a complex query on an SQL database, this example will show you.