4.3 Create SQL queries

Click on this link: 3.3. Create SQL queries

It is completely the same procedure for Rockwell Automation and Siemens PLCs.