jtjt520j/cspider_for_chinese_llama2_1.3b huggingface dataset:
Schema: CREATE TABLE river (river_name VARCHAR, traverse VARCHAR)
user: “广东”的河流是什么？

assistant: SELECT river_name FROM river WHERE traverse  =  "广东";
Schema: CREATE TABLE river (river_name VARCHAR, traverse VARCHAR)
user: 哪条河流流经“广东”

assistant: SELECT river_name FROM river WHERE traverse  =  "广东";
Schema: CREATE TABLE river (river_name VARCHAR, traverse VARCHAR)
user: 穿越“广东”的河流是什么？

assistant: SELECT river_name FROM river WHERE traverse  =  "广东";
Schema: CREATE TABLE city (state_name VARCHAR, city_name VARCHAR)
user: “昆明”在什么省？

assistant: SELECT state_name FROM city WHERE city_name  =  "昆明";
Schema: CREATE TABLE city (state_name VARCHAR, city_name VARCHAR)
user: “昆明”在哪里

assistant: SELECT state_name FROM city WHERE city_name  =  "昆明";
Schema: CREATE TABLE city (state_name VARCHAR, city_name VARCHAR)
user: “昆明”在什么省

assistant: SELECT state_name FROM city WHERE city_name  =  "昆明";
Schema: CREATE TABLE city (state_name VARCHAR, city_name VARCHAR)
user: 什么省的城市命名为“昆明”

assistant: SELECT state_name FROM city WHERE city_name  =  "昆明";
Schema: CREATE TABLE city (state_name VARCHAR, city_name VARCHAR)
user: 哪些省的城市命名为“昆明”

assistant: SELECT state_name FROM city WHERE city_name  =  "昆明";
Schema: CREATE TABLE city (state_name VARCHAR, city_name VARCHAR)
user: “昆明”是在哪个省？

assistant: SELECT state_name FROM city WHERE city_name  =  "昆明";
Schema: CREATE TABLE city (state_name VARCHAR, city_name VARCHAR)
user: 哪些省有一个叫“昆明”的城市？

assistant: SELECT state_name FROM city WHERE city_name  =  "昆明";
Schema: CREATE TABLE city (state_name VARCHAR, city_name VARCHAR)
user: 有什么省有“昆明”这个城市？

assistant: SELECT state_name FROM city WHERE city_name  =  "昆明";
Schema: CREATE TABLE city (state_name VARCHAR, city_name VARCHAR)
user: 什么省有“昆明”这个市？

assistant: SELECT state_name FROM city WHERE city_name  =  "昆明";
Schema: CREATE TABLE city (state_name VARCHAR, city_name VARCHAR)
user: “昆明”位于什么省？

assistant: SELECT state_name FROM city WHERE city_name  =  "昆明";
Schema: CREATE TABLE city (state_name VARCHAR, city_name VARCHAR)
user: “昆明”在哪个省

assistant: SELECT state_name FROM city WHERE city_name  =  "昆明";
Schema: CREATE TABLE city (state_name VARCHAR, city_name VARCHAR)
user: “昆明”所在的城市是哪个省？

assistant: SELECT state_name FROM city WHERE city_name  =  "昆明";
Schema: CREATE TABLE city (state_name VARCHAR, city_name VARCHAR)
user: 中国的哪些省有“昆明”这个城市？

assistant: SELECT state_name FROM city WHERE city_name  =  "springfield";
Schema: CREATE TABLE state (population VARCHAR, area INTEGER)
user: 面积最大的国家的人口是多少？

assistant: SELECT population FROM state WHERE area  =  ( SELECT MAX ( area ) FROM state );
Schema: CREATE TABLE state (population VARCHAR, area INTEGER)
user: 最大省的人口是多少？

assistant: SELECT population FROM state WHERE area  =  ( SELECT MAX ( area ) FROM state );
Schema: CREATE TABLE city (population VARCHAR, city_name VARCHAR)
user: “重庆”有多少人

assistant: SELECT population FROM city WHERE city_name  =  "重庆";
Schema: CREATE TABLE city (population VARCHAR, city_name VARCHAR)
user: “重庆”的人口是多少

