|
@@ -1,107 +1,7 @@
|
|
|
[
|
|
|
{
|
|
|
"query_type": "land_supply",
|
|
|
- "query": "杭州市2024年至今,住宅、工业、商服用地出让的宗数和面积是多少?",
|
|
|
- "sql_code": "select land_use_type as 土地用途, count(1) as 出让宗数, round(sum(land_area_unit_sm * 0.0015), 2) as 出让总面积 from nrllm.land_supply_combination where city = '杭州市' and to_char(transaction_sold_time, 'yyyy') >= '2024' and transaction_sold_time <= current_date and land_use_type in ('住宅用地', '工业用地', '商服用地') group by land_use_type"
|
|
|
- },
|
|
|
- {
|
|
|
- "query_type": "land_supply",
|
|
|
- "query": "杭州市今年各行政区土地出让的数量分布如何?",
|
|
|
- "sql_code": "select county as 行政区, count(1) as 出让数量 from nrllm.land_supply_combination where city = '杭州市' and to_char(transaction_sold_time, 'yyyy') = to_char(current_date, 'yyyy') group by county order by 出让数量 desc nulls last"
|
|
|
- },
|
|
|
- {
|
|
|
- "query_type": "land_supply",
|
|
|
- "query": "杭州市今年主城区、市区、市域土地出让数量分布如何?",
|
|
|
- "sql_code": "select sum(case when county in ('上城区', '拱墅区', '西湖区', '滨江区') then 1 else 0 end) as 主城区出让宗数,sum(case when county not in ('建德市', '淳安县', '桐庐县') then 1 else 0 end) as 市区区出让宗数, count(1) as 市域出让宗数 from nrllm.land_supply_combination where city = '杭州市' and to_char(transaction_sold_time, 'yyyy') = to_char(current_date, 'yyyy')"
|
|
|
- },
|
|
|
- {
|
|
|
- "query_type": "land_supply",
|
|
|
- "query": "杭州市2024年至今,工业用地出让分区县的情况如何,各区出让宗数和面积是多少?",
|
|
|
- "sql_code": "select county as 区县, count(1) as 工业用地出让数量 from nrllm.land_supply_combination where city = '杭州市' and to_char(transaction_sold_time, 'yyyy') >= '2024' group by county order by 工业用地出让数量 desc nulls last"
|
|
|
- },
|
|
|
- {
|
|
|
- "query_type": "land_supply",
|
|
|
- "query": "今年公开出让的建设用地中,涉及物流仓储的有多少宗,多少面积?",
|
|
|
- "sql_code": "select count(1) as 土地宗数, round(sum(land_area_unit_sm * 0.0015), 2) as 出让总面积 from nrllm.land_supply_combination where to_char(transaction_sold_time, 'yyyy') = to_char(current_date, 'yyyy') and land_use_secondary_type similar to '%(物流|仓储)%'"
|
|
|
- },
|
|
|
- {
|
|
|
- "query_type": "land_supply",
|
|
|
- "query": "杭州市今年公开出让的建设用地中,涉及物流仓储的有多少宗,多少面积?",
|
|
|
- "sql_code": "select count(1) as 土地宗数, round(sum(land_area_unit_sm * 0.0015), 2) as 出让总面积 from nrllm.land_supply_combination where city = '杭州市' and to_char(transaction_sold_time, 'yyyy') = to_char(current_date, 'yyyy') and land_use_secondary_type similar to '%(物流|仓储)%'"
|
|
|
- },
|
|
|
- {
|
|
|
- "query_type": "land_supply",
|
|
|
- "query": "今年出让的工业用地,其中省级以上开发区的面积是多少,集聚度是多少?",
|
|
|
- "sql_code": "select round(sum(case when development_zone_level = '省级以上' then land_area_unit_sm else 0 end * 0.0015), 2) as 省级以上开发区总面积, round(sum(case when development_zone_level = '省级以上' then land_area_unit_sm else 0 end * 0.0015) / sum(land_area_unit_sm * 0.0015) ::numeric * 100, 2) as 聚集度 from nrllm.land_supply_combination where to_char(transaction_sold_time, 'yyyy') = to_char(current_date, 'yyyy') and land_use_type = '工业用地'"
|
|
|
- },
|
|
|
- {
|
|
|
- "query_type": "land_supply",
|
|
|
- "query": "杭州市今年出让的工业用地,平均固投是多少,各区县平均固投是多少",
|
|
|
- "sql_code": "select '杭州市' as 行政区域, round(avg(investment_intensity_amount / (land_area_unit_sm * 0.0015)), 2) 平均固投 from nrllm.land_supply_combination where city = '杭州市' and to_char(transaction_sold_time, 'yyyy') = to_char(current_date, 'yyyy') and land_use_type = '工业用地' and investment_intensity_amount is not null union all select county as 行政区域, round(avg(investment_intensity_amount / (land_area_unit_sm * 0.0015)), 2) 平均固投 from nrllm.land_supply_combination where city = '杭州市' and to_char(transaction_sold_time, 'yyyy') = to_char(current_date, 'yyyy') and land_use_type = '工业用地' and investment_intensity_amount is not null group by county"
|
|
|
- },
|
|
|
- {
|
|
|
- "query": "近5年浙江省出让的工业用地有多少面积,其中杭州占比多少",
|
|
|
- "query_type": "land_supply",
|
|
|
- "sql_code": "SELECT round(sum(land_area_unit_sm * 0.0015), 2) AS 浙江省工业用地出让总面积, round(sum((case when city = '杭州市' then land_area_unit_sm else 0 end) )* 0.0015, 2) AS 杭州市工业用地出让总面积, round((sum((case when city = '杭州市' then land_area_unit_sm else 0 end))::numeric / sum(land_area_unit_sm)) * 100, 2) AS 杭州市占比 FROM nrllm.land_supply_combination WHERE to_char(transaction_sold_time, 'yyyy') > to_char(CURRENT_DATE - INTERVAL '5 year', 'YYYY') AND province = '浙江省' AND land_use_type = '工业用地'"
|
|
|
- },
|
|
|
- {
|
|
|
- "query": "近三年浙江省住宅用地出让面积有多少,其中杭州占比多少",
|
|
|
- "query_type": "land_supply",
|
|
|
- "sql_code": "SELECT round(sum(land_area_unit_sm * 0.0015), 2) AS 浙江省住宅用地出让总面积, round(sum((case when city = '杭州市' then land_area_unit_sm else 0 end) )* 0.0015, 2) AS 杭州市住宅用地出让总面积, round((sum((case when city = '杭州市' then land_area_unit_sm else 0 end))::numeric / sum(land_area_unit_sm)) * 100, 2) AS 杭州市占比 FROM nrllm.land_supply_combination WHERE to_char(transaction_sold_time, 'yyyy') > to_char(CURRENT_DATE - INTERVAL '3 year', 'YYYY') AND province = '浙江省' AND land_use_type = '住宅用地'"
|
|
|
- },
|
|
|
- {
|
|
|
- "query": "近三年,浙江省住宅用地出让金额有多少,其中杭州占比多少",
|
|
|
- "query_type": "land_supply",
|
|
|
- "sql_code": "SELECT round(sum(transaction_price), 2) AS 浙江省住宅用地出让金额, round(sum((case when city = '杭州市' then transaction_price else 0 end) ), 2) AS 杭州市住宅用地出让金额, round((sum((case when city = '杭州市' then transaction_price else 0 end))::numeric / sum(transaction_price)) * 100, 2) AS 杭州市占比 FROM nrllm.land_supply_combination WHERE to_char(transaction_sold_time, 'yyyy') > to_char(CURRENT_DATE - INTERVAL '3 year', 'YYYY') AND province = '浙江省' AND land_use_type = '住宅用地'"
|
|
|
- },
|
|
|
- {
|
|
|
- "query_type": "land_supply",
|
|
|
- "query": "近五年浙江省出让的经营性用地有多少出让金,其中杭州占比多少",
|
|
|
- "sql_code": "SELECT SUM(transaction_price) AS 浙江省经营性用地出让总金额, SUM((CASE WHEN city = '杭州市' THEN transaction_price ELSE 0 END)) AS 杭州市经营性用地出让总金额, round((SUM((CASE WHEN city = '杭州市' THEN transaction_price ELSE 0 END))::numeric / SUM(transaction_price)) * 100, 2) AS 杭州市占比 FROM nrllm.land_supply_combination WHERE to_char(transaction_sold_time, 'yyyy') > to_char(CURRENT_DATE - INTERVAL '5 year', 'YYYY') AND province = '浙江省' AND land_use_type IN ('工业用地', '商业用地')"
|
|
|
- },
|
|
|
- {
|
|
|
- "query_type": "land_supply",
|
|
|
- "query": "今年杭州住宅用地出让楼面价是多少,同比去年增长/减少了多少",
|
|
|
- "sql_code": "select to_char(current_date, 'yyyy') as 年份, round(avg(floor_price), 2) as 平均楼面价 from nrllm.land_supply_combination where city = '杭州市' and land_use_type = '住宅用地' and floor_price is not null and to_char(transaction_sold_time, 'yyyy') = to_char(current_date, 'yyyy') union all select to_char(current_date - interval '1 year', 'yyyy') as 年份, round(avg(floor_price), 2) as 平均楼面价 from nrllm.land_supply_combination where city = '杭州市' and land_use_type = '住宅用地' and floor_price is not null and to_char(transaction_sold_time, 'yyyy') = to_char(current_date - interval '1 year', 'yyyy')"
|
|
|
- },
|
|
|
- {
|
|
|
- "query_type": "land_supply",
|
|
|
- "query": "今年杭州出让的住宅用地中,哪个区土地单价最高,最高土地单价为多少",
|
|
|
- "sql_code": "select county as 区县名称, round(transaction_price / land_area_unit_sm::numeric, 2) as 土地单价 from nrllm.land_supply_combination where to_char(transaction_sold_time, 'yyyy') = to_char(current_date, 'yyyy') and city = '杭州市' order by 土地单价 desc nulls last limit 1"
|
|
|
- },
|
|
|
- {
|
|
|
- "query_type": "land_supply",
|
|
|
- "query": "近12个月,杭州出让的住宅用地,每个月的溢价率为多少,溢价率走势如何",
|
|
|
- "sql_code": "select to_char(transaction_sold_time, 'YYYY-MM') as 月份, round(avg(premium_rate), 2) as 平均溢价率 from nrllm.land_supply_combination where to_char(transaction_sold_time, 'YYYY-MM') > to_char(current_date - interval '12 months', 'YYYY-MM') and city = '杭州市' and land_use_type = '住宅用地' group by to_char(transaction_sold_time, 'YYYY-MM') order by 月份 nulls last"
|
|
|
- },
|
|
|
- {
|
|
|
- "query_type": "land_supply",
|
|
|
- "query": "请分析近几年杭州市商业用地出让情况",
|
|
|
- "sql_code": "select to_char(transaction_sold_time, 'yyyy') as 年份, count(1) as 出让宗数, round(sum(land_area_unit_sm * 0.0015), 2) as 出让总面积 from nrllm.land_supply_combination where city = '杭州市' and to_char(transaction_sold_time,'yyyy') > to_char(CURRENT_DATE - INTERVAL '3 year', 'YYYY') and land_use_secondary_type like '%商业用地%' group by to_char(transaction_sold_time, 'yyyy') order by 年份 nulls last"
|
|
|
- },
|
|
|
- {
|
|
|
- "query_type": "land_supply",
|
|
|
- "query": "请分析浙江省各地级市标准地供应情况",
|
|
|
- "sql_code": "SELECT city AS 地级市, COUNT(1) AS 标准地供应宗数, SUM(land_area_unit_sm * 0.0015) AS 标准地总面积 FROM nrllm.land_supply_combination WHERE province = '浙江省' AND is_sample_plot = '是' GROUP BY city ORDER BY 标准地供应宗数 DESC"
|
|
|
- },
|
|
|
- {
|
|
|
- "query_type": "land_supply",
|
|
|
- "query": "请分析浙江省近3年土地供应总体情况",
|
|
|
- "sql_code": "select to_char(transaction_sold_time, 'yyyy') as 年份, count(1) as 出让宗数, round(sum(land_area_unit_sm * 0.0015), 2) as 出让总面积 from nrllm.land_supply_combination where province = '浙江省' and to_char(transaction_sold_time, 'YYYY') > to_char(current_date - interval '3 years', 'YYYY') group by 年份 order by 年份 nulls last"
|
|
|
- },
|
|
|
- {
|
|
|
- "query_type": "land_supply",
|
|
|
- "query": "请分析浙江省今年土地供应结构",
|
|
|
- "sql_code": "SELECT land_use_type as 土地用途, round(sum(land_area_unit_sm * 0.0015), 2) as 出让总面积 FROM nrllm.land_supply_combination WHERE province = '浙江省' AND to_char(transaction_sold_time, 'YYYY') = to_char(CURRENT_DATE, 'YYYY') GROUP BY land_use_type ORDER BY 出让总面积 DESC"
|
|
|
- },
|
|
|
- {
|
|
|
- "query_type": "land_supply",
|
|
|
- "query": "请分析近一年浙江省供地同比和环比增长率",
|
|
|
- "sql_code": "select supply_month, round((land_total_area - pre_month)::numeric * 100 / pre_month, 2) as qoq, round((land_total_area - last_year_month)::numeric * 100 / last_year_month, 2) as yoy from (select supply_month, land_total_area, lag(land_total_area, 1) over (order by supply_month nulls last ) pre_month, lag(land_total_area, 12) over (order by supply_month nulls last) last_year_month from (select to_char(transaction_sold_time, 'yyyy-mm') as supply_month, round(sum(land_area_unit_sm) * 0.0015, 0)::int as land_total_area from nrllm.land_supply_combination where to_char(transaction_sold_time, 'yyyy-mm') <= to_char(current_date, 'yyyy-mm') group by supply_month order by supply_month nulls last) t) t order by supply_month desc nulls last limit 12"
|
|
|
- },
|
|
|
- {
|
|
|
- "query_type": "land_supply",
|
|
|
- "query": "请分析浙江省2022年土地供应情况,包括供应宗数、面积和金额情况",
|
|
|
- "sql_code": "SELECT COUNT(1) AS 供应宗数, SUM(land_area_unit_sm * 0.0015) AS 出让总面积, SUM(transaction_price) AS 出让总金额 FROM nrllm.land_supply_combination WHERE province = '浙江省' AND to_char(transaction_sold_time, 'YYYY') = '2022' GROUP BY province"
|
|
|
+ "query": "2024年的供地中,有多少宗,多少面积?",
|
|
|
+ "sql_code": "SELECT COUNT(1) AS 土地宗数,\n round(SUM(gdzmj), 2) AS 出让总面积 \nFROM tdgy_xminfo \nWHERE to_char(jdsj, 'yyyy') = '2024';"
|
|
|
}
|
|
|
]
|