sql - MySQL select points which are contained in a polygon from a different table -


I have two tables

The table has a list of names and places (digits) Table B I have a list of name and shape (polygon)

I want to type a query to find all the points from one

  select the name from the tblshops where st_contains (Choose size from tbltowns where name = "London", location)  

but I'm getting a syntax error. What am I doing wrong? Thank you

'), Location)

Comments

Popular posts from this blog

import - Python ImportError: No module named wmi -

Editing Python Class in Shell and SQLAlchemy -

c# - MySQL Parameterized Select Query joining tables issue -