assistant: SELECT population FROM city WHERE city_name  =  "重庆";
Schema: CREATE TABLE city (population VARCHAR, city_name VARCHAR)
user: 有多少人居住在“重庆”

assistant: SELECT population FROM city WHERE city_name  =  "重庆";
Schema: CREATE TABLE city (population VARCHAR, city_name VARCHAR)
user: “重庆”的人口数

assistant: SELECT population FROM city WHERE city_name  =  "重庆";
Schema: CREATE TABLE city (population VARCHAR, city_name VARCHAR)
user: “重庆”城的人口是多少

assistant: SELECT population FROM city WHERE city_name  =  "重庆";
Schema: CREATE TABLE city (population VARCHAR, city_name VARCHAR)
user: “重庆”市有多大？

assistant: SELECT population FROM city WHERE city_name  =  "重庆";
Schema: CREATE TABLE city (population VARCHAR, city_name VARCHAR)
user: “重庆”的人口

assistant: SELECT population FROM city WHERE city_name  =  "重庆";
Schema: CREATE TABLE city (population VARCHAR, city_name VARCHAR)
user: “重庆”的人口是多少？

assistant: SELECT population FROM city WHERE city_name  =  "重庆";
Schema: CREATE TABLE city (population VARCHAR, city_name VARCHAR)
user: “重庆”的人数

assistant: SELECT population FROM city WHERE city_name  =  "重庆";
Schema: CREATE TABLE city (population VARCHAR, city_name VARCHAR)
user: “重庆”有多少居民？

assistant: SELECT population FROM city WHERE city_name  =  "重庆";
Schema: CREATE TABLE city (population VARCHAR, city_name VARCHAR)
user: “重庆”公民人数

assistant: SELECT population FROM city WHERE city_name  =  "重庆";
Schema: CREATE TABLE city (population VARCHAR, city_name VARCHAR)
user: “重庆”有多少市民

assistant: SELECT population FROM city WHERE city_name  =  "重庆";
Schema: CREATE TABLE city (state_name VARCHAR, city_name VARCHAR, population INTEGER)
user: “辽宁”最小的城市是什么？

assistant: SELECT city_name FROM city WHERE population  =  ( SELECT MIN ( population ) FROM city WHERE state_name  =  "辽宁" ) AND state_name  =  "辽宁";
Schema: CREATE TABLE river (LENGTH INTEGER, traverse VARCHAR)
user: 哪些省位于中国最大的河流上？

assistant: SELECT traverse FROM river WHERE LENGTH  =  ( SELECT MAX ( LENGTH ) FROM river );
Schema: CREATE TABLE river (LENGTH INTEGER, traverse VARCHAR)
user: 最长的河流经过哪个省？

assistant: SELECT traverse FROM river WHERE LENGTH  =  ( SELECT MAX ( LENGTH ) FROM river );
Schema: CREATE TABLE river (LENGTH INTEGER, traverse VARCHAR)
user: 哪个省有最长的河流

assistant: SELECT traverse FROM river WHERE LENGTH  =  ( SELECT MAX ( LENGTH ) FROM river );
Schema: CREATE TABLE river (LENGTH INTEGER, traverse VARCHAR)
user: 最长的河流流经的省是什么省？

assistant: SELECT traverse FROM river WHERE LENGTH  =  ( SELECT MAX ( LENGTH ) FROM river );
Schema: CREATE TABLE river (LENGTH INTEGER, traverse VARCHAR)
user: 最长的河流穿过哪些省？

assistant: SELECT traverse FROM river WHERE LENGTH  =  ( SELECT MAX ( LENGTH ) FROM river );
Schema: CREATE TABLE state (density VARCHAR, area INTEGER)
user: 面积最小的省的人口密度是多少？

assistant: SELECT density FROM state WHERE area  =  ( SELECT MIN ( area ) FROM state );
Schema: CREATE TABLE state (density VARCHAR, area INTEGER)
user: 最小省的人口密度是多少？

