Add an SQL Layer


On the Map page, click the Add SQL Layer as shown below:


Give you Layer a name and select your Data Source from the drop-down menu as show below:


Slide the SQL Mode selector to "On" as shown below:



Enter the desired SQL into the Query Pane as shown below. Important: place brackets around your GEOM column


Click the Add SQL Layer button as shown below:



Next: Drop and Drag SQL Maps