Source: https://indico.cern.ch/event/245105/contributions/1564415/attachments/419744/582859/SQL1_Examples.pdf