assistant: SELECT density FROM state WHERE area  =  ( SELECT MIN ( area ) FROM state );
Schema: CREATE TABLE highlow (state_name VARCHAR, highest_elevation INTEGER)
user: 哪些省的地点高于“贵州”最高点？

assistant: SELECT state_name FROM highlow WHERE highest_elevation  >  ( SELECT highest_elevation FROM highlow WHERE state_name  =  "贵州" );
Schema: CREATE TABLE highlow (state_name VARCHAR, highest_elevation INTEGER)
user: 哪些省的地点高于“贵州”的最高点？

assistant: SELECT state_name FROM highlow WHERE highest_elevation  >  ( SELECT highest_elevation FROM highlow WHERE state_name  =  "贵州" );
Schema: CREATE TABLE highlow (state_name VARCHAR, highest_elevation INTEGER)
user: 哪些省的高点高于“贵州”？

assistant: SELECT state_name FROM highlow WHERE highest_elevation  >  ( SELECT highest_elevation FROM highlow WHERE state_name  =  "贵州" );
Schema: CREATE TABLE highlow (state_name VARCHAR, highest_elevation VARCHAR)
user: “福建”最高海拔是多少？

assistant: SELECT highest_elevation FROM highlow WHERE state_name  =  "福建";
Schema: CREATE TABLE highlow (state_name VARCHAR, highest_elevation VARCHAR)
user: “福建”最高点有多高？

assistant: SELECT highest_elevation FROM highlow WHERE state_name  =  "福建";
Schema: CREATE TABLE highlow (state_name VARCHAR, highest_elevation VARCHAR)
user: “福建”的最高地点有多高？

assistant: SELECT highest_elevation FROM highlow WHERE state_name  =  "福建";
Schema: CREATE TABLE highlow (state_name VARCHAR, highest_elevation VARCHAR)
user: “福建”的最高点是什么？

assistant: SELECT highest_elevation FROM highlow WHERE state_name  =  "福建";
Schema: CREATE TABLE highlow (state_name VARCHAR, highest_elevation VARCHAR)
user: “福建”最高点的高度？

assistant: SELECT highest_elevation FROM highlow WHERE state_name  =  "福建";
Schema: CREATE TABLE river (river_name VARCHAR, LENGTH INTEGER)
user: 给我一条穿过中国的最长的河流

assistant: SELECT river_name FROM river WHERE LENGTH  =  ( SELECT MAX ( LENGTH ) FROM river );
Schema: CREATE TABLE river (river_name VARCHAR, LENGTH INTEGER)
user: 那条是中国最长的河流

assistant: SELECT river_name FROM river WHERE LENGTH  =  ( SELECT MAX ( LENGTH ) FROM river );
Schema: CREATE TABLE river (river_name VARCHAR, LENGTH INTEGER)
user: 中国最长的河流是什么？

assistant: SELECT river_name FROM river WHERE LENGTH  =  ( SELECT MAX ( LENGTH ) FROM river );
Schema: CREATE TABLE river (river_name VARCHAR, LENGTH INTEGER)
user: 中国最长的河流的名字

assistant: SELECT river_name FROM river WHERE LENGTH  =  ( SELECT MAX ( LENGTH ) FROM river );
Schema: CREATE TABLE river (river_name VARCHAR, LENGTH INTEGER)
user: 什么河流是中国最长的河流？

assistant: SELECT river_name FROM river WHERE LENGTH  =  ( SELECT MAX ( LENGTH ) FROM river );
Schema: CREATE TABLE river (river_name VARCHAR, LENGTH INTEGER)
user: 中国最长的河流是什那一条？

assistant: SELECT river_name FROM river WHERE LENGTH  =  ( SELECT MAX ( LENGTH ) FROM river );
Schema: CREATE TABLE river (river_name VARCHAR, LENGTH INTEGER)
user: 最长的河流是什么？

assistant: SELECT river_name FROM river WHERE LENGTH  =  ( SELECT MAX ( LENGTH ) FROM river );
Schema: CREATE TABLE river (river_name VARCHAR, LENGTH INTEGER)
user: 中国最长的河流叫什么？

