如何将YQL用于嵌套类

时间:2018-06-20 14:21:13

标签: sql yql

我正在尝试使用YQL进行天气查询并获取特定日期的天气预报

例如 我的代码是 从weather.forecast中选择item.forecast.high,item.forecast.low,item.forecast.date(其中,(从(从geo.places(1)中选择woeid,在其中为text =“ delhi”)中选择woeid)))

我从中得到的结果是: https://query.yahooapis.com/v1/public/yql?q=select%20item.forecast.high%2C%20item.forecast.low%2Citem.forecast.date%20from%20weather.forecast%20where%20(woeid%20in%20(select%20woeid%20from%20geo.places(1)%20where%20text%3D%22delhi%22)%20)&format=json&env=store%3A%2F%2Fdatatables.org%2Falltableswithkeys

我想要的是特定日期的高低,而不是所有日期的高低。我该怎么做?

0 个答案:

没有答案