我想查询我的谷歌融合以显示范围内的某些数据,这些数据将从范围滑块提供。我做了所有需要代码的事情,但我是查询新手,我不知道正确的格式。基本上它应该是这样的:
"select geo(kml code column) from <tableid> where Population(my column) from <range1 to range2> "
range1 和 range2 应由滑块值提供。
我想查询我的谷歌融合以显示范围内的某些数据,这些数据将从范围滑块提供。我做了所有需要代码的事情,但我是查询新手,我不知道正确的格式。基本上它应该是这样的:
"select geo(kml code column) from <tableid> where Population(my column) from <range1 to range2> "
range1 和 range2 应由滑块值提供。
"select geo(kml code column) from <tableid> where Population <= range2 and Population >= range1 "
选择
To query for data, use the following syntax in an HTTP GET request:
SELECT <column_spec> {, <column_spec>}* FROM <table_id>
{ WHERE <filter_condition> | <spatial_condition> { AND <filter_condition> }* }
{ GROUP BY <column_name> {, <column_name>}* }
{ ORDER BY <column_spec> { ASC | DESC } | <spatial_relationship> }
{ OFFSET <number> }
{ LIMIT <number> }
Note: Fusion Tables returns data in UTF-8 format.