assistant: SELECT river_name FROM river WHERE LENGTH  =  ( SELECT MAX ( LENGTH ) FROM river );
Schema: CREATE TABLE city (state_name VARCHAR, population INTEGER)
user: 人口最多的城市是哪个省？

assistant: SELECT state_name FROM city WHERE population  =  ( SELECT MAX ( population ) FROM city );
Schema: CREATE TABLE city (state_name VARCHAR, population INTEGER)
user: 哪个省有最大的城市？

assistant: SELECT state_name FROM city WHERE population  =  ( SELECT MAX ( population ) FROM city );
Schema: CREATE TABLE city (state_name VARCHAR, city_name VARCHAR, area INTEGER, population INTEGER), CREATE TABLE state (state_name VARCHAR, city_name VARCHAR, area INTEGER, population INTEGER)
user: 最大的城市中最小的城市是什么？

assistant: SELECT city_name FROM city WHERE population  =  ( SELECT MIN ( population ) FROM city WHERE state_name IN ( SELECT state_name FROM state WHERE area  =  ( SELECT MAX ( area ) FROM state ) ) ) AND state_name IN ( SELECT state_name FROM state WHERE area  =  ( SELECT MAX ( area ) FROM state ) );
Schema: CREATE TABLE state (state_name VARCHAR, area INTEGER)
user: 最大的省是什么省

assistant: SELECT state_name FROM state WHERE area  =  ( SELECT MAX ( area ) FROM state );
Schema: CREATE TABLE state (state_name VARCHAR, area INTEGER)
user: 最大面积的省是什么省

assistant: SELECT state_name FROM state WHERE area  =  ( SELECT MAX ( area ) FROM state );
Schema: CREATE TABLE state (state_name VARCHAR, area INTEGER)
user: 什么省面积最大

assistant: SELECT state_name FROM state WHERE area  =  ( SELECT MAX ( area ) FROM state );
Schema: CREATE TABLE state (state_name VARCHAR, area INTEGER)
user: 中国大陆面积最大的省是什么？

assistant: SELECT state_name FROM state WHERE area  =  ( SELECT MAX ( area ) FROM state );
Schema: CREATE TABLE state (state_name VARCHAR, area INTEGER)
user: 描述最大面积的省

assistant: SELECT state_name FROM state WHERE area  =  ( SELECT MAX ( area ) FROM state );
Schema: CREATE TABLE state (state_name VARCHAR, area INTEGER)
user: 中国最大的省是什么？

assistant: SELECT state_name FROM state WHERE area  =  ( SELECT MAX ( area ) FROM state );
Schema: CREATE TABLE state (state_name VARCHAR, area INTEGER)
user: 最大的省是什么？

assistant: SELECT state_name FROM state WHERE area  =  ( SELECT MAX ( area ) FROM state );
Schema: CREATE TABLE state (state_name VARCHAR, area INTEGER)
user: 给我最大的省

assistant: SELECT state_name FROM state WHERE area  =  ( SELECT MAX ( area ) FROM state );
Schema: CREATE TABLE state (state_name VARCHAR, area INTEGER)
user: 中国最大的省是哪一个？

assistant: SELECT state_name FROM state WHERE area  =  ( SELECT MAX ( area ) FROM state );
Schema: CREATE TABLE highlow (state_name VARCHAR, highest_point VARCHAR, border VARCHAR), CREATE TABLE border_info (state_name VARCHAR, highest_point VARCHAR, border VARCHAR)
user: “长江”周边省的最高点是什么？

assistant: SELECT highest_point FROM highlow WHERE state_name IN ( SELECT border FROM border_info WHERE state_name  =  "长江" );
Schema: CREATE TABLE highlow (state_name VARCHAR, highest_point VARCHAR, border VARCHAR), CREATE TABLE border_info (state_name VARCHAR, highest_point VARCHAR, border VARCHAR)
user: “长江”周边省的高点是什么？

