dreamerdeo's picture
Upload folder using huggingface_hub
1faca1c
[
{
"db_id": "browser_web",
"query": "SELECT count(*) FROM browser WHERE market_share >= 5",
"query_toks": [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"browser",
"WHERE",
"market_share",
">",
"=",
"5"
],
"query_toks_no_value": [
"select",
"count",
"(",
"*",
")",
"from",
"browser",
"where",
"market_share",
">",
"=",
"value"
],
"question": "How many main stream browsers whose market share is at least 5 exist?",
"question_toks": [
"How",
"many",
"main",
"stream",
"browsers",
"whose",
"market",
"share",
"is",
"at",
"least",
"5",
"exist",
"?"
],
"sql": {
"except": null,
"from": {
"conds": [],
"table_units": [
[
"table_unit",
1
]
]
},
"groupBy": [],
"having": [],
"intersect": null,
"limit": null,
"orderBy": [],
"select": [
false,
[
[
3,
[
0,
[
0,
0,
false
],
null
]
]
]
],
"union": null,
"where": [
[
false,
5,
[
0,
[
0,
8,
false
],
null
],
5.0,
null
]
]
}
},
{
"db_id": "browser_web",
"query": "SELECT name FROM browser ORDER BY market_share DESC",
"query_toks": [
"SELECT",
"name",
"FROM",
"browser",
"ORDER",
"BY",
"market_share",
"DESC"
],
"query_toks_no_value": [
"select",
"name",
"from",
"browser",
"order",
"by",
"market_share",
"desc"
],
"question": "List the name of browsers in descending order by market share.",
"question_toks": [
"List",
"the",
"name",
"of",
"browsers",
"in",
"descending",
"order",
"by",
"market",
"share",
"."
],
"sql": {
"except": null,
"from": {
"conds": [],
"table_units": [
[
"table_unit",
1
]
]
},
"groupBy": [],
"having": [],
"intersect": null,
"limit": null,
"orderBy": [
"desc",
[
[
0,
[
0,
8,
false
],
null
]
]
],
"select": [
false,
[
[
0,
[
0,
[
0,
7,
false
],
null
]
]
]
],
"union": null,
"where": []
}
},
{
"db_id": "browser_web",
"query": "SELECT id , name , market_share FROM browser",
"query_toks": [
"SELECT",
"id",
",",
"name",
",",
"market_share",
"FROM",
"browser"
],
"query_toks_no_value": [
"select",
"id",
",",
"name",
",",
"market_share",
"from",
"browser"
],
"question": "List the ids, names and market shares of all browsers.",
"question_toks": [
"List",
"the",
"ids",
",",
"names",
"and",
"market",
"shares",
"of",
"all",
"browsers",
"."
],
"sql": {
"except": null,
"from": {
"conds": [],
"table_units": [
[
"table_unit",
1
]
]
},
"groupBy": [],
"having": [],
"intersect": null,
"limit": null,
"orderBy": [],
"select": [
false,
[
[
0,
[
0,
[
0,
6,
false
],
null
]
],
[
0,
[
0,
[
0,
7,
false
],
null
]
],
[
0,
[
0,
[
0,
8,
false
],
null
]
]
]
],
"union": null,
"where": []
}
},
{
"db_id": "browser_web",
"query": "SELECT max(market_share) , min(market_share) , avg(market_share) FROM browser",
"query_toks": [
"SELECT",
"max",
"(",
"market_share",
")",
",",
"min",
"(",
"market_share",
")",
",",
"avg",
"(",
"market_share",
")",
"FROM",
"browser"
],
"query_toks_no_value": [
"select",
"max",
"(",
"market_share",
")",
",",
"min",
"(",
"market_share",
")",
",",
"avg",
"(",
"market_share",
")",
"from",
"browser"
],
"question": "What is the maximum, minimum and average market share of the listed browsers?",
"question_toks": [
"What",
"is",
"the",
"maximum",
",",
"minimum",
"and",
"average",
"market",
"share",
"of",
"the",
"listed",
"browsers",
"?"
],
"sql": {
"except": null,
"from": {
"conds": [],
"table_units": [
[
"table_unit",
1
]
]
},
"groupBy": [],
"having": [],
"intersect": null,
"limit": null,
"orderBy": [],
"select": [
false,
[
[
1,
[
0,
[
0,
8,
false
],
null
]
],
[
2,
[
0,
[
0,
8,
false
],
null
]
],
[
5,
[
0,
[
0,
8,
false
],
null
]
]
]
],
"union": null,
"where": []
}
},
{
"db_id": "browser_web",
"query": "SELECT id , market_share FROM browser WHERE name = 'Safari'",
"query_toks": [
"SELECT",
"id",
",",
"market_share",
"FROM",
"browser",
"WHERE",
"name",
"=",
"'Safari",
"'"
],
"query_toks_no_value": [
"select",
"id",
",",
"market_share",
"from",
"browser",
"where",
"name",
"=",
"value"
],
"question": "What is the id and market share of the browser Safari?",
"question_toks": [
"What",
"is",
"the",
"id",
"and",
"market",
"share",
"of",
"the",
"browser",
"Safari",
"?"
],
"sql": {
"except": null,
"from": {
"conds": [],
"table_units": [
[
"table_unit",
1
]
]
},
"groupBy": [],
"having": [],
"intersect": null,
"limit": null,
"orderBy": [],
"select": [
false,
[
[
0,
[
0,
[
0,
6,
false
],
null
]
],
[
0,
[
0,
[
0,
8,
false
],
null
]
]
]
],
"union": null,
"where": [
[
false,
2,
[
0,
[
0,
7,
false
],
null
],
"\"Safari\"",
null
]
]
}
},
{
"db_id": "browser_web",
"query": "SELECT name , operating_system FROM web_client_accelerator WHERE CONNECTION != 'Broadband'",
"query_toks": [
"SELECT",
"name",
",",
"operating_system",
"FROM",
"web_client_accelerator",
"WHERE",
"CONNECTION",
"!",
"=",
"'Broadband",
"'"
],
"query_toks_no_value": [
"select",
"name",
",",
"operating_system",
"from",
"web_client_accelerator",
"where",
"connection",
"!",
"=",
"value"
],
"question": "What are the name and os of web client accelerators that do not work with only a 'Broadband' type connection?",
"question_toks": [
"What",
"are",
"the",
"name",
"and",
"os",
"of",
"web",
"client",
"accelerators",
"that",
"do",
"not",
"work",
"with",
"only",
"a",
"'Broadband",
"'",
"type",
"connection",
"?"
],
"sql": {
"except": null,
"from": {
"conds": [],
"table_units": [
[
"table_unit",
0
]
]
},
"groupBy": [],
"having": [],
"intersect": null,
"limit": null,
"orderBy": [],
"select": [
false,
[
[
0,
[
0,
[
0,
2,
false
],
null
]
],
[
0,
[
0,
[
0,
3,
false
],
null
]
]
]
],
"union": null,
"where": [
[
false,
7,
[
0,
[
0,
5,
false
],
null
],
"\"Broadband\"",
null
]
]
}
},
{
"db_id": "browser_web",
"query": "SELECT T1.name FROM browser AS T1 JOIN accelerator_compatible_browser AS T2 ON T1.id = T2.browser_id JOIN web_client_accelerator AS T3 ON T2.accelerator_id = T3.id WHERE T3.name = 'CProxy' AND T2.compatible_since_year > 1998",
"query_toks": [
"SELECT",
"T1.name",
"FROM",
"browser",
"AS",
"T1",
"JOIN",
"accelerator_compatible_browser",
"AS",
"T2",
"ON",
"T1.id",
"=",
"T2.browser_id",
"JOIN",
"web_client_accelerator",
"AS",
"T3",
"ON",
"T2.accelerator_id",
"=",
"T3.id",
"WHERE",
"T3.name",
"=",
"'CProxy",
"'",
"AND",
"T2.compatible_since_year",
">",
"1998"
],
"query_toks_no_value": [
"select",
"t1",
".",
"name",
"from",
"browser",
"as",
"t1",
"join",
"accelerator_compatible_browser",
"as",
"t2",
"on",
"t1",
".",
"id",
"=",
"t2",
".",
"browser_id",
"join",
"web_client_accelerator",
"as",
"t3",
"on",
"t2",
".",
"accelerator_id",
"=",
"t3",
".",
"id",
"where",
"t3",
".",
"name",
"=",
"value",
"and",
"t2",
".",
"compatible_since_year",
">",
"value"
],
"question": "What is the name of the browser that became compatible with the accelerator 'CProxy' after year 1998 ?",
"question_toks": [
"What",
"is",
"the",
"name",
"of",
"the",
"browser",
"that",
"became",
"compatible",
"with",
"the",
"accelerator",
"'CProxy",
"'",
"after",
"year",
"1998",
"?"
],
"sql": {
"except": null,
"from": {
"conds": [
[
false,
2,
[
0,
[
0,
6,
false
],
null
],
[
0,
10,
false
],
null
],
"and",
[
false,
2,
[
0,
[
0,
9,
false
],
null
],
[
0,
1,
false
],
null
]
],
"table_units": [
[
"table_unit",
1
],
[
"table_unit",
2
],
[
"table_unit",
0
]
]
},
"groupBy": [],
"having": [],
"intersect": null,
"limit": null,
"orderBy": [],
"select": [
false,
[
[
0,
[
0,
[
0,
7,
false
],
null
]
]
]
],
"union": null,
"where": [
[
false,
2,
[
0,
[
0,
2,
false
],
null
],
"\"CProxy\"",
null
],
"and",
[
false,
3,
[
0,
[
0,
11,
false
],
null
],
1998.0,
null
]
]
}
},
{
"db_id": "browser_web",
"query": "SELECT T1.id , T1.Name FROM web_client_accelerator AS T1 JOIN accelerator_compatible_browser AS T2 ON T2.accelerator_id = T1.id GROUP BY T1.id HAVING count(*) >= 2",
"query_toks": [
"SELECT",
"T1.id",
",",
"T1.Name",
"FROM",
"web_client_accelerator",
"AS",
"T1",
"JOIN",
"accelerator_compatible_browser",
"AS",
"T2",
"ON",
"T2.accelerator_id",
"=",
"T1.id",
"GROUP",
"BY",
"T1.id",
"HAVING",
"count",
"(",
"*",
")",
">",
"=",
"2"
],
"query_toks_no_value": [
"select",
"t1",
".",
"id",
",",
"t1",
".",
"name",
"from",
"web_client_accelerator",
"as",
"t1",
"join",
"accelerator_compatible_browser",
"as",
"t2",
"on",
"t2",
".",
"accelerator_id",
"=",
"t1",
".",
"id",
"group",
"by",
"t1",
".",
"id",
"having",
"count",
"(",
"*",
")",
">",
"=",
"value"
],
"question": "What are the ids and names of the web accelerators that are compatible with two or more browsers?",
"question_toks": [
"What",
"are",
"the",
"ids",
"and",
"names",
"of",
"the",
"web",
"accelerators",
"that",
"are",
"compatible",
"with",
"two",
"or",
"more",
"browsers",
"?"
],
"sql": {
"except": null,
"from": {
"conds": [
[
false,
2,
[
0,
[
0,
9,
false
],
null
],
[
0,
1,
false
],
null
]
],
"table_units": [
[
"table_unit",
0
],
[
"table_unit",
2
]
]
},
"groupBy": [
[
0,
1,
false
]
],
"having": [
[
false,
5,
[
0,
[
3,
0,
false
],
null
],
2.0,
null
]
],
"intersect": null,
"limit": null,
"orderBy": [],
"select": [
false,
[
[
0,
[
0,
[
0,
1,
false
],
null
]
],
[
0,
[
0,
[
0,
2,
false
],
null
]
]
]
],
"union": null,
"where": []
}
},
{
"db_id": "browser_web",
"query": "SELECT T1.id , T1.name FROM browser AS T1 JOIN accelerator_compatible_browser AS T2 ON T1.id = T2.browser_id GROUP BY T1.id ORDER BY count(*) DESC LIMIT 1",
"query_toks": [
"SELECT",
"T1.id",
",",
"T1.name",
"FROM",
"browser",
"AS",
"T1",
"JOIN",
"accelerator_compatible_browser",
"AS",
"T2",
"ON",
"T1.id",
"=",
"T2.browser_id",
"GROUP",
"BY",
"T1.id",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"DESC",
"LIMIT",
"1"
],
"query_toks_no_value": [
"select",
"t1",
".",
"id",
",",
"t1",
".",
"name",
"from",
"browser",
"as",
"t1",
"join",
"accelerator_compatible_browser",
"as",
"t2",
"on",
"t1",
".",
"id",
"=",
"t2",
".",
"browser_id",
"group",
"by",
"t1",
".",
"id",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"value"
],
"question": "What is the id and name of the browser that is compatible with the most web accelerators?",
"question_toks": [
"What",
"is",
"the",
"id",
"and",
"name",
"of",
"the",
"browser",
"that",
"is",
"compatible",
"with",
"the",
"most",
"web",
"accelerators",
"?"
],
"sql": {
"except": null,
"from": {
"conds": [
[
false,
2,
[
0,
[
0,
6,
false
],
null
],
[
0,
10,
false
],
null
]
],
"table_units": [
[
"table_unit",
1
],
[
"table_unit",
2
]
]
},
"groupBy": [
[
0,
6,
false
]
],
"having": [],
"intersect": null,
"limit": 1,
"orderBy": [
"desc",
[
[
0,
[
3,
0,
false
],
null
]
]
],
"select": [
false,
[
[
0,
[
0,
[
0,
6,
false
],
null
]
],
[
0,
[
0,
[
0,
7,
false
],
null
]
]
]
],
"union": null,
"where": []
}
},
{
"db_id": "browser_web",
"query": "SELECT T1.compatible_since_year FROM accelerator_compatible_browser AS T1 JOIN browser AS T2 ON T1.browser_id = T2.id JOIN web_client_accelerator AS T3 ON T1.accelerator_id = T3.id WHERE T3.name = 'CACHEbox' AND T2.name = 'Internet Explorer'",
"query_toks": [
"SELECT",
"T1.compatible_since_year",
"FROM",
"accelerator_compatible_browser",
"AS",
"T1",
"JOIN",
"browser",
"AS",
"T2",
"ON",
"T1.browser_id",
"=",
"T2.id",
"JOIN",
"web_client_accelerator",
"AS",
"T3",
"ON",
"T1.accelerator_id",
"=",
"T3.id",
"WHERE",
"T3.name",
"=",
"'CACHEbox",
"'",
"AND",
"T2.name",
"=",
"'Internet",
"Explorer",
"'"
],
"query_toks_no_value": [
"select",
"t1",
".",
"compatible_since_year",
"from",
"accelerator_compatible_browser",
"as",
"t1",
"join",
"browser",
"as",
"t2",
"on",
"t1",
".",
"browser_id",
"=",
"t2",
".",
"id",
"join",
"web_client_accelerator",
"as",
"t3",
"on",
"t1",
".",
"accelerator_id",
"=",
"t3",
".",
"id",
"where",
"t3",
".",
"name",
"=",
"value",
"and",
"t2",
".",
"name",
"=",
"value"
],
"question": "When did the web accelerator 'CACHEbox' and browser 'Internet Explorer' become compatible?",
"question_toks": [
"When",
"did",
"the",
"web",
"accelerator",
"'CACHEbox",
"'",
"and",
"browser",
"'Internet",
"Explorer",
"'",
"become",
"compatible",
"?"
],
"sql": {
"except": null,
"from": {
"conds": [
[
false,
2,
[
0,
[
0,
10,
false
],
null
],
[
0,
6,
false
],
null
],
"and",
[
false,
2,
[
0,
[
0,
9,
false
],
null
],
[
0,
1,
false
],
null
]
],
"table_units": [
[
"table_unit",
2
],
[
"table_unit",
1
],
[
"table_unit",
0
]
]
},
"groupBy": [],
"having": [],
"intersect": null,
"limit": null,
"orderBy": [],
"select": [
false,
[
[
0,
[
0,
[
0,
11,
false
],
null
]
]
]
],
"union": null,
"where": [
[
false,
2,
[
0,
[
0,
2,
false
],
null
],
"\"CACHEbox\"",
null
],
"and",
[
false,
2,
[
0,
[
0,
7,
false
],
null
],
"\"Internet Explorer\"",
null
]
]
}
},
{
"db_id": "browser_web",
"query": "SELECT count(DISTINCT client) FROM web_client_accelerator",
"query_toks": [
"SELECT",
"count",
"(",
"DISTINCT",
"client",
")",
"FROM",
"web_client_accelerator"
],
"query_toks_no_value": [
"select",
"count",
"(",
"distinct",
"client",
")",
"from",
"web_client_accelerator"
],
"question": "How many different kinds of clients are supported by the web clients accelerators?",
"question_toks": [
"How",
"many",
"different",
"kinds",
"of",
"clients",
"are",
"supported",
"by",
"the",
"web",
"clients",
"accelerators",
"?"
],
"sql": {
"except": null,
"from": {
"conds": [],
"table_units": [
[
"table_unit",
0
]
]
},
"groupBy": [],
"having": [],
"intersect": null,
"limit": null,
"orderBy": [],
"select": [
false,
[
[
3,
[
0,
[
0,
4,
true
],
null
]
]
]
],
"union": null,
"where": []
}
},
{
"db_id": "browser_web",
"query": "SELECT count(*) FROM web_client_accelerator WHERE id NOT IN ( SELECT accelerator_id FROM accelerator_compatible_browser );",
"query_toks": [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"web_client_accelerator",
"WHERE",
"id",
"NOT",
"IN",
"(",
"SELECT",
"accelerator_id",
"FROM",
"accelerator_compatible_browser",
")",
";"
],
"query_toks_no_value": [
"select",
"count",
"(",
"*",
")",
"from",
"web_client_accelerator",
"where",
"id",
"not",
"in",
"(",
"select",
"accelerator_id",
"from",
"accelerator_compatible_browser",
")"
],
"question": "How many accelerators are not compatible with the browsers listed ?",
"question_toks": [
"How",
"many",
"accelerators",
"are",
"not",
"compatible",
"with",
"the",
"browsers",
"listed",
"?"
],
"sql": {
"except": null,
"from": {
"conds": [],
"table_units": [
[
"table_unit",
0
]
]
},
"groupBy": [],
"having": [],
"intersect": null,
"limit": null,
"orderBy": [],
"select": [
false,
[
[
3,
[
0,
[
0,
0,
false
],
null
]
]
]
],
"union": null,
"where": [
[
true,
8,
[
0,
[
0,
1,
false
],
null
],
{
"except": null,
"from": {
"conds": [],
"table_units": [
[
"table_unit",
2
]
]
},
"groupBy": [],
"having": [],
"intersect": null,
"limit": null,
"orderBy": [],
"select": [
false,
[
[
0,
[
0,
[
0,
9,
false
],
null
]
]
]
],
"union": null,
"where": []
},
null
]
]
}
},
{
"db_id": "browser_web",
"query": "SELECT DISTINCT T1.name FROM web_client_accelerator AS T1 JOIN accelerator_compatible_browser AS T2 ON T2.accelerator_id = T1.id JOIN browser AS T3 ON T2.browser_id = T3.id WHERE T3.market_share > 15;",
"query_toks": [
"SELECT",
"DISTINCT",
"T1.name",
"FROM",
"web_client_accelerator",
"AS",
"T1",
"JOIN",
"accelerator_compatible_browser",
"AS",
"T2",
"ON",
"T2.accelerator_id",
"=",
"T1.id",
"JOIN",
"browser",
"AS",
"T3",
"ON",
"T2.browser_id",
"=",
"T3.id",
"WHERE",
"T3.market_share",
">",
"15",
";"
],
"query_toks_no_value": [
"select",
"distinct",
"t1",
".",
"name",
"from",
"web_client_accelerator",
"as",
"t1",
"join",
"accelerator_compatible_browser",
"as",
"t2",
"on",
"t2",
".",
"accelerator_id",
"=",
"t1",
".",
"id",
"join",
"browser",
"as",
"t3",
"on",
"t2",
".",
"browser_id",
"=",
"t3",
".",
"id",
"where",
"t3",
".",
"market_share",
">",
"value"
],
"question": "What distinct accelerator names are compatible with the browswers that have market share higher than 15?",
"question_toks": [
"What",
"distinct",
"accelerator",
"names",
"are",
"compatible",
"with",
"the",
"browswers",
"that",
"have",
"market",
"share",
"higher",
"than",
"15",
"?"
],
"sql": {
"except": null,
"from": {
"conds": [
[
false,
2,
[
0,
[
0,
9,
false
],
null
],
[
0,
1,
false
],
null
],
"and",
[
false,
2,
[
0,
[
0,
10,
false
],
null
],
[
0,
6,
false
],
null
]
],
"table_units": [
[
"table_unit",
0
],
[
"table_unit",
2
],
[
"table_unit",
1
]
]
},
"groupBy": [],
"having": [],
"intersect": null,
"limit": null,
"orderBy": [],
"select": [
true,
[
[
0,
[
0,
[
0,
2,
false
],
null
]
]
]
],
"union": null,
"where": [
[
false,
3,
[
0,
[
0,
8,
false
],
null
],
15.0,
null
]
]
}
},
{
"db_id": "browser_web",
"query": "SELECT T3.name FROM web_client_accelerator AS T1 JOIN accelerator_compatible_browser AS T2 ON T2.accelerator_id = T1.id JOIN browser AS T3 ON T2.browser_id = T3.id WHERE T1.name = 'CACHEbox' INTERSECT SELECT T3.name FROM web_client_accelerator AS T1 JOIN accelerator_compatible_browser AS T2 ON T2.accelerator_id = T1.id JOIN browser AS T3 ON T2.browser_id = T3.id WHERE T1.name = 'Fasterfox'",
"query_toks": [
"SELECT",
"T3.name",
"FROM",
"web_client_accelerator",
"AS",
"T1",
"JOIN",
"accelerator_compatible_browser",
"AS",
"T2",
"ON",
"T2.accelerator_id",
"=",
"T1.id",
"JOIN",
"browser",
"AS",
"T3",
"ON",
"T2.browser_id",
"=",
"T3.id",
"WHERE",
"T1.name",
"=",
"'CACHEbox",
"'",
"INTERSECT",
"SELECT",
"T3.name",
"FROM",
"web_client_accelerator",
"AS",
"T1",
"JOIN",
"accelerator_compatible_browser",
"AS",
"T2",
"ON",
"T2.accelerator_id",
"=",
"T1.id",
"JOIN",
"browser",
"AS",
"T3",
"ON",
"T2.browser_id",
"=",
"T3.id",
"WHERE",
"T1.name",
"=",
"'Fasterfox",
"'"
],
"query_toks_no_value": [
"select",
"t3",
".",
"name",
"from",
"web_client_accelerator",
"as",
"t1",
"join",
"accelerator_compatible_browser",
"as",
"t2",
"on",
"t2",
".",
"accelerator_id",
"=",
"t1",
".",
"id",
"join",
"browser",
"as",
"t3",
"on",
"t2",
".",
"browser_id",
"=",
"t3",
".",
"id",
"where",
"t1",
".",
"name",
"=",
"value",
"intersect",
"select",
"t3",
".",
"name",
"from",
"web_client_accelerator",
"as",
"t1",
"join",
"accelerator_compatible_browser",
"as",
"t2",
"on",
"t2",
".",
"accelerator_id",
"=",
"t1",
".",
"id",
"join",
"browser",
"as",
"t3",
"on",
"t2",
".",
"browser_id",
"=",
"t3",
".",
"id",
"where",
"t1",
".",
"name",
"=",
"value"
],
"question": "List the names of the browser that are compatible with both 'CACHEbox' and 'Fasterfox'.",
"question_toks": [
"List",
"the",
"names",
"of",
"the",
"browser",
"that",
"are",
"compatible",
"with",
"both",
"'CACHEbox",
"'",
"and",
"'Fasterfox",
"'",
"."
],
"sql": {
"except": null,
"from": {
"conds": [
[
false,
2,
[
0,
[
0,
9,
false
],
null
],
[
0,
1,
false
],
null
],
"and",
[
false,
2,
[
0,
[
0,
10,
false
],
null
],
[
0,
6,
false
],
null
]
],
"table_units": [
[
"table_unit",
0
],
[
"table_unit",
2
],
[
"table_unit",
1
]
]
},
"groupBy": [],
"having": [],
"intersect": {
"except": null,
"from": {
"conds": [
[
false,
2,
[
0,
[
0,
9,
false
],
null
],
[
0,
1,
false
],
null
],
"and",
[
false,
2,
[
0,
[
0,
10,
false
],
null
],
[
0,
6,
false
],
null
]
],
"table_units": [
[
"table_unit",
0
],
[
"table_unit",
2
],
[
"table_unit",
1
]
]
},
"groupBy": [],
"having": [],
"intersect": null,
"limit": null,
"orderBy": [],
"select": [
false,
[
[
0,
[
0,
[
0,
7,
false
],
null
]
]
]
],
"union": null,
"where": [
[
false,
2,
[
0,
[
0,
2,
false
],
null
],
"\"Fasterfox\"",
null
]
]
},
"limit": null,
"orderBy": [],
"select": [
false,
[
[
0,
[
0,
[
0,
7,
false
],
null
]
]
]
],
"union": null,
"where": [
[
false,
2,
[
0,
[
0,
2,
false
],
null
],
"\"CACHEbox\"",
null
]
]
}
},
{
"db_id": "browser_web",
"query": "SELECT name , operating_system FROM web_client_accelerator EXCEPT SELECT T1.name , T1.operating_system FROM web_client_accelerator AS T1 JOIN accelerator_compatible_browser AS T2 ON T2.accelerator_id = T1.id JOIN browser AS T3 ON T2.browser_id = T3.id WHERE T3.name = 'Opera'",
"query_toks": [
"SELECT",
"name",
",",
"operating_system",
"FROM",
"web_client_accelerator",
"EXCEPT",
"SELECT",
"T1.name",
",",
"T1.operating_system",
"FROM",
"web_client_accelerator",
"AS",
"T1",
"JOIN",
"accelerator_compatible_browser",
"AS",
"T2",
"ON",
"T2.accelerator_id",
"=",
"T1.id",
"JOIN",
"browser",
"AS",
"T3",
"ON",
"T2.browser_id",
"=",
"T3.id",
"WHERE",
"T3.name",
"=",
"'Opera",
"'"
],
"query_toks_no_value": [
"select",
"name",
",",
"operating_system",
"from",
"web_client_accelerator",
"except",
"select",
"t1",
".",
"name",
",",
"t1",
".",
"operating_system",
"from",
"web_client_accelerator",
"as",
"t1",
"join",
"accelerator_compatible_browser",
"as",
"t2",
"on",
"t2",
".",
"accelerator_id",
"=",
"t1",
".",
"id",
"join",
"browser",
"as",
"t3",
"on",
"t2",
".",
"browser_id",
"=",
"t3",
".",
"id",
"where",
"t3",
".",
"name",
"=",
"value"
],
"question": "Show the accelerator names and supporting operating systems that are not compatible with the browser named 'Opera'.",
"question_toks": [
"Show",
"the",
"accelerator",
"names",
"and",
"supporting",
"operating",
"systems",
"that",
"are",
"not",
"compatible",
"with",
"the",
"browser",
"named",
"'Opera",
"'",
"."
],
"sql": {
"except": {
"except": null,
"from": {
"conds": [
[
false,
2,
[
0,
[
0,
9,
false
],
null
],
[
0,
1,
false
],
null
],
"and",
[
false,
2,
[
0,
[
0,
10,
false
],
null
],
[
0,
6,
false
],
null
]
],
"table_units": [
[
"table_unit",
0
],
[
"table_unit",
2
],
[
"table_unit",
1
]
]
},
"groupBy": [],
"having": [],
"intersect": null,
"limit": null,
"orderBy": [],
"select": [
false,
[
[
0,
[
0,
[
0,
2,
false
],
null
]
],
[
0,
[
0,
[
0,
3,
false
],
null
]
]
]
],
"union": null,
"where": [
[
false,
2,
[
0,
[
0,
7,
false
],
null
],
"\"Opera\"",
null
]
]
},
"from": {
"conds": [],
"table_units": [
[
"table_unit",
0
]
]
},
"groupBy": [],
"having": [],
"intersect": null,
"limit": null,
"orderBy": [],
"select": [
false,
[
[
0,
[
0,
[
0,
2,
false
],
null
]
],
[
0,
[
0,
[
0,
3,
false
],
null
]
]
]
],
"union": null,
"where": []
}
},
{
"db_id": "browser_web",
"query": "SELECT name FROM web_client_accelerator WHERE name LIKE \"%Opera%\"",
"query_toks": [
"SELECT",
"name",
"FROM",
"web_client_accelerator",
"WHERE",
"name",
"LIKE",
"``",
"%",
"Opera",
"%",
"''"
],
"query_toks_no_value": [
"select",
"name",
"from",
"web_client_accelerator",
"where",
"name",
"like",
"value"
],
"question": "Which accelerator name contains substring \"Opera\"?",
"question_toks": [
"Which",
"accelerator",
"name",
"contains",
"substring",
"``",
"Opera",
"''",
"?"
],
"sql": {
"except": null,
"from": {
"conds": [],
"table_units": [
[
"table_unit",
0
]
]
},
"groupBy": [],
"having": [],
"intersect": null,
"limit": null,
"orderBy": [],
"select": [
false,
[
[
0,
[
0,
[
0,
2,
false
],
null
]
]
]
],
"union": null,
"where": [
[
false,
9,
[
0,
[
0,
2,
false
],
null
],
"\"%Opera%\"",
null
]
]
}
},
{
"db_id": "browser_web",
"query": "SELECT Operating_system , count(*) FROM web_client_accelerator GROUP BY Operating_system",
"query_toks": [
"SELECT",
"Operating_system",
",",
"count",
"(",
"*",
")",
"FROM",
"web_client_accelerator",
"GROUP",
"BY",
"Operating_system"
],
"query_toks_no_value": [
"select",
"operating_system",
",",
"count",
"(",
"*",
")",
"from",
"web_client_accelerator",
"group",
"by",
"operating_system"
],
"question": "Find the number of web accelerators used for each Operating system.",
"question_toks": [
"Find",
"the",
"number",
"of",
"web",
"accelerators",
"used",
"for",
"each",
"Operating",
"system",
"."
],
"sql": {
"except": null,
"from": {
"conds": [],
"table_units": [
[
"table_unit",
0
]
]
},
"groupBy": [
[
0,
3,
false
]
],
"having": [],
"intersect": null,
"limit": null,
"orderBy": [],
"select": [
false,
[
[
0,
[
0,
[
0,
3,
false
],
null
]
],
[
3,
[
0,
[
0,
0,
false
],
null
]
]
]
],
"union": null,
"where": []
}
},
{
"db_id": "browser_web",
"query": "SELECT T2.name , T3.name FROM accelerator_compatible_browser AS T1 JOIN browser AS T2 ON T1.browser_id = T2.id JOIN web_client_accelerator AS T3 ON T1.accelerator_id = T3.id ORDER BY T1.compatible_since_year DESC",
"query_toks": [
"SELECT",
"T2.name",
",",
"T3.name",
"FROM",
"accelerator_compatible_browser",
"AS",
"T1",
"JOIN",
"browser",
"AS",
"T2",
"ON",
"T1.browser_id",
"=",
"T2.id",
"JOIN",
"web_client_accelerator",
"AS",
"T3",
"ON",
"T1.accelerator_id",
"=",
"T3.id",
"ORDER",
"BY",
"T1.compatible_since_year",
"DESC"
],
"query_toks_no_value": [
"select",
"t2",
".",
"name",
",",
"t3",
".",
"name",
"from",
"accelerator_compatible_browser",
"as",
"t1",
"join",
"browser",
"as",
"t2",
"on",
"t1",
".",
"browser_id",
"=",
"t2",
".",
"id",
"join",
"web_client_accelerator",
"as",
"t3",
"on",
"t1",
".",
"accelerator_id",
"=",
"t3",
".",
"id",
"order",
"by",
"t1",
".",
"compatible_since_year",
"desc"
],
"question": "give me names of all compatible browsers and accelerators in the descending order of compatible year",
"question_toks": [
"give",
"me",
"names",
"of",
"all",
"compatible",
"browsers",
"and",
"accelerators",
"in",
"the",
"descending",
"order",
"of",
"compatible",
"year"
],
"sql": {
"except": null,
"from": {
"conds": [
[
false,
2,
[
0,
[
0,
10,
false
],
null
],
[
0,
6,
false
],
null
],
"and",
[
false,
2,
[
0,
[
0,
9,
false
],
null
],
[
0,
1,
false
],
null
]
],
"table_units": [
[
"table_unit",
2
],
[
"table_unit",
1
],
[
"table_unit",
0
]
]
},
"groupBy": [],
"having": [],
"intersect": null,
"limit": null,
"orderBy": [
"desc",
[
[
0,
[
0,
11,
false
],
null
]
]
],
"select": [
false,
[
[
0,
[
0,
[
0,
7,
false
],
null
]
],
[
0,
[
0,
[
0,
2,
false
],
null
]
]
]
],
"union": null,
"where": []
}
}
]