assistant: SELECT highest_point FROM highlow WHERE state_name IN ( SELECT border FROM border_info WHERE state_name  =  "长江" );
Schema: CREATE TABLE highlow (state_name VARCHAR, highest_point VARCHAR, border VARCHAR, highest_elevation VARCHAR), CREATE TABLE border_info (state_name VARCHAR, highest_point VARCHAR, border VARCHAR, highest_elevation VARCHAR)
user: “贵州”接壤省的最高点是什么？

assistant: SELECT highest_point FROM highlow WHERE state_name IN ( SELECT border FROM border_info WHERE state_name  =  "贵州" ) ORDER BY highest_elevation DESC LIMIT 1;
Schema: CREATE TABLE state (density INTEGER, state_name VARCHAR)
user: 人口密度最低的省是什么？

assistant: SELECT state_name FROM state WHERE density  =  ( SELECT MIN ( density ) FROM state );
Schema: CREATE TABLE state (density INTEGER, state_name VARCHAR)
user: 什么省市人口密度最低的？

assistant: SELECT state_name FROM state WHERE density  =  ( SELECT MIN ( density ) FROM state );
Schema: CREATE TABLE state (density INTEGER, state_name VARCHAR)
user: 哪个省人口密度最低

assistant: SELECT state_name FROM state WHERE density  =  ( SELECT MIN ( density ) FROM state );
Schema: CREATE TABLE state (density INTEGER, state_name VARCHAR)
user: 哪个省人口密度最小

assistant: SELECT state_name FROM state WHERE density  =  ( SELECT MIN ( density ) FROM state );
Schema: CREATE TABLE state (density INTEGER, state_name VARCHAR)
user: 人口密度最稀疏的省是什么省

assistant: SELECT state_name FROM state WHERE density  =  ( SELECT MIN ( density ) FROM state );
Schema: CREATE TABLE state (density INTEGER, state_name VARCHAR)
user: 哪个省人口密度最稀疏？

assistant: SELECT state_name FROM state WHERE density  =  ( SELECT MIN ( density ) FROM state );
Schema: CREATE TABLE state (density INTEGER, state_name VARCHAR)
user: 哪个省人口密度是最小的？

assistant: SELECT state_name FROM state WHERE density  =  ( SELECT MIN ( density ) FROM state );
Schema: CREATE TABLE state (density INTEGER, state_name VARCHAR)
user: 人口密度最小的省是什么？

assistant: SELECT state_name FROM state WHERE density  =  ( SELECT MIN ( density ) FROM state );
Schema: CREATE TABLE highlow (state_name VARCHAR, highest_point VARCHAR)
user: “四川”的最高点在哪里？

assistant: SELECT highest_point FROM highlow WHERE state_name  =  "四川";
Schema: CREATE TABLE highlow (state_name VARCHAR, highest_point VARCHAR)
user: “四川”的最高地点是什么？

assistant: SELECT highest_point FROM highlow WHERE state_name  =  "四川";
Schema: CREATE TABLE highlow (state_name VARCHAR, highest_point VARCHAR)
user: “四川”的高点是什么？

assistant: SELECT highest_point FROM highlow WHERE state_name  =  "四川";
Schema: CREATE TABLE highlow (state_name VARCHAR, highest_point VARCHAR)
user: “四川”最高的山是什么？

assistant: SELECT highest_point FROM highlow WHERE state_name  =  "四川";
Schema: CREATE TABLE highlow (state_name VARCHAR, highest_point VARCHAR)
user: 你能告诉我“四川”的最高点是什么吗？

assistant: SELECT highest_point FROM highlow WHERE state_name  =  "四川";
Schema: CREATE TABLE state (state_name VARCHAR), CREATE TABLE border_info (state_name VARCHAR)
user: 哪些省没有毗连状态？

assistant: SELECT state_name FROM state WHERE state_name NOT IN ( SELECT state_name FROM border_info );
Schema: CREATE TABLE state (state_name VARCHAR), CREATE TABLE border_info (state_name VARCHAR)
user: 周围没有其他省的省的名字

assistant: SELECT state_name FROM state WHERE state_name NOT IN ( SELECT state_name FROM border_info );
Schema: CREATE TABLE state (state_name VARCHAR), CREATE TABLE border_info (state_name VARCHAR)
user: 哪些省的边界没有其他省

assistant: SELECT state_name FROM state WHERE state_name NOT IN ( SELECT state_name FROM border_info );
Schema: CREATE TABLE state (density INTEGER, area VARCHAR)
user: 人口密度最小的省面积是多少？

assistant: SELECT area FROM state WHERE density  =  ( SELECT MIN ( density ) FROM state );
Schema: CREATE TABLE highlow (state_name VARCHAR, lowest_elevation INTEGER)
user: 计算海拔比“宁夏”低的省。

assistant: SELECT COUNT ( state_name ) FROM highlow WHERE lowest_elevation  <  ( SELECT lowest_elevation FROM highlow WHERE state_name  =  "宁夏" );
Schema: CREATE TABLE highlow (highest_point VARCHAR, highest_elevation VARCHAR)
user: “珠穆朗玛峰”有多高？

assistant: SELECT highest_elevation FROM highlow WHERE highest_point  =  "珠穆朗玛峰";
Schema: CREATE TABLE highlow (highest_point VARCHAR, highest_elevation VARCHAR)
user: “珠穆朗玛峰”的最大海拔是多少？

assistant: SELECT highest_elevation FROM highlow WHERE highest_point  =  "珠穆朗玛峰";
Schema: CREATE TABLE highlow (highest_elevation INTEGER)
user: 中国最高点有多高？

assistant: SELECT MAX ( highest_elevation ) FROM highlow;
Schema: CREATE TABLE highlow (highest_elevation INTEGER)
user: 中国最高海拔是多少？

assistant: SELECT MAX ( highest_elevation ) FROM highlow;
Schema: CREATE TABLE highlow (highest_elevation INTEGER)
user: 中国最高点的海拔是多少？

assistant: SELECT MAX ( highest_elevation ) FROM highlow;
Schema: CREATE TABLE highlow (highest_elevation INTEGER)
user: 中国最高点的高度是多少？

assistant: SELECT MAX ( highest_elevation ) FROM highlow;
Schema: CREATE TABLE river (river_name VARCHAR, LENGTH VARCHAR)
user: “湄公河”有多长？

assistant: SELECT LENGTH FROM river WHERE river_name  =  "湄公河";
Schema: CREATE TABLE river (river_name VARCHAR, LENGTH VARCHAR)
user: “湄公河”的长度是多少？

assistant: SELECT LENGTH FROM river WHERE river_name  =  "湄公河";
Schema: CREATE TABLE river (river_name VARCHAR, LENGTH VARCHAR)
user: “湄公河”是多长？

assistant: SELECT LENGTH FROM river WHERE river_name  =  "湄公河";
Schema: CREATE TABLE river (river_name VARCHAR, LENGTH VARCHAR)
user: “湄公河”的里程有多长？

assistant: SELECT LENGTH FROM river WHERE river_name  =  "湄公河";
Schema: CREATE TABLE river (river_name VARCHAR, LENGTH VARCHAR)
user: “湄公河”的河流长度是多少？

assistant: SELECT LENGTH FROM river WHERE river_name  =  "湄公河";
Schema: CREATE TABLE river (LENGTH INTEGER, traverse VARCHAR)
user: “四川”最长的河流有多长？

assistant: SELECT LENGTH FROM river WHERE LENGTH  =  ( SELECT MAX ( LENGTH ) FROM river WHERE traverse  =  "四川" ) AND traverse  =  "四川";
Schema: CREATE TABLE river (LENGTH INTEGER, traverse VARCHAR)
user: 贯穿“四川”的最长河流的长度是多少？

assistant: SELECT LENGTH FROM river WHERE LENGTH  =  ( SELECT MAX ( LENGTH ) FROM river WHERE traverse  =  "四川" ) AND traverse  =  "四川";
Schema: CREATE TABLE state (state_name VARCHAR, capital VARCHAR)
user: “台湾”有多少市？

assistant: SELECT COUNT ( capital ) FROM state WHERE state_name  =  "台湾";
Schema: CREATE TABLE city (city_name VARCHAR)
user: 中国有多少城市？

assistant: SELECT COUNT ( city_name ) FROM city;
Schema: CREATE TABLE city (city_name VARCHAR)
user: 在中国有多少城市？

assistant: SELECT COUNT ( city_name ) FROM city;
Schema: CREATE TABLE city (city_name VARCHAR)
user: 在中国的城市有多少

assistant: SELECT COUNT ( city_name ) FROM city;
Schema: CREATE TABLE city (city_name VARCHAR)
user: 中国城市的数量有多少？

assistant: SELECT COUNT ( city_name ) FROM city;
Schema: CREATE TABLE city (city_name VARCHAR)
user: 中国的城市有多少

assistant: SELECT COUNT ( city_name ) FROM city;
Schema: CREATE TABLE city (city_name VARCHAR, population INTEGER)
user: 那里有多少个大城市？

assistant: SELECT COUNT ( city_name ) FROM city WHERE population  >  150000;
Schema: CREATE TABLE city (population INTEGER)
user: 中国最大的城市有多少公民？

assistant: SELECT population FROM city WHERE population  =  ( SELECT MAX ( population ) FROM city );
Schema: CREATE TABLE river (river_name VARCHAR)
user: 那里有多少条河名字叫“大靖河”

assistant: SELECT COUNT ( river_name ) FROM river WHERE river_name  =  "大靖河";
Schema: CREATE TABLE river (river_name VARCHAR)
user: 有几条河叫“大靖河”

assistant: SELECT COUNT ( river_name ) FROM river WHERE river_name  =  "大靖河";
Schema: CREATE TABLE city (population VARCHAR, city_name VARCHAR, state_name VARCHAR)
user: “北京”“大兴区”的人口是多少

assistant: SELECT population FROM city WHERE city_name  =  "大兴区" AND state_name  =  "北京";
Schema: CREATE TABLE city (population VARCHAR, city_name VARCHAR, state_name VARCHAR)
user: 有多少人住在“北京”的“大兴区”？

assistant: SELECT population FROM city WHERE city_name  =  "大兴区" AND state_name  =  "北京";
Schema: CREATE TABLE city (state_name VARCHAR, population INTEGER)
user: 有多少人住在“辽宁”省最大的城市

assistant: SELECT population FROM city WHERE population  =  ( SELECT MAX ( population ) FROM city WHERE state_name  =  "辽宁" ) AND state_name  =  "辽宁";
Schema: CREATE TABLE city (state_name VARCHAR, population INTEGER)
user: “辽宁”最大的城市有多大？

assistant: SELECT population FROM city WHERE population  =  ( SELECT MAX ( population ) FROM city WHERE state_name  =  "辽宁" ) AND state_name  =  "辽宁";
Schema: CREATE TABLE city (population VARCHAR, city_name VARCHAR, state_name VARCHAR, capital VARCHAR), CREATE TABLE state (population VARCHAR, city_name VARCHAR, state_name VARCHAR, capital VARCHAR)
user: “四川”省会有多少人

assistant: SELECT population FROM city WHERE city_name  =  ( SELECT capital FROM state WHERE state_name  =  "四川" );
Schema: CREATE TABLE city (population VARCHAR, city_name VARCHAR, state_name VARCHAR, capital VARCHAR), CREATE TABLE state (population VARCHAR, city_name VARCHAR, state_name VARCHAR, capital VARCHAR)
user: “四川”的省会的面积是多少？

assistant: SELECT population FROM city WHERE city_name  =  ( SELECT capital FROM state WHERE state_name  =  "四川" );
Schema: CREATE TABLE state (population INTEGER)
user: 中国有多少人居住？

assistant: SELECT SUM ( population ) FROM state;
Schema: CREATE TABLE state (population INTEGER)
user: 这50个省的人口总和是多少？

assistant: SELECT SUM ( population ) FROM state;
Schema: CREATE TABLE state (state_name VARCHAR)
user: 中国有多少省

assistant: SELECT COUNT ( state_name ) FROM state;
Schema: CREATE TABLE state (state_name VARCHAR)
user: 那里有多少个省

assistant: SELECT COUNT ( state_name ) FROM state;
Schema: CREATE TABLE state (state_name VARCHAR)
user: 在中国有多少省份？

assistant: SELECT COUNT ( state_name ) FROM state;
Schema: CREATE TABLE state (state_name VARCHAR)
user: 中国有多少个省？

assistant: SELECT COUNT ( state_name ) FROM state;
Schema: CREATE TABLE state (state_name VARCHAR)
user: 在中国省份的数量是多少？

assistant: SELECT COUNT ( state_name ) FROM state;
Schema: CREATE TABLE state (state_name VARCHAR)
user: 中国那边有多少省？

assistant: SELECT COUNT ( state_name ) FROM state;
Schema: CREATE TABLE border_info (state_name VARCHAR, border VARCHAR)
user: 有多少省与“陕西”接壤

assistant: SELECT COUNT ( border ) FROM border_info WHERE state_name  =  "陕西";
Schema: CREATE TABLE border_info (state_name VARCHAR, border VARCHAR)
user: “陕西”边界有多少个省？

assistant: SELECT COUNT ( border ) FROM border_info WHERE state_name  =  "陕西";
Schema: CREATE TABLE border_info (state_name VARCHAR, border VARCHAR)
user: “陕西”与多少省接壤

assistant: SELECT COUNT ( border ) FROM border_info WHERE state_name  =  "陕西";
Schema: CREATE TABLE border_info (state_name VARCHAR, border VARCHAR)
user: 与“陕西”接壤的省数

assistant: SELECT COUNT ( border ) FROM border_info WHERE state_name  =  "陕西";
Schema: CREATE TABLE border_info (state_name VARCHAR, border VARCHAR)
user: “陕西”周边省的数量是多少？

assistant: SELECT COUNT ( border ) FROM border_info WHERE state_name  =  "陕西";
Schema: CREATE TABLE border_info (state_name VARCHAR, border VARCHAR, population INTEGER), CREATE TABLE state (state_name VARCHAR, border VARCHAR, population INTEGER)
user: 有多少省与人口最多的省接壤？

assistant: SELECT COUNT ( border ) FROM border_info WHERE state_name IN ( SELECT state_name FROM state WHERE population  =  ( SELECT MAX ( population ) FROM state ) );
Schema: CREATE TABLE state (state_name VARCHAR, traverse VARCHAR), CREATE TABLE river (state_name VARCHAR, traverse VARCHAR)
user: 有多少省没有河流

assistant: SELECT COUNT ( DISTINCT state_name ) FROM state WHERE state_name NOT IN ( SELECT traverse FROM river );
Schema: CREATE TABLE highlow (state_name VARCHAR, city_name VARCHAR, highest_elevation INTEGER, capital VARCHAR, population INTEGER), CREATE TABLE state (state_name VARCHAR, city_name VARCHAR, highest_elevation INTEGER, capital VARCHAR, population INTEGER), CREATE TABLE city (state_name VARCHAR, city_name VARCHAR, highest_elevation INTEGER, capital VARCHAR, population INTEGER)
user: 有多少省的最高点高于中国首都最大的省会的最高点？

assistant: SELECT COUNT ( state_name ) FROM highlow WHERE highest_elevation  >  ( SELECT highest_elevation FROM highlow WHERE state_name  =  ( SELECT state_name FROM state WHERE capital  =  ( SELECT city_name FROM city WHERE population  =  ( SELECT MAX ( population ) FROM city ) ) ) );
Schema: CREATE TABLE river (river_name VARCHAR, traverse VARCHAR, LENGTH INTEGER)
user: 说出“广东”的主要河流

assistant: SELECT river_name FROM river WHERE LENGTH  >  750 AND traverse  =  "广东";
Schema: CREATE TABLE river (river_name VARCHAR, traverse VARCHAR, LENGTH INTEGER)
user: “广东”主要河流有哪些

assistant: SELECT river_name FROM river WHERE LENGTH  >  750 AND traverse  =  "广东";