query
stringlengths 18
577
| table_names
sequence | tables
sequence | answer
stringlengths 45
443k
| source
stringlengths 139
60.7M
| target
stringlengths 19
480k
|
---|---|---|---|---|---|
SELECT Country_name , COUNT(*) FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id = T2.Country GROUP BY T1.Country_name | [
"country",
"match_season"
] | [
"{\"columns\":[\"Country_id\",\"Country_name\",\"Capital\",\"Official_native_language\"],\"index\":[0,1,2,3,4,5],\"data\":[[1,\"Indonesia\",\"Jakarta\",\"Bahasa Indonesia\"],[2,\"Iran\",\"Tehran\",\"Persian ( Arabic script )\"],[3,\"Iraq\",\"Baghdad\",\"Arabic ( Arabic script ) Kurdish\"],[4,\"Ireland\",\"Dublin\",\"Irish English\"],[5,\"Isle of Man\",\"Douglas\",\"English Manx\"],[6,\"United States\",\"Washington\",\"English\"]]}",
"{\"columns\":[\"Season\",\"Player\",\"Position\",\"Country\",\"Team\",\"Draft_Pick_Number\",\"Draft_Class\",\"College\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15],\"data\":[[1996.0,\"Steve Ralston Category:Articles with hCards\",\"Midfielder\",6,1,18,\"1996 MLS College Draft\",\"Florida International\"],[1997.0,\"Mike Duhaney Category:Articles with hCards\",\"Defender\",6,2,87,\"1996 MLS Inaugural Player Draft\",\"UNLV\"],[1998.0,\"Ben Olsen Category:Articles with hCards\",\"Midfielder\",4,3,2,\"Project-40\",\"Virginia\"],[1999.0,\"Jay Heaps Category:Articles with hCards\",\"Defender\",5,4,5,\"1999 MLS College Draft\",\"Duke\"],[2000.0,\"Carlos Bocanegra Category:Articles with hCards\",\"Defender\",5,5,4,\"2000 MLS SuperDraft\",\"UCLA\"],[2001.0,\"Rodrigo Faria Category:Articles with hCards\",\"Forward\",4,5,13,\"2001 MLS SuperDraft\",\"Concordia College\"],[2002.0,\"Kyle Martino Category:Articles with hCards\",\"Midfielder\",6,3,8,\"2002 MLS SuperDraft\",\"Virginia\"],[2003.0,\"Damani Ralph Category:Articles with hCards\",\"Forward\",1,2,18,\"2003 MLS SuperDraft\",\"Connecticut\"],[2004.0,\"Clint Dempsey Category:Articles with hCards\",\"Midfielder\",6,3,8,\"2004 MLS SuperDraft\",\"Furman\"],[2005.0,\"Michael Parkhurst Category:Articles with hCards\",\"Defender\",6,4,9,\"2005 MLS SuperDraft\",\"Wake Forest\"],[2006.0,\"Jonathan Bornstein Category:Articles with hCards\",\"Defender\",6,10,37,\"2006 MLS SuperDraft\",\"UCLA\"],[2007.0,\"Maurice Edu Category:Articles with hCards\",\"Midfielder\",4,9,1,\"2007 MLS SuperDraft\",\"Maryland\"],[2008.0,\"Sean Franklin Category:Articles with hCards\",\"Defender\",6,5,4,\"2008 MLS SuperDraft\",\"Cal State Northridge\"],[2009.0,\"Omar Gonzalez Category:Articles with hCards\",\"Defender\",6,5,3,\"2009 MLS SuperDraft\",\"Maryland\"],[2010.0,\"Andy Najar Category:Articles with hCards\",\"Midfielder\",4,5,6,\"D.C. United Academy\",\"none\"],[2011.0,\"C. J. Sapong Category:Articles with hCards\",\"Forward\",6,3,10,\"2011 MLS SuperDraft\",\"James Madison\"]]}"
] | {"columns":["Country_name","COUNT(*)"],"index":[0,1,2,3],"data":[["Indonesia",1],["Ireland",4],["Isle of Man",2],["United States",9]]} | SELECT Country_name , COUNT(*) FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id = T2.Country GROUP BY T1.Country_name <table_name> : country col : Country_id | Country_name | Capital | Official_native_language row 1 : 1 | Indonesia | Jakarta | Bahasa Indonesia row 2 : 2 | Iran | Tehran | Persian ( Arabic script ) row 3 : 3 | Iraq | Baghdad | Arabic ( Arabic script ) Kurdish row 4 : 4 | Ireland | Dublin | Irish English row 5 : 5 | Isle of Man | Douglas | English Manx row 6 : 6 | United States | Washington | English <table_name> : match_season col : Season | Player | Position | Country | Team | Draft_Pick_Number | Draft_Class | College row 1 : 1996 | Steve Ralston Category:Articles with hCards | Midfielder | 6 | 1 | 18 | 1996 MLS College Draft | Florida International row 2 : 1997 | Mike Duhaney Category:Articles with hCards | Defender | 6 | 2 | 87 | 1996 MLS Inaugural Player Draft | UNLV row 3 : 1998 | Ben Olsen Category:Articles with hCards | Midfielder | 4 | 3 | 2 | Project-40 | Virginia row 4 : 1999 | Jay Heaps Category:Articles with hCards | Defender | 5 | 4 | 5 | 1999 MLS College Draft | Duke row 5 : 2000 | Carlos Bocanegra Category:Articles with hCards | Defender | 5 | 5 | 4 | 2000 MLS SuperDraft | UCLA row 6 : 2001 | Rodrigo Faria Category:Articles with hCards | Forward | 4 | 5 | 13 | 2001 MLS SuperDraft | Concordia College row 7 : 2002 | Kyle Martino Category:Articles with hCards | Midfielder | 6 | 3 | 8 | 2002 MLS SuperDraft | Virginia row 8 : 2003 | Damani Ralph Category:Articles with hCards | Forward | 1 | 2 | 18 | 2003 MLS SuperDraft | Connecticut row 9 : 2004 | Clint Dempsey Category:Articles with hCards | Midfielder | 6 | 3 | 8 | 2004 MLS SuperDraft | Furman row 10 : 2005 | Michael Parkhurst Category:Articles with hCards | Defender | 6 | 4 | 9 | 2005 MLS SuperDraft | Wake Forest row 11 : 2006 | Jonathan Bornstein Category:Articles with hCards | Defender | 6 | 10 | 37 | 2006 MLS SuperDraft | UCLA row 12 : 2007 | Maurice Edu Category:Articles with hCards | Midfielder | 4 | 9 | 1 | 2007 MLS SuperDraft | Maryland row 13 : 2008 | Sean Franklin Category:Articles with hCards | Defender | 6 | 5 | 4 | 2008 MLS SuperDraft | Cal State Northridge row 14 : 2009 | Omar Gonzalez Category:Articles with hCards | Defender | 6 | 5 | 3 | 2009 MLS SuperDraft | Maryland row 15 : 2010 | Andy Najar Category:Articles with hCards | Midfielder | 4 | 5 | 6 | D.C. United Academy | none row 16 : 2011 | C. J. Sapong Category:Articles with hCards | Forward | 6 | 3 | 10 | 2011 MLS SuperDraft | James Madison | col : Country_name | COUNT(*) row 1 : Indonesia | 1 row 2 : Ireland | 4 row 3 : Isle of Man | 2 row 4 : United States | 9 |
SELECT player FROM match_season ORDER BY College ASC | [
"match_season",
"player"
] | [
"{\"columns\":[\"Season\",\"Player\",\"Position\",\"Country\",\"Team\",\"Draft_Pick_Number\",\"Draft_Class\",\"College\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15],\"data\":[[1996.0,\"Steve Ralston Category:Articles with hCards\",\"Midfielder\",6,1,18,\"1996 MLS College Draft\",\"Florida International\"],[1997.0,\"Mike Duhaney Category:Articles with hCards\",\"Defender\",6,2,87,\"1996 MLS Inaugural Player Draft\",\"UNLV\"],[1998.0,\"Ben Olsen Category:Articles with hCards\",\"Midfielder\",4,3,2,\"Project-40\",\"Virginia\"],[1999.0,\"Jay Heaps Category:Articles with hCards\",\"Defender\",5,4,5,\"1999 MLS College Draft\",\"Duke\"],[2000.0,\"Carlos Bocanegra Category:Articles with hCards\",\"Defender\",5,5,4,\"2000 MLS SuperDraft\",\"UCLA\"],[2001.0,\"Rodrigo Faria Category:Articles with hCards\",\"Forward\",4,5,13,\"2001 MLS SuperDraft\",\"Concordia College\"],[2002.0,\"Kyle Martino Category:Articles with hCards\",\"Midfielder\",6,3,8,\"2002 MLS SuperDraft\",\"Virginia\"],[2003.0,\"Damani Ralph Category:Articles with hCards\",\"Forward\",1,2,18,\"2003 MLS SuperDraft\",\"Connecticut\"],[2004.0,\"Clint Dempsey Category:Articles with hCards\",\"Midfielder\",6,3,8,\"2004 MLS SuperDraft\",\"Furman\"],[2005.0,\"Michael Parkhurst Category:Articles with hCards\",\"Defender\",6,4,9,\"2005 MLS SuperDraft\",\"Wake Forest\"],[2006.0,\"Jonathan Bornstein Category:Articles with hCards\",\"Defender\",6,10,37,\"2006 MLS SuperDraft\",\"UCLA\"],[2007.0,\"Maurice Edu Category:Articles with hCards\",\"Midfielder\",4,9,1,\"2007 MLS SuperDraft\",\"Maryland\"],[2008.0,\"Sean Franklin Category:Articles with hCards\",\"Defender\",6,5,4,\"2008 MLS SuperDraft\",\"Cal State Northridge\"],[2009.0,\"Omar Gonzalez Category:Articles with hCards\",\"Defender\",6,5,3,\"2009 MLS SuperDraft\",\"Maryland\"],[2010.0,\"Andy Najar Category:Articles with hCards\",\"Midfielder\",4,5,6,\"D.C. United Academy\",\"none\"],[2011.0,\"C. J. Sapong Category:Articles with hCards\",\"Forward\",6,3,10,\"2011 MLS SuperDraft\",\"James Madison\"]]}",
"{\"columns\":[\"Player_ID\",\"Player\",\"Years_Played\",\"Total_WL\",\"Singles_WL\",\"Doubles_WL\",\"Team\"],\"index\":[0,1,2,3,4,5,6,7,8,9],\"data\":[[1,\"Cho Soong-Jae (630)\",\"1 (2011)\",\"2\\u00e2\\u0080\\u00930\",\"1\\u00e2\\u0080\\u00930\",\"1\\u00e2\\u0080\\u00930\",1],[2,\"Chung Hong (717)\",\"1 (2011)\",\"0\\u00e2\\u0080\\u00930\",\"0\\u00e2\\u0080\\u00930\",\"0\\u00e2\\u0080\\u00930\",1],[3,\"Im Kyu-tae (492)\",\"8 (2003\\u00e2\\u0080\\u00932005, 2007\\u00e2\\u0080\\u00932011)\",\"6\\u00e2\\u0080\\u00939\",\"5\\u00e2\\u0080\\u00937\",\"1\\u00e2\\u0080\\u00932\",1],[4,\"Jeong Suk-Young (793)\",\"2 (2010\\u00e2\\u0080\\u00932011)\",\"1\\u00e2\\u0080\\u00932\",\"1\\u00e2\\u0080\\u00932\",\"0\\u00e2\\u0080\\u00930\",1],[5,\"Kim Hyun-Joon (908)\",\"2 (2010\\u00e2\\u0080\\u00932011)\",\"3\\u00e2\\u0080\\u00934\",\"2\\u00e2\\u0080\\u00931\",\"1\\u00e2\\u0080\\u00933\",2],[6,\"Kim Young-Jun (474)\",\"4 (2003\\u00e2\\u0080\\u00932004, 2010\\u00e2\\u0080\\u00932011)\",\"6\\u00e2\\u0080\\u00934\",\"6\\u00e2\\u0080\\u00933\",\"0\\u00e2\\u0080\\u00931\",4],[7,\"Lim Yong-Kyu (288)\",\"3 (2009\\u00e2\\u0080\\u00932011)\",\"7\\u00e2\\u0080\\u00936\",\"5\\u00e2\\u0080\\u00936\",\"2\\u00e2\\u0080\\u00930\",6],[8,\"Seol Jae-Min (none)\",\"2 (2010-2011)\",\"2\\u00e2\\u0080\\u00932\",\"0\\u00e2\\u0080\\u00930\",\"2\\u00e2\\u0080\\u00932\",1],[9,\"An Jae-Sung\",\"3 (2005, 2007\\u00e2\\u0080\\u00932008)\",\"4\\u00e2\\u0080\\u00933\",\"3\\u00e2\\u0080\\u00932\",\"1\\u00e2\\u0080\\u00931\",1],[10,\"Bae Nam-Ju\",\"2 (1988, 1990)\",\"1\\u00e2\\u0080\\u00933\",\"0\\u00e2\\u0080\\u00932\",\"1\\u00e2\\u0080\\u00931\",8]]}"
] | {"columns":["Player"],"index":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15],"data":[["Sean Franklin Category:Articles with hCards"],["Rodrigo Faria Category:Articles with hCards"],["Damani Ralph Category:Articles with hCards"],["Jay Heaps Category:Articles with hCards"],["Steve Ralston Category:Articles with hCards"],["Clint Dempsey Category:Articles with hCards"],["C. J. Sapong Category:Articles with hCards"],["Maurice Edu Category:Articles with hCards"],["Omar Gonzalez Category:Articles with hCards"],["Carlos Bocanegra Category:Articles with hCards"],["Jonathan Bornstein Category:Articles with hCards"],["Mike Duhaney Category:Articles with hCards"],["Ben Olsen Category:Articles with hCards"],["Kyle Martino Category:Articles with hCards"],["Michael Parkhurst Category:Articles with hCards"],["Andy Najar Category:Articles with hCards"]]} | SELECT player FROM match_season ORDER BY College ASC <table_name> : match_season col : Season | Player | Position | Country | Team | Draft_Pick_Number | Draft_Class | College row 1 : 1996 | Steve Ralston Category:Articles with hCards | Midfielder | 6 | 1 | 18 | 1996 MLS College Draft | Florida International row 2 : 1997 | Mike Duhaney Category:Articles with hCards | Defender | 6 | 2 | 87 | 1996 MLS Inaugural Player Draft | UNLV row 3 : 1998 | Ben Olsen Category:Articles with hCards | Midfielder | 4 | 3 | 2 | Project-40 | Virginia row 4 : 1999 | Jay Heaps Category:Articles with hCards | Defender | 5 | 4 | 5 | 1999 MLS College Draft | Duke row 5 : 2000 | Carlos Bocanegra Category:Articles with hCards | Defender | 5 | 5 | 4 | 2000 MLS SuperDraft | UCLA row 6 : 2001 | Rodrigo Faria Category:Articles with hCards | Forward | 4 | 5 | 13 | 2001 MLS SuperDraft | Concordia College row 7 : 2002 | Kyle Martino Category:Articles with hCards | Midfielder | 6 | 3 | 8 | 2002 MLS SuperDraft | Virginia row 8 : 2003 | Damani Ralph Category:Articles with hCards | Forward | 1 | 2 | 18 | 2003 MLS SuperDraft | Connecticut row 9 : 2004 | Clint Dempsey Category:Articles with hCards | Midfielder | 6 | 3 | 8 | 2004 MLS SuperDraft | Furman row 10 : 2005 | Michael Parkhurst Category:Articles with hCards | Defender | 6 | 4 | 9 | 2005 MLS SuperDraft | Wake Forest row 11 : 2006 | Jonathan Bornstein Category:Articles with hCards | Defender | 6 | 10 | 37 | 2006 MLS SuperDraft | UCLA row 12 : 2007 | Maurice Edu Category:Articles with hCards | Midfielder | 4 | 9 | 1 | 2007 MLS SuperDraft | Maryland row 13 : 2008 | Sean Franklin Category:Articles with hCards | Defender | 6 | 5 | 4 | 2008 MLS SuperDraft | Cal State Northridge row 14 : 2009 | Omar Gonzalez Category:Articles with hCards | Defender | 6 | 5 | 3 | 2009 MLS SuperDraft | Maryland row 15 : 2010 | Andy Najar Category:Articles with hCards | Midfielder | 4 | 5 | 6 | D.C. United Academy | none row 16 : 2011 | C. J. Sapong Category:Articles with hCards | Forward | 6 | 3 | 10 | 2011 MLS SuperDraft | James Madison <table_name> : player col : Player_ID | Player | Years_Played | Total_WL | Singles_WL | Doubles_WL | Team row 1 : 1 | Cho Soong-Jae (630) | 1 (2011) | 2â0 | 1â0 | 1â0 | 1 row 2 : 2 | Chung Hong (717) | 1 (2011) | 0â0 | 0â0 | 0â0 | 1 row 3 : 3 | Im Kyu-tae (492) | 8 (2003â2005, 2007â2011) | 6â9 | 5â7 | 1â2 | 1 row 4 : 4 | Jeong Suk-Young (793) | 2 (2010â2011) | 1â2 | 1â2 | 0â0 | 1 row 5 : 5 | Kim Hyun-Joon (908) | 2 (2010â2011) | 3â4 | 2â1 | 1â3 | 2 row 6 : 6 | Kim Young-Jun (474) | 4 (2003â2004, 2010â2011) | 6â4 | 6â3 | 0â1 | 4 row 7 : 7 | Lim Yong-Kyu (288) | 3 (2009â2011) | 7â6 | 5â6 | 2â0 | 6 row 8 : 8 | Seol Jae-Min (none) | 2 (2010-2011) | 2â2 | 0â0 | 2â2 | 1 row 9 : 9 | An Jae-Sung | 3 (2005, 2007â2008) | 4â3 | 3â2 | 1â1 | 1 row 10 : 10 | Bae Nam-Ju | 2 (1988, 1990) | 1â3 | 0â2 | 1â1 | 8 | col : Player row 1 : Sean Franklin Category:Articles with hCards row 2 : Rodrigo Faria Category:Articles with hCards row 3 : Damani Ralph Category:Articles with hCards row 4 : Jay Heaps Category:Articles with hCards row 5 : Steve Ralston Category:Articles with hCards row 6 : Clint Dempsey Category:Articles with hCards row 7 : C. J. Sapong Category:Articles with hCards row 8 : Maurice Edu Category:Articles with hCards row 9 : Omar Gonzalez Category:Articles with hCards row 10 : Carlos Bocanegra Category:Articles with hCards row 11 : Jonathan Bornstein Category:Articles with hCards row 12 : Mike Duhaney Category:Articles with hCards row 13 : Ben Olsen Category:Articles with hCards row 14 : Kyle Martino Category:Articles with hCards row 15 : Michael Parkhurst Category:Articles with hCards row 16 : Andy Najar Category:Articles with hCards |
SELECT POSITION FROM match_season GROUP BY POSITION ORDER BY count(*) DESC LIMIT 1 | [
"match_season"
] | [
"{\"columns\":[\"Season\",\"Player\",\"Position\",\"Country\",\"Team\",\"Draft_Pick_Number\",\"Draft_Class\",\"College\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15],\"data\":[[1996.0,\"Steve Ralston Category:Articles with hCards\",\"Midfielder\",6,1,18,\"1996 MLS College Draft\",\"Florida International\"],[1997.0,\"Mike Duhaney Category:Articles with hCards\",\"Defender\",6,2,87,\"1996 MLS Inaugural Player Draft\",\"UNLV\"],[1998.0,\"Ben Olsen Category:Articles with hCards\",\"Midfielder\",4,3,2,\"Project-40\",\"Virginia\"],[1999.0,\"Jay Heaps Category:Articles with hCards\",\"Defender\",5,4,5,\"1999 MLS College Draft\",\"Duke\"],[2000.0,\"Carlos Bocanegra Category:Articles with hCards\",\"Defender\",5,5,4,\"2000 MLS SuperDraft\",\"UCLA\"],[2001.0,\"Rodrigo Faria Category:Articles with hCards\",\"Forward\",4,5,13,\"2001 MLS SuperDraft\",\"Concordia College\"],[2002.0,\"Kyle Martino Category:Articles with hCards\",\"Midfielder\",6,3,8,\"2002 MLS SuperDraft\",\"Virginia\"],[2003.0,\"Damani Ralph Category:Articles with hCards\",\"Forward\",1,2,18,\"2003 MLS SuperDraft\",\"Connecticut\"],[2004.0,\"Clint Dempsey Category:Articles with hCards\",\"Midfielder\",6,3,8,\"2004 MLS SuperDraft\",\"Furman\"],[2005.0,\"Michael Parkhurst Category:Articles with hCards\",\"Defender\",6,4,9,\"2005 MLS SuperDraft\",\"Wake Forest\"],[2006.0,\"Jonathan Bornstein Category:Articles with hCards\",\"Defender\",6,10,37,\"2006 MLS SuperDraft\",\"UCLA\"],[2007.0,\"Maurice Edu Category:Articles with hCards\",\"Midfielder\",4,9,1,\"2007 MLS SuperDraft\",\"Maryland\"],[2008.0,\"Sean Franklin Category:Articles with hCards\",\"Defender\",6,5,4,\"2008 MLS SuperDraft\",\"Cal State Northridge\"],[2009.0,\"Omar Gonzalez Category:Articles with hCards\",\"Defender\",6,5,3,\"2009 MLS SuperDraft\",\"Maryland\"],[2010.0,\"Andy Najar Category:Articles with hCards\",\"Midfielder\",4,5,6,\"D.C. United Academy\",\"none\"],[2011.0,\"C. J. Sapong Category:Articles with hCards\",\"Forward\",6,3,10,\"2011 MLS SuperDraft\",\"James Madison\"]]}"
] | {"columns":["Position"],"index":[0],"data":[["Defender"]]} | SELECT POSITION FROM match_season GROUP BY POSITION ORDER BY count(*) DESC LIMIT 1 <table_name> : match_season col : Season | Player | Position | Country | Team | Draft_Pick_Number | Draft_Class | College row 1 : 1996 | Steve Ralston Category:Articles with hCards | Midfielder | 6 | 1 | 18 | 1996 MLS College Draft | Florida International row 2 : 1997 | Mike Duhaney Category:Articles with hCards | Defender | 6 | 2 | 87 | 1996 MLS Inaugural Player Draft | UNLV row 3 : 1998 | Ben Olsen Category:Articles with hCards | Midfielder | 4 | 3 | 2 | Project-40 | Virginia row 4 : 1999 | Jay Heaps Category:Articles with hCards | Defender | 5 | 4 | 5 | 1999 MLS College Draft | Duke row 5 : 2000 | Carlos Bocanegra Category:Articles with hCards | Defender | 5 | 5 | 4 | 2000 MLS SuperDraft | UCLA row 6 : 2001 | Rodrigo Faria Category:Articles with hCards | Forward | 4 | 5 | 13 | 2001 MLS SuperDraft | Concordia College row 7 : 2002 | Kyle Martino Category:Articles with hCards | Midfielder | 6 | 3 | 8 | 2002 MLS SuperDraft | Virginia row 8 : 2003 | Damani Ralph Category:Articles with hCards | Forward | 1 | 2 | 18 | 2003 MLS SuperDraft | Connecticut row 9 : 2004 | Clint Dempsey Category:Articles with hCards | Midfielder | 6 | 3 | 8 | 2004 MLS SuperDraft | Furman row 10 : 2005 | Michael Parkhurst Category:Articles with hCards | Defender | 6 | 4 | 9 | 2005 MLS SuperDraft | Wake Forest row 11 : 2006 | Jonathan Bornstein Category:Articles with hCards | Defender | 6 | 10 | 37 | 2006 MLS SuperDraft | UCLA row 12 : 2007 | Maurice Edu Category:Articles with hCards | Midfielder | 4 | 9 | 1 | 2007 MLS SuperDraft | Maryland row 13 : 2008 | Sean Franklin Category:Articles with hCards | Defender | 6 | 5 | 4 | 2008 MLS SuperDraft | Cal State Northridge row 14 : 2009 | Omar Gonzalez Category:Articles with hCards | Defender | 6 | 5 | 3 | 2009 MLS SuperDraft | Maryland row 15 : 2010 | Andy Najar Category:Articles with hCards | Midfielder | 4 | 5 | 6 | D.C. United Academy | none row 16 : 2011 | C. J. Sapong Category:Articles with hCards | Forward | 6 | 3 | 10 | 2011 MLS SuperDraft | James Madison | col : Position row 1 : Defender |
SELECT College FROM match_season GROUP BY College ORDER BY count(*) DESC LIMIT 3 | [
"match_season"
] | [
"{\"columns\":[\"Season\",\"Player\",\"Position\",\"Country\",\"Team\",\"Draft_Pick_Number\",\"Draft_Class\",\"College\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15],\"data\":[[1996.0,\"Steve Ralston Category:Articles with hCards\",\"Midfielder\",6,1,18,\"1996 MLS College Draft\",\"Florida International\"],[1997.0,\"Mike Duhaney Category:Articles with hCards\",\"Defender\",6,2,87,\"1996 MLS Inaugural Player Draft\",\"UNLV\"],[1998.0,\"Ben Olsen Category:Articles with hCards\",\"Midfielder\",4,3,2,\"Project-40\",\"Virginia\"],[1999.0,\"Jay Heaps Category:Articles with hCards\",\"Defender\",5,4,5,\"1999 MLS College Draft\",\"Duke\"],[2000.0,\"Carlos Bocanegra Category:Articles with hCards\",\"Defender\",5,5,4,\"2000 MLS SuperDraft\",\"UCLA\"],[2001.0,\"Rodrigo Faria Category:Articles with hCards\",\"Forward\",4,5,13,\"2001 MLS SuperDraft\",\"Concordia College\"],[2002.0,\"Kyle Martino Category:Articles with hCards\",\"Midfielder\",6,3,8,\"2002 MLS SuperDraft\",\"Virginia\"],[2003.0,\"Damani Ralph Category:Articles with hCards\",\"Forward\",1,2,18,\"2003 MLS SuperDraft\",\"Connecticut\"],[2004.0,\"Clint Dempsey Category:Articles with hCards\",\"Midfielder\",6,3,8,\"2004 MLS SuperDraft\",\"Furman\"],[2005.0,\"Michael Parkhurst Category:Articles with hCards\",\"Defender\",6,4,9,\"2005 MLS SuperDraft\",\"Wake Forest\"],[2006.0,\"Jonathan Bornstein Category:Articles with hCards\",\"Defender\",6,10,37,\"2006 MLS SuperDraft\",\"UCLA\"],[2007.0,\"Maurice Edu Category:Articles with hCards\",\"Midfielder\",4,9,1,\"2007 MLS SuperDraft\",\"Maryland\"],[2008.0,\"Sean Franklin Category:Articles with hCards\",\"Defender\",6,5,4,\"2008 MLS SuperDraft\",\"Cal State Northridge\"],[2009.0,\"Omar Gonzalez Category:Articles with hCards\",\"Defender\",6,5,3,\"2009 MLS SuperDraft\",\"Maryland\"],[2010.0,\"Andy Najar Category:Articles with hCards\",\"Midfielder\",4,5,6,\"D.C. United Academy\",\"none\"],[2011.0,\"C. J. Sapong Category:Articles with hCards\",\"Forward\",6,3,10,\"2011 MLS SuperDraft\",\"James Madison\"]]}"
] | {"columns":["College"],"index":[0,1,2],"data":[["Maryland"],["UCLA"],["Virginia"]]} | SELECT College FROM match_season GROUP BY College ORDER BY count(*) DESC LIMIT 3 <table_name> : match_season col : Season | Player | Position | Country | Team | Draft_Pick_Number | Draft_Class | College row 1 : 1996 | Steve Ralston Category:Articles with hCards | Midfielder | 6 | 1 | 18 | 1996 MLS College Draft | Florida International row 2 : 1997 | Mike Duhaney Category:Articles with hCards | Defender | 6 | 2 | 87 | 1996 MLS Inaugural Player Draft | UNLV row 3 : 1998 | Ben Olsen Category:Articles with hCards | Midfielder | 4 | 3 | 2 | Project-40 | Virginia row 4 : 1999 | Jay Heaps Category:Articles with hCards | Defender | 5 | 4 | 5 | 1999 MLS College Draft | Duke row 5 : 2000 | Carlos Bocanegra Category:Articles with hCards | Defender | 5 | 5 | 4 | 2000 MLS SuperDraft | UCLA row 6 : 2001 | Rodrigo Faria Category:Articles with hCards | Forward | 4 | 5 | 13 | 2001 MLS SuperDraft | Concordia College row 7 : 2002 | Kyle Martino Category:Articles with hCards | Midfielder | 6 | 3 | 8 | 2002 MLS SuperDraft | Virginia row 8 : 2003 | Damani Ralph Category:Articles with hCards | Forward | 1 | 2 | 18 | 2003 MLS SuperDraft | Connecticut row 9 : 2004 | Clint Dempsey Category:Articles with hCards | Midfielder | 6 | 3 | 8 | 2004 MLS SuperDraft | Furman row 10 : 2005 | Michael Parkhurst Category:Articles with hCards | Defender | 6 | 4 | 9 | 2005 MLS SuperDraft | Wake Forest row 11 : 2006 | Jonathan Bornstein Category:Articles with hCards | Defender | 6 | 10 | 37 | 2006 MLS SuperDraft | UCLA row 12 : 2007 | Maurice Edu Category:Articles with hCards | Midfielder | 4 | 9 | 1 | 2007 MLS SuperDraft | Maryland row 13 : 2008 | Sean Franklin Category:Articles with hCards | Defender | 6 | 5 | 4 | 2008 MLS SuperDraft | Cal State Northridge row 14 : 2009 | Omar Gonzalez Category:Articles with hCards | Defender | 6 | 5 | 3 | 2009 MLS SuperDraft | Maryland row 15 : 2010 | Andy Najar Category:Articles with hCards | Midfielder | 4 | 5 | 6 | D.C. United Academy | none row 16 : 2011 | C. J. Sapong Category:Articles with hCards | Forward | 6 | 3 | 10 | 2011 MLS SuperDraft | James Madison | col : College row 1 : Maryland row 2 : UCLA row 3 : Virginia |
SELECT College FROM match_season GROUP BY College HAVING count(*) >= 2 | [
"match_season"
] | [
"{\"columns\":[\"Season\",\"Player\",\"Position\",\"Country\",\"Team\",\"Draft_Pick_Number\",\"Draft_Class\",\"College\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15],\"data\":[[1996.0,\"Steve Ralston Category:Articles with hCards\",\"Midfielder\",6,1,18,\"1996 MLS College Draft\",\"Florida International\"],[1997.0,\"Mike Duhaney Category:Articles with hCards\",\"Defender\",6,2,87,\"1996 MLS Inaugural Player Draft\",\"UNLV\"],[1998.0,\"Ben Olsen Category:Articles with hCards\",\"Midfielder\",4,3,2,\"Project-40\",\"Virginia\"],[1999.0,\"Jay Heaps Category:Articles with hCards\",\"Defender\",5,4,5,\"1999 MLS College Draft\",\"Duke\"],[2000.0,\"Carlos Bocanegra Category:Articles with hCards\",\"Defender\",5,5,4,\"2000 MLS SuperDraft\",\"UCLA\"],[2001.0,\"Rodrigo Faria Category:Articles with hCards\",\"Forward\",4,5,13,\"2001 MLS SuperDraft\",\"Concordia College\"],[2002.0,\"Kyle Martino Category:Articles with hCards\",\"Midfielder\",6,3,8,\"2002 MLS SuperDraft\",\"Virginia\"],[2003.0,\"Damani Ralph Category:Articles with hCards\",\"Forward\",1,2,18,\"2003 MLS SuperDraft\",\"Connecticut\"],[2004.0,\"Clint Dempsey Category:Articles with hCards\",\"Midfielder\",6,3,8,\"2004 MLS SuperDraft\",\"Furman\"],[2005.0,\"Michael Parkhurst Category:Articles with hCards\",\"Defender\",6,4,9,\"2005 MLS SuperDraft\",\"Wake Forest\"],[2006.0,\"Jonathan Bornstein Category:Articles with hCards\",\"Defender\",6,10,37,\"2006 MLS SuperDraft\",\"UCLA\"],[2007.0,\"Maurice Edu Category:Articles with hCards\",\"Midfielder\",4,9,1,\"2007 MLS SuperDraft\",\"Maryland\"],[2008.0,\"Sean Franklin Category:Articles with hCards\",\"Defender\",6,5,4,\"2008 MLS SuperDraft\",\"Cal State Northridge\"],[2009.0,\"Omar Gonzalez Category:Articles with hCards\",\"Defender\",6,5,3,\"2009 MLS SuperDraft\",\"Maryland\"],[2010.0,\"Andy Najar Category:Articles with hCards\",\"Midfielder\",4,5,6,\"D.C. United Academy\",\"none\"],[2011.0,\"C. J. Sapong Category:Articles with hCards\",\"Forward\",6,3,10,\"2011 MLS SuperDraft\",\"James Madison\"]]}"
] | {"columns":["College"],"index":[0,1,2],"data":[["Maryland"],["UCLA"],["Virginia"]]} | SELECT College FROM match_season GROUP BY College HAVING count(*) >= 2 <table_name> : match_season col : Season | Player | Position | Country | Team | Draft_Pick_Number | Draft_Class | College row 1 : 1996 | Steve Ralston Category:Articles with hCards | Midfielder | 6 | 1 | 18 | 1996 MLS College Draft | Florida International row 2 : 1997 | Mike Duhaney Category:Articles with hCards | Defender | 6 | 2 | 87 | 1996 MLS Inaugural Player Draft | UNLV row 3 : 1998 | Ben Olsen Category:Articles with hCards | Midfielder | 4 | 3 | 2 | Project-40 | Virginia row 4 : 1999 | Jay Heaps Category:Articles with hCards | Defender | 5 | 4 | 5 | 1999 MLS College Draft | Duke row 5 : 2000 | Carlos Bocanegra Category:Articles with hCards | Defender | 5 | 5 | 4 | 2000 MLS SuperDraft | UCLA row 6 : 2001 | Rodrigo Faria Category:Articles with hCards | Forward | 4 | 5 | 13 | 2001 MLS SuperDraft | Concordia College row 7 : 2002 | Kyle Martino Category:Articles with hCards | Midfielder | 6 | 3 | 8 | 2002 MLS SuperDraft | Virginia row 8 : 2003 | Damani Ralph Category:Articles with hCards | Forward | 1 | 2 | 18 | 2003 MLS SuperDraft | Connecticut row 9 : 2004 | Clint Dempsey Category:Articles with hCards | Midfielder | 6 | 3 | 8 | 2004 MLS SuperDraft | Furman row 10 : 2005 | Michael Parkhurst Category:Articles with hCards | Defender | 6 | 4 | 9 | 2005 MLS SuperDraft | Wake Forest row 11 : 2006 | Jonathan Bornstein Category:Articles with hCards | Defender | 6 | 10 | 37 | 2006 MLS SuperDraft | UCLA row 12 : 2007 | Maurice Edu Category:Articles with hCards | Midfielder | 4 | 9 | 1 | 2007 MLS SuperDraft | Maryland row 13 : 2008 | Sean Franklin Category:Articles with hCards | Defender | 6 | 5 | 4 | 2008 MLS SuperDraft | Cal State Northridge row 14 : 2009 | Omar Gonzalez Category:Articles with hCards | Defender | 6 | 5 | 3 | 2009 MLS SuperDraft | Maryland row 15 : 2010 | Andy Najar Category:Articles with hCards | Midfielder | 4 | 5 | 6 | D.C. United Academy | none row 16 : 2011 | C. J. Sapong Category:Articles with hCards | Forward | 6 | 3 | 10 | 2011 MLS SuperDraft | James Madison | col : College row 1 : Maryland row 2 : UCLA row 3 : Virginia |
SELECT College FROM match_season GROUP BY College HAVING count(*) >= 2 ORDER BY College DESC | [
"match_season"
] | [
"{\"columns\":[\"Season\",\"Player\",\"Position\",\"Country\",\"Team\",\"Draft_Pick_Number\",\"Draft_Class\",\"College\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15],\"data\":[[1996.0,\"Steve Ralston Category:Articles with hCards\",\"Midfielder\",6,1,18,\"1996 MLS College Draft\",\"Florida International\"],[1997.0,\"Mike Duhaney Category:Articles with hCards\",\"Defender\",6,2,87,\"1996 MLS Inaugural Player Draft\",\"UNLV\"],[1998.0,\"Ben Olsen Category:Articles with hCards\",\"Midfielder\",4,3,2,\"Project-40\",\"Virginia\"],[1999.0,\"Jay Heaps Category:Articles with hCards\",\"Defender\",5,4,5,\"1999 MLS College Draft\",\"Duke\"],[2000.0,\"Carlos Bocanegra Category:Articles with hCards\",\"Defender\",5,5,4,\"2000 MLS SuperDraft\",\"UCLA\"],[2001.0,\"Rodrigo Faria Category:Articles with hCards\",\"Forward\",4,5,13,\"2001 MLS SuperDraft\",\"Concordia College\"],[2002.0,\"Kyle Martino Category:Articles with hCards\",\"Midfielder\",6,3,8,\"2002 MLS SuperDraft\",\"Virginia\"],[2003.0,\"Damani Ralph Category:Articles with hCards\",\"Forward\",1,2,18,\"2003 MLS SuperDraft\",\"Connecticut\"],[2004.0,\"Clint Dempsey Category:Articles with hCards\",\"Midfielder\",6,3,8,\"2004 MLS SuperDraft\",\"Furman\"],[2005.0,\"Michael Parkhurst Category:Articles with hCards\",\"Defender\",6,4,9,\"2005 MLS SuperDraft\",\"Wake Forest\"],[2006.0,\"Jonathan Bornstein Category:Articles with hCards\",\"Defender\",6,10,37,\"2006 MLS SuperDraft\",\"UCLA\"],[2007.0,\"Maurice Edu Category:Articles with hCards\",\"Midfielder\",4,9,1,\"2007 MLS SuperDraft\",\"Maryland\"],[2008.0,\"Sean Franklin Category:Articles with hCards\",\"Defender\",6,5,4,\"2008 MLS SuperDraft\",\"Cal State Northridge\"],[2009.0,\"Omar Gonzalez Category:Articles with hCards\",\"Defender\",6,5,3,\"2009 MLS SuperDraft\",\"Maryland\"],[2010.0,\"Andy Najar Category:Articles with hCards\",\"Midfielder\",4,5,6,\"D.C. United Academy\",\"none\"],[2011.0,\"C. J. Sapong Category:Articles with hCards\",\"Forward\",6,3,10,\"2011 MLS SuperDraft\",\"James Madison\"]]}"
] | {"columns":["College"],"index":[0,1,2],"data":[["Virginia"],["UCLA"],["Maryland"]]} | SELECT College FROM match_season GROUP BY College HAVING count(*) >= 2 ORDER BY College DESC <table_name> : match_season col : Season | Player | Position | Country | Team | Draft_Pick_Number | Draft_Class | College row 1 : 1996 | Steve Ralston Category:Articles with hCards | Midfielder | 6 | 1 | 18 | 1996 MLS College Draft | Florida International row 2 : 1997 | Mike Duhaney Category:Articles with hCards | Defender | 6 | 2 | 87 | 1996 MLS Inaugural Player Draft | UNLV row 3 : 1998 | Ben Olsen Category:Articles with hCards | Midfielder | 4 | 3 | 2 | Project-40 | Virginia row 4 : 1999 | Jay Heaps Category:Articles with hCards | Defender | 5 | 4 | 5 | 1999 MLS College Draft | Duke row 5 : 2000 | Carlos Bocanegra Category:Articles with hCards | Defender | 5 | 5 | 4 | 2000 MLS SuperDraft | UCLA row 6 : 2001 | Rodrigo Faria Category:Articles with hCards | Forward | 4 | 5 | 13 | 2001 MLS SuperDraft | Concordia College row 7 : 2002 | Kyle Martino Category:Articles with hCards | Midfielder | 6 | 3 | 8 | 2002 MLS SuperDraft | Virginia row 8 : 2003 | Damani Ralph Category:Articles with hCards | Forward | 1 | 2 | 18 | 2003 MLS SuperDraft | Connecticut row 9 : 2004 | Clint Dempsey Category:Articles with hCards | Midfielder | 6 | 3 | 8 | 2004 MLS SuperDraft | Furman row 10 : 2005 | Michael Parkhurst Category:Articles with hCards | Defender | 6 | 4 | 9 | 2005 MLS SuperDraft | Wake Forest row 11 : 2006 | Jonathan Bornstein Category:Articles with hCards | Defender | 6 | 10 | 37 | 2006 MLS SuperDraft | UCLA row 12 : 2007 | Maurice Edu Category:Articles with hCards | Midfielder | 4 | 9 | 1 | 2007 MLS SuperDraft | Maryland row 13 : 2008 | Sean Franklin Category:Articles with hCards | Defender | 6 | 5 | 4 | 2008 MLS SuperDraft | Cal State Northridge row 14 : 2009 | Omar Gonzalez Category:Articles with hCards | Defender | 6 | 5 | 3 | 2009 MLS SuperDraft | Maryland row 15 : 2010 | Andy Najar Category:Articles with hCards | Midfielder | 4 | 5 | 6 | D.C. United Academy | none row 16 : 2011 | C. J. Sapong Category:Articles with hCards | Forward | 6 | 3 | 10 | 2011 MLS SuperDraft | James Madison | col : College row 1 : Virginia row 2 : UCLA row 3 : Maryland |
SELECT Name FROM team WHERE Team_id NOT IN (SELECT Team FROM match_season) | [
"team",
"match_season"
] | [
"{\"columns\":[\"Team_id\",\"Name\"],\"index\":[0,1,2,3,4,5,6,7,8,9],\"data\":[[1,\"Columbus Crew\"],[2,\"Evalyn Feil\"],[3,\"Anais VonRueden\"],[4,\"Miami Fusion\"],[5,\"Enrique Osinski\"],[6,\"Brown Erdman\"],[7,\"Los Angeles Galaxy\"],[8,\"Berneice Hand\"],[9,\"Ryley Goldner\"],[10,\"D.C. United\"]]}",
"{\"columns\":[\"Season\",\"Player\",\"Position\",\"Country\",\"Team\",\"Draft_Pick_Number\",\"Draft_Class\",\"College\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15],\"data\":[[1996.0,\"Steve Ralston Category:Articles with hCards\",\"Midfielder\",6,1,18,\"1996 MLS College Draft\",\"Florida International\"],[1997.0,\"Mike Duhaney Category:Articles with hCards\",\"Defender\",6,2,87,\"1996 MLS Inaugural Player Draft\",\"UNLV\"],[1998.0,\"Ben Olsen Category:Articles with hCards\",\"Midfielder\",4,3,2,\"Project-40\",\"Virginia\"],[1999.0,\"Jay Heaps Category:Articles with hCards\",\"Defender\",5,4,5,\"1999 MLS College Draft\",\"Duke\"],[2000.0,\"Carlos Bocanegra Category:Articles with hCards\",\"Defender\",5,5,4,\"2000 MLS SuperDraft\",\"UCLA\"],[2001.0,\"Rodrigo Faria Category:Articles with hCards\",\"Forward\",4,5,13,\"2001 MLS SuperDraft\",\"Concordia College\"],[2002.0,\"Kyle Martino Category:Articles with hCards\",\"Midfielder\",6,3,8,\"2002 MLS SuperDraft\",\"Virginia\"],[2003.0,\"Damani Ralph Category:Articles with hCards\",\"Forward\",1,2,18,\"2003 MLS SuperDraft\",\"Connecticut\"],[2004.0,\"Clint Dempsey Category:Articles with hCards\",\"Midfielder\",6,3,8,\"2004 MLS SuperDraft\",\"Furman\"],[2005.0,\"Michael Parkhurst Category:Articles with hCards\",\"Defender\",6,4,9,\"2005 MLS SuperDraft\",\"Wake Forest\"],[2006.0,\"Jonathan Bornstein Category:Articles with hCards\",\"Defender\",6,10,37,\"2006 MLS SuperDraft\",\"UCLA\"],[2007.0,\"Maurice Edu Category:Articles with hCards\",\"Midfielder\",4,9,1,\"2007 MLS SuperDraft\",\"Maryland\"],[2008.0,\"Sean Franklin Category:Articles with hCards\",\"Defender\",6,5,4,\"2008 MLS SuperDraft\",\"Cal State Northridge\"],[2009.0,\"Omar Gonzalez Category:Articles with hCards\",\"Defender\",6,5,3,\"2009 MLS SuperDraft\",\"Maryland\"],[2010.0,\"Andy Najar Category:Articles with hCards\",\"Midfielder\",4,5,6,\"D.C. United Academy\",\"none\"],[2011.0,\"C. J. Sapong Category:Articles with hCards\",\"Forward\",6,3,10,\"2011 MLS SuperDraft\",\"James Madison\"]]}"
] | {"columns":["Name"],"index":[0,1,2],"data":[["Brown Erdman"],["Los Angeles Galaxy"],["Berneice Hand"]]} | SELECT Name FROM team WHERE Team_id NOT IN (SELECT Team FROM match_season) <table_name> : team col : Team_id | Name row 1 : 1 | Columbus Crew row 2 : 2 | Evalyn Feil row 3 : 3 | Anais VonRueden row 4 : 4 | Miami Fusion row 5 : 5 | Enrique Osinski row 6 : 6 | Brown Erdman row 7 : 7 | Los Angeles Galaxy row 8 : 8 | Berneice Hand row 9 : 9 | Ryley Goldner row 10 : 10 | D.C. United <table_name> : match_season col : Season | Player | Position | Country | Team | Draft_Pick_Number | Draft_Class | College row 1 : 1996 | Steve Ralston Category:Articles with hCards | Midfielder | 6 | 1 | 18 | 1996 MLS College Draft | Florida International row 2 : 1997 | Mike Duhaney Category:Articles with hCards | Defender | 6 | 2 | 87 | 1996 MLS Inaugural Player Draft | UNLV row 3 : 1998 | Ben Olsen Category:Articles with hCards | Midfielder | 4 | 3 | 2 | Project-40 | Virginia row 4 : 1999 | Jay Heaps Category:Articles with hCards | Defender | 5 | 4 | 5 | 1999 MLS College Draft | Duke row 5 : 2000 | Carlos Bocanegra Category:Articles with hCards | Defender | 5 | 5 | 4 | 2000 MLS SuperDraft | UCLA row 6 : 2001 | Rodrigo Faria Category:Articles with hCards | Forward | 4 | 5 | 13 | 2001 MLS SuperDraft | Concordia College row 7 : 2002 | Kyle Martino Category:Articles with hCards | Midfielder | 6 | 3 | 8 | 2002 MLS SuperDraft | Virginia row 8 : 2003 | Damani Ralph Category:Articles with hCards | Forward | 1 | 2 | 18 | 2003 MLS SuperDraft | Connecticut row 9 : 2004 | Clint Dempsey Category:Articles with hCards | Midfielder | 6 | 3 | 8 | 2004 MLS SuperDraft | Furman row 10 : 2005 | Michael Parkhurst Category:Articles with hCards | Defender | 6 | 4 | 9 | 2005 MLS SuperDraft | Wake Forest row 11 : 2006 | Jonathan Bornstein Category:Articles with hCards | Defender | 6 | 10 | 37 | 2006 MLS SuperDraft | UCLA row 12 : 2007 | Maurice Edu Category:Articles with hCards | Midfielder | 4 | 9 | 1 | 2007 MLS SuperDraft | Maryland row 13 : 2008 | Sean Franklin Category:Articles with hCards | Defender | 6 | 5 | 4 | 2008 MLS SuperDraft | Cal State Northridge row 14 : 2009 | Omar Gonzalez Category:Articles with hCards | Defender | 6 | 5 | 3 | 2009 MLS SuperDraft | Maryland row 15 : 2010 | Andy Najar Category:Articles with hCards | Midfielder | 4 | 5 | 6 | D.C. United Academy | none row 16 : 2011 | C. J. Sapong Category:Articles with hCards | Forward | 6 | 3 | 10 | 2011 MLS SuperDraft | James Madison | col : Name row 1 : Brown Erdman row 2 : Los Angeles Galaxy row 3 : Berneice Hand |
SELECT T1.Country_name FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id = T2.Country WHERE T2.Position = "Forward" INTERSECT SELECT T1.Country_name FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id = T2.Country WHERE T2.Position = "Defender" | [
"country",
"match_season"
] | [
"{\"columns\":[\"Country_id\",\"Country_name\",\"Capital\",\"Official_native_language\"],\"index\":[0,1,2,3,4,5],\"data\":[[1,\"Indonesia\",\"Jakarta\",\"Bahasa Indonesia\"],[2,\"Iran\",\"Tehran\",\"Persian ( Arabic script )\"],[3,\"Iraq\",\"Baghdad\",\"Arabic ( Arabic script ) Kurdish\"],[4,\"Ireland\",\"Dublin\",\"Irish English\"],[5,\"Isle of Man\",\"Douglas\",\"English Manx\"],[6,\"United States\",\"Washington\",\"English\"]]}",
"{\"columns\":[\"Season\",\"Player\",\"Position\",\"Country\",\"Team\",\"Draft_Pick_Number\",\"Draft_Class\",\"College\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15],\"data\":[[1996.0,\"Steve Ralston Category:Articles with hCards\",\"Midfielder\",6,1,18,\"1996 MLS College Draft\",\"Florida International\"],[1997.0,\"Mike Duhaney Category:Articles with hCards\",\"Defender\",6,2,87,\"1996 MLS Inaugural Player Draft\",\"UNLV\"],[1998.0,\"Ben Olsen Category:Articles with hCards\",\"Midfielder\",4,3,2,\"Project-40\",\"Virginia\"],[1999.0,\"Jay Heaps Category:Articles with hCards\",\"Defender\",5,4,5,\"1999 MLS College Draft\",\"Duke\"],[2000.0,\"Carlos Bocanegra Category:Articles with hCards\",\"Defender\",5,5,4,\"2000 MLS SuperDraft\",\"UCLA\"],[2001.0,\"Rodrigo Faria Category:Articles with hCards\",\"Forward\",4,5,13,\"2001 MLS SuperDraft\",\"Concordia College\"],[2002.0,\"Kyle Martino Category:Articles with hCards\",\"Midfielder\",6,3,8,\"2002 MLS SuperDraft\",\"Virginia\"],[2003.0,\"Damani Ralph Category:Articles with hCards\",\"Forward\",1,2,18,\"2003 MLS SuperDraft\",\"Connecticut\"],[2004.0,\"Clint Dempsey Category:Articles with hCards\",\"Midfielder\",6,3,8,\"2004 MLS SuperDraft\",\"Furman\"],[2005.0,\"Michael Parkhurst Category:Articles with hCards\",\"Defender\",6,4,9,\"2005 MLS SuperDraft\",\"Wake Forest\"],[2006.0,\"Jonathan Bornstein Category:Articles with hCards\",\"Defender\",6,10,37,\"2006 MLS SuperDraft\",\"UCLA\"],[2007.0,\"Maurice Edu Category:Articles with hCards\",\"Midfielder\",4,9,1,\"2007 MLS SuperDraft\",\"Maryland\"],[2008.0,\"Sean Franklin Category:Articles with hCards\",\"Defender\",6,5,4,\"2008 MLS SuperDraft\",\"Cal State Northridge\"],[2009.0,\"Omar Gonzalez Category:Articles with hCards\",\"Defender\",6,5,3,\"2009 MLS SuperDraft\",\"Maryland\"],[2010.0,\"Andy Najar Category:Articles with hCards\",\"Midfielder\",4,5,6,\"D.C. United Academy\",\"none\"],[2011.0,\"C. J. Sapong Category:Articles with hCards\",\"Forward\",6,3,10,\"2011 MLS SuperDraft\",\"James Madison\"]]}"
] | {"columns":["Country_name"],"index":[0],"data":[["United States"]]} | SELECT T1.Country_name FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id = T2.Country WHERE T2.Position = "Forward" INTERSECT SELECT T1.Country_name FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id = T2.Country WHERE T2.Position = "Defender" <table_name> : country col : Country_id | Country_name | Capital | Official_native_language row 1 : 1 | Indonesia | Jakarta | Bahasa Indonesia row 2 : 2 | Iran | Tehran | Persian ( Arabic script ) row 3 : 3 | Iraq | Baghdad | Arabic ( Arabic script ) Kurdish row 4 : 4 | Ireland | Dublin | Irish English row 5 : 5 | Isle of Man | Douglas | English Manx row 6 : 6 | United States | Washington | English <table_name> : match_season col : Season | Player | Position | Country | Team | Draft_Pick_Number | Draft_Class | College row 1 : 1996 | Steve Ralston Category:Articles with hCards | Midfielder | 6 | 1 | 18 | 1996 MLS College Draft | Florida International row 2 : 1997 | Mike Duhaney Category:Articles with hCards | Defender | 6 | 2 | 87 | 1996 MLS Inaugural Player Draft | UNLV row 3 : 1998 | Ben Olsen Category:Articles with hCards | Midfielder | 4 | 3 | 2 | Project-40 | Virginia row 4 : 1999 | Jay Heaps Category:Articles with hCards | Defender | 5 | 4 | 5 | 1999 MLS College Draft | Duke row 5 : 2000 | Carlos Bocanegra Category:Articles with hCards | Defender | 5 | 5 | 4 | 2000 MLS SuperDraft | UCLA row 6 : 2001 | Rodrigo Faria Category:Articles with hCards | Forward | 4 | 5 | 13 | 2001 MLS SuperDraft | Concordia College row 7 : 2002 | Kyle Martino Category:Articles with hCards | Midfielder | 6 | 3 | 8 | 2002 MLS SuperDraft | Virginia row 8 : 2003 | Damani Ralph Category:Articles with hCards | Forward | 1 | 2 | 18 | 2003 MLS SuperDraft | Connecticut row 9 : 2004 | Clint Dempsey Category:Articles with hCards | Midfielder | 6 | 3 | 8 | 2004 MLS SuperDraft | Furman row 10 : 2005 | Michael Parkhurst Category:Articles with hCards | Defender | 6 | 4 | 9 | 2005 MLS SuperDraft | Wake Forest row 11 : 2006 | Jonathan Bornstein Category:Articles with hCards | Defender | 6 | 10 | 37 | 2006 MLS SuperDraft | UCLA row 12 : 2007 | Maurice Edu Category:Articles with hCards | Midfielder | 4 | 9 | 1 | 2007 MLS SuperDraft | Maryland row 13 : 2008 | Sean Franklin Category:Articles with hCards | Defender | 6 | 5 | 4 | 2008 MLS SuperDraft | Cal State Northridge row 14 : 2009 | Omar Gonzalez Category:Articles with hCards | Defender | 6 | 5 | 3 | 2009 MLS SuperDraft | Maryland row 15 : 2010 | Andy Najar Category:Articles with hCards | Midfielder | 4 | 5 | 6 | D.C. United Academy | none row 16 : 2011 | C. J. Sapong Category:Articles with hCards | Forward | 6 | 3 | 10 | 2011 MLS SuperDraft | James Madison | col : Country_name row 1 : United States |
SELECT College FROM match_season WHERE POSITION = "Midfielder" INTERSECT SELECT College FROM match_season WHERE POSITION = "Defender" | [
"match_season"
] | [
"{\"columns\":[\"Season\",\"Player\",\"Position\",\"Country\",\"Team\",\"Draft_Pick_Number\",\"Draft_Class\",\"College\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15],\"data\":[[1996.0,\"Steve Ralston Category:Articles with hCards\",\"Midfielder\",6,1,18,\"1996 MLS College Draft\",\"Florida International\"],[1997.0,\"Mike Duhaney Category:Articles with hCards\",\"Defender\",6,2,87,\"1996 MLS Inaugural Player Draft\",\"UNLV\"],[1998.0,\"Ben Olsen Category:Articles with hCards\",\"Midfielder\",4,3,2,\"Project-40\",\"Virginia\"],[1999.0,\"Jay Heaps Category:Articles with hCards\",\"Defender\",5,4,5,\"1999 MLS College Draft\",\"Duke\"],[2000.0,\"Carlos Bocanegra Category:Articles with hCards\",\"Defender\",5,5,4,\"2000 MLS SuperDraft\",\"UCLA\"],[2001.0,\"Rodrigo Faria Category:Articles with hCards\",\"Forward\",4,5,13,\"2001 MLS SuperDraft\",\"Concordia College\"],[2002.0,\"Kyle Martino Category:Articles with hCards\",\"Midfielder\",6,3,8,\"2002 MLS SuperDraft\",\"Virginia\"],[2003.0,\"Damani Ralph Category:Articles with hCards\",\"Forward\",1,2,18,\"2003 MLS SuperDraft\",\"Connecticut\"],[2004.0,\"Clint Dempsey Category:Articles with hCards\",\"Midfielder\",6,3,8,\"2004 MLS SuperDraft\",\"Furman\"],[2005.0,\"Michael Parkhurst Category:Articles with hCards\",\"Defender\",6,4,9,\"2005 MLS SuperDraft\",\"Wake Forest\"],[2006.0,\"Jonathan Bornstein Category:Articles with hCards\",\"Defender\",6,10,37,\"2006 MLS SuperDraft\",\"UCLA\"],[2007.0,\"Maurice Edu Category:Articles with hCards\",\"Midfielder\",4,9,1,\"2007 MLS SuperDraft\",\"Maryland\"],[2008.0,\"Sean Franklin Category:Articles with hCards\",\"Defender\",6,5,4,\"2008 MLS SuperDraft\",\"Cal State Northridge\"],[2009.0,\"Omar Gonzalez Category:Articles with hCards\",\"Defender\",6,5,3,\"2009 MLS SuperDraft\",\"Maryland\"],[2010.0,\"Andy Najar Category:Articles with hCards\",\"Midfielder\",4,5,6,\"D.C. United Academy\",\"none\"],[2011.0,\"C. J. Sapong Category:Articles with hCards\",\"Forward\",6,3,10,\"2011 MLS SuperDraft\",\"James Madison\"]]}"
] | {"columns":["College"],"index":[0],"data":[["Maryland"]]} | SELECT College FROM match_season WHERE POSITION = "Midfielder" INTERSECT SELECT College FROM match_season WHERE POSITION = "Defender" <table_name> : match_season col : Season | Player | Position | Country | Team | Draft_Pick_Number | Draft_Class | College row 1 : 1996 | Steve Ralston Category:Articles with hCards | Midfielder | 6 | 1 | 18 | 1996 MLS College Draft | Florida International row 2 : 1997 | Mike Duhaney Category:Articles with hCards | Defender | 6 | 2 | 87 | 1996 MLS Inaugural Player Draft | UNLV row 3 : 1998 | Ben Olsen Category:Articles with hCards | Midfielder | 4 | 3 | 2 | Project-40 | Virginia row 4 : 1999 | Jay Heaps Category:Articles with hCards | Defender | 5 | 4 | 5 | 1999 MLS College Draft | Duke row 5 : 2000 | Carlos Bocanegra Category:Articles with hCards | Defender | 5 | 5 | 4 | 2000 MLS SuperDraft | UCLA row 6 : 2001 | Rodrigo Faria Category:Articles with hCards | Forward | 4 | 5 | 13 | 2001 MLS SuperDraft | Concordia College row 7 : 2002 | Kyle Martino Category:Articles with hCards | Midfielder | 6 | 3 | 8 | 2002 MLS SuperDraft | Virginia row 8 : 2003 | Damani Ralph Category:Articles with hCards | Forward | 1 | 2 | 18 | 2003 MLS SuperDraft | Connecticut row 9 : 2004 | Clint Dempsey Category:Articles with hCards | Midfielder | 6 | 3 | 8 | 2004 MLS SuperDraft | Furman row 10 : 2005 | Michael Parkhurst Category:Articles with hCards | Defender | 6 | 4 | 9 | 2005 MLS SuperDraft | Wake Forest row 11 : 2006 | Jonathan Bornstein Category:Articles with hCards | Defender | 6 | 10 | 37 | 2006 MLS SuperDraft | UCLA row 12 : 2007 | Maurice Edu Category:Articles with hCards | Midfielder | 4 | 9 | 1 | 2007 MLS SuperDraft | Maryland row 13 : 2008 | Sean Franklin Category:Articles with hCards | Defender | 6 | 5 | 4 | 2008 MLS SuperDraft | Cal State Northridge row 14 : 2009 | Omar Gonzalez Category:Articles with hCards | Defender | 6 | 5 | 3 | 2009 MLS SuperDraft | Maryland row 15 : 2010 | Andy Najar Category:Articles with hCards | Midfielder | 4 | 5 | 6 | D.C. United Academy | none row 16 : 2011 | C. J. Sapong Category:Articles with hCards | Forward | 6 | 3 | 10 | 2011 MLS SuperDraft | James Madison | col : College row 1 : Maryland |
SELECT count(*) FROM climber | [
"climber"
] | [
"{\"columns\":[\"Climber_ID\",\"Name\",\"Country\",\"Time\",\"Points\",\"Mountain_ID\"],\"index\":[0,1,2,3,4,5,6,7,8,9],\"data\":[[1,\"Klaus Enders\",\"West Germany\",\"1:13.05.6\",15.0,1],[2,\"Siegfried Schauzu\",\"West Germany\",\"1:14.56.4\",12.0,1],[3,\"Hans Luthringhauser\",\"West Germany\",\"1:16.58.0\",10.0,2],[4,\"Jean Claude Castella\",\"Switzerland\",\"1:17.16.0\",8.0,2],[5,\"Horst Owesle\",\"West Germany\",\"1:17.22.0\",6.0,2],[6,\"Georg Auerbacher\",\"West Germany\",\"1:18.14.6\",5.0,3],[7,\"Arseneus Butscher\",\"West Germany\",\"1:21.35.6\",4.0,5],[8,\"Charlie Freedman\",\"United Kingdom\",\"1:25.02.8\",3.0,5],[9,\"L Currie\",\"United Kingdom\",\"1:25.40.6\",2.0,7],[10,\"Mick Horsepole\",\"United Kingdom\",\"1:27.28.8\",1.0,7]]}"
] | {"columns":["count(*)"],"index":[0],"data":[[10]]} | SELECT count(*) FROM climber <table_name> : climber col : Climber_ID | Name | Country | Time | Points | Mountain_ID row 1 : 1 | Klaus Enders | West Germany | 1:13.05.6 | 15 | 1 row 2 : 2 | Siegfried Schauzu | West Germany | 1:14.56.4 | 12 | 1 row 3 : 3 | Hans Luthringhauser | West Germany | 1:16.58.0 | 10 | 2 row 4 : 4 | Jean Claude Castella | Switzerland | 1:17.16.0 | 8 | 2 row 5 : 5 | Horst Owesle | West Germany | 1:17.22.0 | 6 | 2 row 6 : 6 | Georg Auerbacher | West Germany | 1:18.14.6 | 5 | 3 row 7 : 7 | Arseneus Butscher | West Germany | 1:21.35.6 | 4 | 5 row 8 : 8 | Charlie Freedman | United Kingdom | 1:25.02.8 | 3 | 5 row 9 : 9 | L Currie | United Kingdom | 1:25.40.6 | 2 | 7 row 10 : 10 | Mick Horsepole | United Kingdom | 1:27.28.8 | 1 | 7 | col : count(*) row 1 : 10 |
SELECT Name FROM climber ORDER BY Points DESC | [
"climber"
] | [
"{\"columns\":[\"Climber_ID\",\"Name\",\"Country\",\"Time\",\"Points\",\"Mountain_ID\"],\"index\":[0,1,2,3,4,5,6,7,8,9],\"data\":[[1,\"Klaus Enders\",\"West Germany\",\"1:13.05.6\",15.0,1],[2,\"Siegfried Schauzu\",\"West Germany\",\"1:14.56.4\",12.0,1],[3,\"Hans Luthringhauser\",\"West Germany\",\"1:16.58.0\",10.0,2],[4,\"Jean Claude Castella\",\"Switzerland\",\"1:17.16.0\",8.0,2],[5,\"Horst Owesle\",\"West Germany\",\"1:17.22.0\",6.0,2],[6,\"Georg Auerbacher\",\"West Germany\",\"1:18.14.6\",5.0,3],[7,\"Arseneus Butscher\",\"West Germany\",\"1:21.35.6\",4.0,5],[8,\"Charlie Freedman\",\"United Kingdom\",\"1:25.02.8\",3.0,5],[9,\"L Currie\",\"United Kingdom\",\"1:25.40.6\",2.0,7],[10,\"Mick Horsepole\",\"United Kingdom\",\"1:27.28.8\",1.0,7]]}"
] | {"columns":["Name"],"index":[0,1,2,3,4,5,6,7,8,9],"data":[["Klaus Enders"],["Siegfried Schauzu"],["Hans Luthringhauser"],["Jean Claude Castella"],["Horst Owesle"],["Georg Auerbacher"],["Arseneus Butscher"],["Charlie Freedman"],["L Currie"],["Mick Horsepole"]]} | SELECT Name FROM climber ORDER BY Points DESC <table_name> : climber col : Climber_ID | Name | Country | Time | Points | Mountain_ID row 1 : 1 | Klaus Enders | West Germany | 1:13.05.6 | 15 | 1 row 2 : 2 | Siegfried Schauzu | West Germany | 1:14.56.4 | 12 | 1 row 3 : 3 | Hans Luthringhauser | West Germany | 1:16.58.0 | 10 | 2 row 4 : 4 | Jean Claude Castella | Switzerland | 1:17.16.0 | 8 | 2 row 5 : 5 | Horst Owesle | West Germany | 1:17.22.0 | 6 | 2 row 6 : 6 | Georg Auerbacher | West Germany | 1:18.14.6 | 5 | 3 row 7 : 7 | Arseneus Butscher | West Germany | 1:21.35.6 | 4 | 5 row 8 : 8 | Charlie Freedman | United Kingdom | 1:25.02.8 | 3 | 5 row 9 : 9 | L Currie | United Kingdom | 1:25.40.6 | 2 | 7 row 10 : 10 | Mick Horsepole | United Kingdom | 1:27.28.8 | 1 | 7 | col : Name row 1 : Klaus Enders row 2 : Siegfried Schauzu row 3 : Hans Luthringhauser row 4 : Jean Claude Castella row 5 : Horst Owesle row 6 : Georg Auerbacher row 7 : Arseneus Butscher row 8 : Charlie Freedman row 9 : L Currie row 10 : Mick Horsepole |
SELECT Name FROM climber WHERE Country != "Switzerland" | [
"climber"
] | [
"{\"columns\":[\"Climber_ID\",\"Name\",\"Country\",\"Time\",\"Points\",\"Mountain_ID\"],\"index\":[0,1,2,3,4,5,6,7,8,9],\"data\":[[1,\"Klaus Enders\",\"West Germany\",\"1:13.05.6\",15.0,1],[2,\"Siegfried Schauzu\",\"West Germany\",\"1:14.56.4\",12.0,1],[3,\"Hans Luthringhauser\",\"West Germany\",\"1:16.58.0\",10.0,2],[4,\"Jean Claude Castella\",\"Switzerland\",\"1:17.16.0\",8.0,2],[5,\"Horst Owesle\",\"West Germany\",\"1:17.22.0\",6.0,2],[6,\"Georg Auerbacher\",\"West Germany\",\"1:18.14.6\",5.0,3],[7,\"Arseneus Butscher\",\"West Germany\",\"1:21.35.6\",4.0,5],[8,\"Charlie Freedman\",\"United Kingdom\",\"1:25.02.8\",3.0,5],[9,\"L Currie\",\"United Kingdom\",\"1:25.40.6\",2.0,7],[10,\"Mick Horsepole\",\"United Kingdom\",\"1:27.28.8\",1.0,7]]}"
] | {"columns":["Name"],"index":[0,1,2,3,4,5,6,7,8],"data":[["Klaus Enders"],["Siegfried Schauzu"],["Hans Luthringhauser"],["Horst Owesle"],["Georg Auerbacher"],["Arseneus Butscher"],["Charlie Freedman"],["L Currie"],["Mick Horsepole"]]} | SELECT Name FROM climber WHERE Country != "Switzerland" <table_name> : climber col : Climber_ID | Name | Country | Time | Points | Mountain_ID row 1 : 1 | Klaus Enders | West Germany | 1:13.05.6 | 15 | 1 row 2 : 2 | Siegfried Schauzu | West Germany | 1:14.56.4 | 12 | 1 row 3 : 3 | Hans Luthringhauser | West Germany | 1:16.58.0 | 10 | 2 row 4 : 4 | Jean Claude Castella | Switzerland | 1:17.16.0 | 8 | 2 row 5 : 5 | Horst Owesle | West Germany | 1:17.22.0 | 6 | 2 row 6 : 6 | Georg Auerbacher | West Germany | 1:18.14.6 | 5 | 3 row 7 : 7 | Arseneus Butscher | West Germany | 1:21.35.6 | 4 | 5 row 8 : 8 | Charlie Freedman | United Kingdom | 1:25.02.8 | 3 | 5 row 9 : 9 | L Currie | United Kingdom | 1:25.40.6 | 2 | 7 row 10 : 10 | Mick Horsepole | United Kingdom | 1:27.28.8 | 1 | 7 | col : Name row 1 : Klaus Enders row 2 : Siegfried Schauzu row 3 : Hans Luthringhauser row 4 : Horst Owesle row 5 : Georg Auerbacher row 6 : Arseneus Butscher row 7 : Charlie Freedman row 8 : L Currie row 9 : Mick Horsepole |
SELECT max(Points) FROM climber WHERE Country = "United Kingdom" | [
"climber"
] | [
"{\"columns\":[\"Climber_ID\",\"Name\",\"Country\",\"Time\",\"Points\",\"Mountain_ID\"],\"index\":[0,1,2,3,4,5,6,7,8,9],\"data\":[[1,\"Klaus Enders\",\"West Germany\",\"1:13.05.6\",15.0,1],[2,\"Siegfried Schauzu\",\"West Germany\",\"1:14.56.4\",12.0,1],[3,\"Hans Luthringhauser\",\"West Germany\",\"1:16.58.0\",10.0,2],[4,\"Jean Claude Castella\",\"Switzerland\",\"1:17.16.0\",8.0,2],[5,\"Horst Owesle\",\"West Germany\",\"1:17.22.0\",6.0,2],[6,\"Georg Auerbacher\",\"West Germany\",\"1:18.14.6\",5.0,3],[7,\"Arseneus Butscher\",\"West Germany\",\"1:21.35.6\",4.0,5],[8,\"Charlie Freedman\",\"United Kingdom\",\"1:25.02.8\",3.0,5],[9,\"L Currie\",\"United Kingdom\",\"1:25.40.6\",2.0,7],[10,\"Mick Horsepole\",\"United Kingdom\",\"1:27.28.8\",1.0,7]]}"
] | {"columns":["max(Points)"],"index":[0],"data":[[3.0]]} | SELECT max(Points) FROM climber WHERE Country = "United Kingdom" <table_name> : climber col : Climber_ID | Name | Country | Time | Points | Mountain_ID row 1 : 1 | Klaus Enders | West Germany | 1:13.05.6 | 15 | 1 row 2 : 2 | Siegfried Schauzu | West Germany | 1:14.56.4 | 12 | 1 row 3 : 3 | Hans Luthringhauser | West Germany | 1:16.58.0 | 10 | 2 row 4 : 4 | Jean Claude Castella | Switzerland | 1:17.16.0 | 8 | 2 row 5 : 5 | Horst Owesle | West Germany | 1:17.22.0 | 6 | 2 row 6 : 6 | Georg Auerbacher | West Germany | 1:18.14.6 | 5 | 3 row 7 : 7 | Arseneus Butscher | West Germany | 1:21.35.6 | 4 | 5 row 8 : 8 | Charlie Freedman | United Kingdom | 1:25.02.8 | 3 | 5 row 9 : 9 | L Currie | United Kingdom | 1:25.40.6 | 2 | 7 row 10 : 10 | Mick Horsepole | United Kingdom | 1:27.28.8 | 1 | 7 | col : max(Points) row 1 : 3 |
SELECT COUNT(DISTINCT Country) FROM climber | [
"climber"
] | [
"{\"columns\":[\"Climber_ID\",\"Name\",\"Country\",\"Time\",\"Points\",\"Mountain_ID\"],\"index\":[0,1,2,3,4,5,6,7,8,9],\"data\":[[1,\"Klaus Enders\",\"West Germany\",\"1:13.05.6\",15.0,1],[2,\"Siegfried Schauzu\",\"West Germany\",\"1:14.56.4\",12.0,1],[3,\"Hans Luthringhauser\",\"West Germany\",\"1:16.58.0\",10.0,2],[4,\"Jean Claude Castella\",\"Switzerland\",\"1:17.16.0\",8.0,2],[5,\"Horst Owesle\",\"West Germany\",\"1:17.22.0\",6.0,2],[6,\"Georg Auerbacher\",\"West Germany\",\"1:18.14.6\",5.0,3],[7,\"Arseneus Butscher\",\"West Germany\",\"1:21.35.6\",4.0,5],[8,\"Charlie Freedman\",\"United Kingdom\",\"1:25.02.8\",3.0,5],[9,\"L Currie\",\"United Kingdom\",\"1:25.40.6\",2.0,7],[10,\"Mick Horsepole\",\"United Kingdom\",\"1:27.28.8\",1.0,7]]}"
] | {"columns":["COUNT(DISTINCT Country)"],"index":[0],"data":[[3]]} | SELECT COUNT(DISTINCT Country) FROM climber <table_name> : climber col : Climber_ID | Name | Country | Time | Points | Mountain_ID row 1 : 1 | Klaus Enders | West Germany | 1:13.05.6 | 15 | 1 row 2 : 2 | Siegfried Schauzu | West Germany | 1:14.56.4 | 12 | 1 row 3 : 3 | Hans Luthringhauser | West Germany | 1:16.58.0 | 10 | 2 row 4 : 4 | Jean Claude Castella | Switzerland | 1:17.16.0 | 8 | 2 row 5 : 5 | Horst Owesle | West Germany | 1:17.22.0 | 6 | 2 row 6 : 6 | Georg Auerbacher | West Germany | 1:18.14.6 | 5 | 3 row 7 : 7 | Arseneus Butscher | West Germany | 1:21.35.6 | 4 | 5 row 8 : 8 | Charlie Freedman | United Kingdom | 1:25.02.8 | 3 | 5 row 9 : 9 | L Currie | United Kingdom | 1:25.40.6 | 2 | 7 row 10 : 10 | Mick Horsepole | United Kingdom | 1:27.28.8 | 1 | 7 | col : COUNT(DISTINCT Country) row 1 : 3 |
SELECT Name FROM mountain ORDER BY Name ASC | [
"mountain"
] | [
"{\"columns\":[\"Mountain_ID\",\"Name\",\"Height\",\"Prominence\",\"Range\",\"Country\"],\"index\":[0,1,2,3,4,5,6],\"data\":[[1,\"Kibo (Uhuru Pk)\",5895.0,5885.0,\"Kilimanjaro\",\"Tanzania\"],[2,\"Mount Kenya (Batian)\",5199.0,3825.0,\"Mount Kenya\",\"Kenya\"],[3,\"Mawenzi (Hans Meyer Pk)\",5148.0,850.0,\"Kilimanjaro\",\"Tanzania\"],[4,\"Ngaliema \\/ Mt Stanley (Margherita Pk)\",5109.0,3951.0,\"Rwenzori\",\"DR Congo Uganda\"],[5,\"Mount Kenya (Lenana)\",4985.0,130.0,\"Mount Kenya\",\"Kenya\"],[6,\"Ngaliema \\/ Mt Stanley (Savoia Pk)\",4977.0,110.0,\"Rwenzori\",\"Uganda\"],[7,\"Duwoni \\/ Mt Speke (Vittorio Emanuele Pk)\",4890.0,720.0,\"Rwenzori\",\"Uganda\"]]}"
] | {"columns":["Name"],"index":[0,1,2,3,4,5,6],"data":[["Duwoni \/ Mt Speke (Vittorio Emanuele Pk)"],["Kibo (Uhuru Pk)"],["Mawenzi (Hans Meyer Pk)"],["Mount Kenya (Batian)"],["Mount Kenya (Lenana)"],["Ngaliema \/ Mt Stanley (Margherita Pk)"],["Ngaliema \/ Mt Stanley (Savoia Pk)"]]} | SELECT Name FROM mountain ORDER BY Name ASC <table_name> : mountain col : Mountain_ID | Name | Height | Prominence | Range | Country row 1 : 1 | Kibo (Uhuru Pk) | 5895 | 5885 | Kilimanjaro | Tanzania row 2 : 2 | Mount Kenya (Batian) | 5199 | 3825 | Mount Kenya | Kenya row 3 : 3 | Mawenzi (Hans Meyer Pk) | 5148 | 850 | Kilimanjaro | Tanzania row 4 : 4 | Ngaliema / Mt Stanley (Margherita Pk) | 5109 | 3951 | Rwenzori | DR Congo Uganda row 5 : 5 | Mount Kenya (Lenana) | 4985 | 130 | Mount Kenya | Kenya row 6 : 6 | Ngaliema / Mt Stanley (Savoia Pk) | 4977 | 110 | Rwenzori | Uganda row 7 : 7 | Duwoni / Mt Speke (Vittorio Emanuele Pk) | 4890 | 720 | Rwenzori | Uganda | col : Name row 1 : Duwoni / Mt Speke (Vittorio Emanuele Pk) row 2 : Kibo (Uhuru Pk) row 3 : Mawenzi (Hans Meyer Pk) row 4 : Mount Kenya (Batian) row 5 : Mount Kenya (Lenana) row 6 : Ngaliema / Mt Stanley (Margherita Pk) row 7 : Ngaliema / Mt Stanley (Savoia Pk) |
SELECT Country FROM mountain WHERE Height > 5000 | [
"mountain"
] | [
"{\"columns\":[\"Mountain_ID\",\"Name\",\"Height\",\"Prominence\",\"Range\",\"Country\"],\"index\":[0,1,2,3,4,5,6],\"data\":[[1,\"Kibo (Uhuru Pk)\",5895.0,5885.0,\"Kilimanjaro\",\"Tanzania\"],[2,\"Mount Kenya (Batian)\",5199.0,3825.0,\"Mount Kenya\",\"Kenya\"],[3,\"Mawenzi (Hans Meyer Pk)\",5148.0,850.0,\"Kilimanjaro\",\"Tanzania\"],[4,\"Ngaliema \\/ Mt Stanley (Margherita Pk)\",5109.0,3951.0,\"Rwenzori\",\"DR Congo Uganda\"],[5,\"Mount Kenya (Lenana)\",4985.0,130.0,\"Mount Kenya\",\"Kenya\"],[6,\"Ngaliema \\/ Mt Stanley (Savoia Pk)\",4977.0,110.0,\"Rwenzori\",\"Uganda\"],[7,\"Duwoni \\/ Mt Speke (Vittorio Emanuele Pk)\",4890.0,720.0,\"Rwenzori\",\"Uganda\"]]}"
] | {"columns":["Country"],"index":[0,1,2,3],"data":[["Tanzania"],["Kenya"],["Tanzania"],["DR Congo Uganda"]]} | SELECT Country FROM mountain WHERE Height > 5000 <table_name> : mountain col : Mountain_ID | Name | Height | Prominence | Range | Country row 1 : 1 | Kibo (Uhuru Pk) | 5895 | 5885 | Kilimanjaro | Tanzania row 2 : 2 | Mount Kenya (Batian) | 5199 | 3825 | Mount Kenya | Kenya row 3 : 3 | Mawenzi (Hans Meyer Pk) | 5148 | 850 | Kilimanjaro | Tanzania row 4 : 4 | Ngaliema / Mt Stanley (Margherita Pk) | 5109 | 3951 | Rwenzori | DR Congo Uganda row 5 : 5 | Mount Kenya (Lenana) | 4985 | 130 | Mount Kenya | Kenya row 6 : 6 | Ngaliema / Mt Stanley (Savoia Pk) | 4977 | 110 | Rwenzori | Uganda row 7 : 7 | Duwoni / Mt Speke (Vittorio Emanuele Pk) | 4890 | 720 | Rwenzori | Uganda | col : Country row 1 : Tanzania row 2 : Kenya row 3 : Tanzania row 4 : DR Congo Uganda |
SELECT Name FROM mountain ORDER BY Height DESC LIMIT 1 | [
"mountain"
] | [
"{\"columns\":[\"Mountain_ID\",\"Name\",\"Height\",\"Prominence\",\"Range\",\"Country\"],\"index\":[0,1,2,3,4,5,6],\"data\":[[1,\"Kibo (Uhuru Pk)\",5895.0,5885.0,\"Kilimanjaro\",\"Tanzania\"],[2,\"Mount Kenya (Batian)\",5199.0,3825.0,\"Mount Kenya\",\"Kenya\"],[3,\"Mawenzi (Hans Meyer Pk)\",5148.0,850.0,\"Kilimanjaro\",\"Tanzania\"],[4,\"Ngaliema \\/ Mt Stanley (Margherita Pk)\",5109.0,3951.0,\"Rwenzori\",\"DR Congo Uganda\"],[5,\"Mount Kenya (Lenana)\",4985.0,130.0,\"Mount Kenya\",\"Kenya\"],[6,\"Ngaliema \\/ Mt Stanley (Savoia Pk)\",4977.0,110.0,\"Rwenzori\",\"Uganda\"],[7,\"Duwoni \\/ Mt Speke (Vittorio Emanuele Pk)\",4890.0,720.0,\"Rwenzori\",\"Uganda\"]]}"
] | {"columns":["Name"],"index":[0],"data":[["Kibo (Uhuru Pk)"]]} | SELECT Name FROM mountain ORDER BY Height DESC LIMIT 1 <table_name> : mountain col : Mountain_ID | Name | Height | Prominence | Range | Country row 1 : 1 | Kibo (Uhuru Pk) | 5895 | 5885 | Kilimanjaro | Tanzania row 2 : 2 | Mount Kenya (Batian) | 5199 | 3825 | Mount Kenya | Kenya row 3 : 3 | Mawenzi (Hans Meyer Pk) | 5148 | 850 | Kilimanjaro | Tanzania row 4 : 4 | Ngaliema / Mt Stanley (Margherita Pk) | 5109 | 3951 | Rwenzori | DR Congo Uganda row 5 : 5 | Mount Kenya (Lenana) | 4985 | 130 | Mount Kenya | Kenya row 6 : 6 | Ngaliema / Mt Stanley (Savoia Pk) | 4977 | 110 | Rwenzori | Uganda row 7 : 7 | Duwoni / Mt Speke (Vittorio Emanuele Pk) | 4890 | 720 | Rwenzori | Uganda | col : Name row 1 : Kibo (Uhuru Pk) |
SELECT DISTINCT Range FROM mountain ORDER BY Prominence DESC LIMIT 3 | [
"mountain"
] | [
"{\"columns\":[\"Mountain_ID\",\"Name\",\"Height\",\"Prominence\",\"Range\",\"Country\"],\"index\":[0,1,2,3,4,5,6],\"data\":[[1,\"Kibo (Uhuru Pk)\",5895.0,5885.0,\"Kilimanjaro\",\"Tanzania\"],[2,\"Mount Kenya (Batian)\",5199.0,3825.0,\"Mount Kenya\",\"Kenya\"],[3,\"Mawenzi (Hans Meyer Pk)\",5148.0,850.0,\"Kilimanjaro\",\"Tanzania\"],[4,\"Ngaliema \\/ Mt Stanley (Margherita Pk)\",5109.0,3951.0,\"Rwenzori\",\"DR Congo Uganda\"],[5,\"Mount Kenya (Lenana)\",4985.0,130.0,\"Mount Kenya\",\"Kenya\"],[6,\"Ngaliema \\/ Mt Stanley (Savoia Pk)\",4977.0,110.0,\"Rwenzori\",\"Uganda\"],[7,\"Duwoni \\/ Mt Speke (Vittorio Emanuele Pk)\",4890.0,720.0,\"Rwenzori\",\"Uganda\"]]}"
] | {"columns":["Range"],"index":[0,1,2],"data":[["Kilimanjaro"],["Rwenzori"],["Mount Kenya"]]} | SELECT DISTINCT Range FROM mountain ORDER BY Prominence DESC LIMIT 3 <table_name> : mountain col : Mountain_ID | Name | Height | Prominence | Range | Country row 1 : 1 | Kibo (Uhuru Pk) | 5895 | 5885 | Kilimanjaro | Tanzania row 2 : 2 | Mount Kenya (Batian) | 5199 | 3825 | Mount Kenya | Kenya row 3 : 3 | Mawenzi (Hans Meyer Pk) | 5148 | 850 | Kilimanjaro | Tanzania row 4 : 4 | Ngaliema / Mt Stanley (Margherita Pk) | 5109 | 3951 | Rwenzori | DR Congo Uganda row 5 : 5 | Mount Kenya (Lenana) | 4985 | 130 | Mount Kenya | Kenya row 6 : 6 | Ngaliema / Mt Stanley (Savoia Pk) | 4977 | 110 | Rwenzori | Uganda row 7 : 7 | Duwoni / Mt Speke (Vittorio Emanuele Pk) | 4890 | 720 | Rwenzori | Uganda | col : Range row 1 : Kilimanjaro row 2 : Rwenzori row 3 : Mount Kenya |
SELECT T1.Name , T2.Name FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID = T2.Mountain_ID | [
"mountain",
"climber"
] | [
"{\"columns\":[\"Mountain_ID\",\"Name\",\"Height\",\"Prominence\",\"Range\",\"Country\"],\"index\":[0,1,2,3,4,5,6],\"data\":[[1,\"Kibo (Uhuru Pk)\",5895.0,5885.0,\"Kilimanjaro\",\"Tanzania\"],[2,\"Mount Kenya (Batian)\",5199.0,3825.0,\"Mount Kenya\",\"Kenya\"],[3,\"Mawenzi (Hans Meyer Pk)\",5148.0,850.0,\"Kilimanjaro\",\"Tanzania\"],[4,\"Ngaliema \\/ Mt Stanley (Margherita Pk)\",5109.0,3951.0,\"Rwenzori\",\"DR Congo Uganda\"],[5,\"Mount Kenya (Lenana)\",4985.0,130.0,\"Mount Kenya\",\"Kenya\"],[6,\"Ngaliema \\/ Mt Stanley (Savoia Pk)\",4977.0,110.0,\"Rwenzori\",\"Uganda\"],[7,\"Duwoni \\/ Mt Speke (Vittorio Emanuele Pk)\",4890.0,720.0,\"Rwenzori\",\"Uganda\"]]}",
"{\"columns\":[\"Climber_ID\",\"Name\",\"Country\",\"Time\",\"Points\",\"Mountain_ID\"],\"index\":[0,1,2,3,4,5,6,7,8,9],\"data\":[[1,\"Klaus Enders\",\"West Germany\",\"1:13.05.6\",15.0,1],[2,\"Siegfried Schauzu\",\"West Germany\",\"1:14.56.4\",12.0,1],[3,\"Hans Luthringhauser\",\"West Germany\",\"1:16.58.0\",10.0,2],[4,\"Jean Claude Castella\",\"Switzerland\",\"1:17.16.0\",8.0,2],[5,\"Horst Owesle\",\"West Germany\",\"1:17.22.0\",6.0,2],[6,\"Georg Auerbacher\",\"West Germany\",\"1:18.14.6\",5.0,3],[7,\"Arseneus Butscher\",\"West Germany\",\"1:21.35.6\",4.0,5],[8,\"Charlie Freedman\",\"United Kingdom\",\"1:25.02.8\",3.0,5],[9,\"L Currie\",\"United Kingdom\",\"1:25.40.6\",2.0,7],[10,\"Mick Horsepole\",\"United Kingdom\",\"1:27.28.8\",1.0,7]]}"
] | {"columns":["Name","Name"],"index":[0,1,2,3,4,5,6,7,8,9],"data":[["Klaus Enders","Kibo (Uhuru Pk)"],["Siegfried Schauzu","Kibo (Uhuru Pk)"],["Hans Luthringhauser","Mount Kenya (Batian)"],["Jean Claude Castella","Mount Kenya (Batian)"],["Horst Owesle","Mount Kenya (Batian)"],["Georg Auerbacher","Mawenzi (Hans Meyer Pk)"],["Arseneus Butscher","Mount Kenya (Lenana)"],["Charlie Freedman","Mount Kenya (Lenana)"],["L Currie","Duwoni \/ Mt Speke (Vittorio Emanuele Pk)"],["Mick Horsepole","Duwoni \/ Mt Speke (Vittorio Emanuele Pk)"]]} | SELECT T1.Name , T2.Name FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID = T2.Mountain_ID <table_name> : mountain col : Mountain_ID | Name | Height | Prominence | Range | Country row 1 : 1 | Kibo (Uhuru Pk) | 5895 | 5885 | Kilimanjaro | Tanzania row 2 : 2 | Mount Kenya (Batian) | 5199 | 3825 | Mount Kenya | Kenya row 3 : 3 | Mawenzi (Hans Meyer Pk) | 5148 | 850 | Kilimanjaro | Tanzania row 4 : 4 | Ngaliema / Mt Stanley (Margherita Pk) | 5109 | 3951 | Rwenzori | DR Congo Uganda row 5 : 5 | Mount Kenya (Lenana) | 4985 | 130 | Mount Kenya | Kenya row 6 : 6 | Ngaliema / Mt Stanley (Savoia Pk) | 4977 | 110 | Rwenzori | Uganda row 7 : 7 | Duwoni / Mt Speke (Vittorio Emanuele Pk) | 4890 | 720 | Rwenzori | Uganda <table_name> : climber col : Climber_ID | Name | Country | Time | Points | Mountain_ID row 1 : 1 | Klaus Enders | West Germany | 1:13.05.6 | 15 | 1 row 2 : 2 | Siegfried Schauzu | West Germany | 1:14.56.4 | 12 | 1 row 3 : 3 | Hans Luthringhauser | West Germany | 1:16.58.0 | 10 | 2 row 4 : 4 | Jean Claude Castella | Switzerland | 1:17.16.0 | 8 | 2 row 5 : 5 | Horst Owesle | West Germany | 1:17.22.0 | 6 | 2 row 6 : 6 | Georg Auerbacher | West Germany | 1:18.14.6 | 5 | 3 row 7 : 7 | Arseneus Butscher | West Germany | 1:21.35.6 | 4 | 5 row 8 : 8 | Charlie Freedman | United Kingdom | 1:25.02.8 | 3 | 5 row 9 : 9 | L Currie | United Kingdom | 1:25.40.6 | 2 | 7 row 10 : 10 | Mick Horsepole | United Kingdom | 1:27.28.8 | 1 | 7 | col : Name -1 | Name -2 row 1 : Klaus Enders | Kibo (Uhuru Pk) row 2 : Siegfried Schauzu | Kibo (Uhuru Pk) row 3 : Hans Luthringhauser | Mount Kenya (Batian) row 4 : Jean Claude Castella | Mount Kenya (Batian) row 5 : Horst Owesle | Mount Kenya (Batian) row 6 : Georg Auerbacher | Mawenzi (Hans Meyer Pk) row 7 : Arseneus Butscher | Mount Kenya (Lenana) row 8 : Charlie Freedman | Mount Kenya (Lenana) row 9 : L Currie | Duwoni / Mt Speke (Vittorio Emanuele Pk) row 10 : Mick Horsepole | Duwoni / Mt Speke (Vittorio Emanuele Pk) |
SELECT T1.Name , T2.Height FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID = T2.Mountain_ID | [
"mountain",
"climber"
] | [
"{\"columns\":[\"Mountain_ID\",\"Name\",\"Height\",\"Prominence\",\"Range\",\"Country\"],\"index\":[0,1,2,3,4,5,6],\"data\":[[1,\"Kibo (Uhuru Pk)\",5895.0,5885.0,\"Kilimanjaro\",\"Tanzania\"],[2,\"Mount Kenya (Batian)\",5199.0,3825.0,\"Mount Kenya\",\"Kenya\"],[3,\"Mawenzi (Hans Meyer Pk)\",5148.0,850.0,\"Kilimanjaro\",\"Tanzania\"],[4,\"Ngaliema \\/ Mt Stanley (Margherita Pk)\",5109.0,3951.0,\"Rwenzori\",\"DR Congo Uganda\"],[5,\"Mount Kenya (Lenana)\",4985.0,130.0,\"Mount Kenya\",\"Kenya\"],[6,\"Ngaliema \\/ Mt Stanley (Savoia Pk)\",4977.0,110.0,\"Rwenzori\",\"Uganda\"],[7,\"Duwoni \\/ Mt Speke (Vittorio Emanuele Pk)\",4890.0,720.0,\"Rwenzori\",\"Uganda\"]]}",
"{\"columns\":[\"Climber_ID\",\"Name\",\"Country\",\"Time\",\"Points\",\"Mountain_ID\"],\"index\":[0,1,2,3,4,5,6,7,8,9],\"data\":[[1,\"Klaus Enders\",\"West Germany\",\"1:13.05.6\",15.0,1],[2,\"Siegfried Schauzu\",\"West Germany\",\"1:14.56.4\",12.0,1],[3,\"Hans Luthringhauser\",\"West Germany\",\"1:16.58.0\",10.0,2],[4,\"Jean Claude Castella\",\"Switzerland\",\"1:17.16.0\",8.0,2],[5,\"Horst Owesle\",\"West Germany\",\"1:17.22.0\",6.0,2],[6,\"Georg Auerbacher\",\"West Germany\",\"1:18.14.6\",5.0,3],[7,\"Arseneus Butscher\",\"West Germany\",\"1:21.35.6\",4.0,5],[8,\"Charlie Freedman\",\"United Kingdom\",\"1:25.02.8\",3.0,5],[9,\"L Currie\",\"United Kingdom\",\"1:25.40.6\",2.0,7],[10,\"Mick Horsepole\",\"United Kingdom\",\"1:27.28.8\",1.0,7]]}"
] | {"columns":["Name","Height"],"index":[0,1,2,3,4,5,6,7,8,9],"data":[["Klaus Enders",5895.0],["Siegfried Schauzu",5895.0],["Hans Luthringhauser",5199.0],["Jean Claude Castella",5199.0],["Horst Owesle",5199.0],["Georg Auerbacher",5148.0],["Arseneus Butscher",4985.0],["Charlie Freedman",4985.0],["L Currie",4890.0],["Mick Horsepole",4890.0]]} | SELECT T1.Name , T2.Height FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID = T2.Mountain_ID <table_name> : mountain col : Mountain_ID | Name | Height | Prominence | Range | Country row 1 : 1 | Kibo (Uhuru Pk) | 5895 | 5885 | Kilimanjaro | Tanzania row 2 : 2 | Mount Kenya (Batian) | 5199 | 3825 | Mount Kenya | Kenya row 3 : 3 | Mawenzi (Hans Meyer Pk) | 5148 | 850 | Kilimanjaro | Tanzania row 4 : 4 | Ngaliema / Mt Stanley (Margherita Pk) | 5109 | 3951 | Rwenzori | DR Congo Uganda row 5 : 5 | Mount Kenya (Lenana) | 4985 | 130 | Mount Kenya | Kenya row 6 : 6 | Ngaliema / Mt Stanley (Savoia Pk) | 4977 | 110 | Rwenzori | Uganda row 7 : 7 | Duwoni / Mt Speke (Vittorio Emanuele Pk) | 4890 | 720 | Rwenzori | Uganda <table_name> : climber col : Climber_ID | Name | Country | Time | Points | Mountain_ID row 1 : 1 | Klaus Enders | West Germany | 1:13.05.6 | 15 | 1 row 2 : 2 | Siegfried Schauzu | West Germany | 1:14.56.4 | 12 | 1 row 3 : 3 | Hans Luthringhauser | West Germany | 1:16.58.0 | 10 | 2 row 4 : 4 | Jean Claude Castella | Switzerland | 1:17.16.0 | 8 | 2 row 5 : 5 | Horst Owesle | West Germany | 1:17.22.0 | 6 | 2 row 6 : 6 | Georg Auerbacher | West Germany | 1:18.14.6 | 5 | 3 row 7 : 7 | Arseneus Butscher | West Germany | 1:21.35.6 | 4 | 5 row 8 : 8 | Charlie Freedman | United Kingdom | 1:25.02.8 | 3 | 5 row 9 : 9 | L Currie | United Kingdom | 1:25.40.6 | 2 | 7 row 10 : 10 | Mick Horsepole | United Kingdom | 1:27.28.8 | 1 | 7 | col : Name | Height row 1 : Klaus Enders | 5895 row 2 : Siegfried Schauzu | 5895 row 3 : Hans Luthringhauser | 5199 row 4 : Jean Claude Castella | 5199 row 5 : Horst Owesle | 5199 row 6 : Georg Auerbacher | 5148 row 7 : Arseneus Butscher | 4985 row 8 : Charlie Freedman | 4985 row 9 : L Currie | 4890 row 10 : Mick Horsepole | 4890 |
SELECT T2.Height FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID = T2.Mountain_ID ORDER BY T1.Points DESC LIMIT 1 | [
"mountain",
"climber"
] | [
"{\"columns\":[\"Mountain_ID\",\"Name\",\"Height\",\"Prominence\",\"Range\",\"Country\"],\"index\":[0,1,2,3,4,5,6],\"data\":[[1,\"Kibo (Uhuru Pk)\",5895.0,5885.0,\"Kilimanjaro\",\"Tanzania\"],[2,\"Mount Kenya (Batian)\",5199.0,3825.0,\"Mount Kenya\",\"Kenya\"],[3,\"Mawenzi (Hans Meyer Pk)\",5148.0,850.0,\"Kilimanjaro\",\"Tanzania\"],[4,\"Ngaliema \\/ Mt Stanley (Margherita Pk)\",5109.0,3951.0,\"Rwenzori\",\"DR Congo Uganda\"],[5,\"Mount Kenya (Lenana)\",4985.0,130.0,\"Mount Kenya\",\"Kenya\"],[6,\"Ngaliema \\/ Mt Stanley (Savoia Pk)\",4977.0,110.0,\"Rwenzori\",\"Uganda\"],[7,\"Duwoni \\/ Mt Speke (Vittorio Emanuele Pk)\",4890.0,720.0,\"Rwenzori\",\"Uganda\"]]}",
"{\"columns\":[\"Climber_ID\",\"Name\",\"Country\",\"Time\",\"Points\",\"Mountain_ID\"],\"index\":[0,1,2,3,4,5,6,7,8,9],\"data\":[[1,\"Klaus Enders\",\"West Germany\",\"1:13.05.6\",15.0,1],[2,\"Siegfried Schauzu\",\"West Germany\",\"1:14.56.4\",12.0,1],[3,\"Hans Luthringhauser\",\"West Germany\",\"1:16.58.0\",10.0,2],[4,\"Jean Claude Castella\",\"Switzerland\",\"1:17.16.0\",8.0,2],[5,\"Horst Owesle\",\"West Germany\",\"1:17.22.0\",6.0,2],[6,\"Georg Auerbacher\",\"West Germany\",\"1:18.14.6\",5.0,3],[7,\"Arseneus Butscher\",\"West Germany\",\"1:21.35.6\",4.0,5],[8,\"Charlie Freedman\",\"United Kingdom\",\"1:25.02.8\",3.0,5],[9,\"L Currie\",\"United Kingdom\",\"1:25.40.6\",2.0,7],[10,\"Mick Horsepole\",\"United Kingdom\",\"1:27.28.8\",1.0,7]]}"
] | {"columns":["Height"],"index":[0],"data":[[5895.0]]} | SELECT T2.Height FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID = T2.Mountain_ID ORDER BY T1.Points DESC LIMIT 1 <table_name> : mountain col : Mountain_ID | Name | Height | Prominence | Range | Country row 1 : 1 | Kibo (Uhuru Pk) | 5895 | 5885 | Kilimanjaro | Tanzania row 2 : 2 | Mount Kenya (Batian) | 5199 | 3825 | Mount Kenya | Kenya row 3 : 3 | Mawenzi (Hans Meyer Pk) | 5148 | 850 | Kilimanjaro | Tanzania row 4 : 4 | Ngaliema / Mt Stanley (Margherita Pk) | 5109 | 3951 | Rwenzori | DR Congo Uganda row 5 : 5 | Mount Kenya (Lenana) | 4985 | 130 | Mount Kenya | Kenya row 6 : 6 | Ngaliema / Mt Stanley (Savoia Pk) | 4977 | 110 | Rwenzori | Uganda row 7 : 7 | Duwoni / Mt Speke (Vittorio Emanuele Pk) | 4890 | 720 | Rwenzori | Uganda <table_name> : climber col : Climber_ID | Name | Country | Time | Points | Mountain_ID row 1 : 1 | Klaus Enders | West Germany | 1:13.05.6 | 15 | 1 row 2 : 2 | Siegfried Schauzu | West Germany | 1:14.56.4 | 12 | 1 row 3 : 3 | Hans Luthringhauser | West Germany | 1:16.58.0 | 10 | 2 row 4 : 4 | Jean Claude Castella | Switzerland | 1:17.16.0 | 8 | 2 row 5 : 5 | Horst Owesle | West Germany | 1:17.22.0 | 6 | 2 row 6 : 6 | Georg Auerbacher | West Germany | 1:18.14.6 | 5 | 3 row 7 : 7 | Arseneus Butscher | West Germany | 1:21.35.6 | 4 | 5 row 8 : 8 | Charlie Freedman | United Kingdom | 1:25.02.8 | 3 | 5 row 9 : 9 | L Currie | United Kingdom | 1:25.40.6 | 2 | 7 row 10 : 10 | Mick Horsepole | United Kingdom | 1:27.28.8 | 1 | 7 | col : Height row 1 : 5895 |
SELECT DISTINCT T2.Name FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID = T2.Mountain_ID WHERE T1.Country = "West Germany" | [
"mountain",
"climber"
] | [
"{\"columns\":[\"Mountain_ID\",\"Name\",\"Height\",\"Prominence\",\"Range\",\"Country\"],\"index\":[0,1,2,3,4,5,6],\"data\":[[1,\"Kibo (Uhuru Pk)\",5895.0,5885.0,\"Kilimanjaro\",\"Tanzania\"],[2,\"Mount Kenya (Batian)\",5199.0,3825.0,\"Mount Kenya\",\"Kenya\"],[3,\"Mawenzi (Hans Meyer Pk)\",5148.0,850.0,\"Kilimanjaro\",\"Tanzania\"],[4,\"Ngaliema \\/ Mt Stanley (Margherita Pk)\",5109.0,3951.0,\"Rwenzori\",\"DR Congo Uganda\"],[5,\"Mount Kenya (Lenana)\",4985.0,130.0,\"Mount Kenya\",\"Kenya\"],[6,\"Ngaliema \\/ Mt Stanley (Savoia Pk)\",4977.0,110.0,\"Rwenzori\",\"Uganda\"],[7,\"Duwoni \\/ Mt Speke (Vittorio Emanuele Pk)\",4890.0,720.0,\"Rwenzori\",\"Uganda\"]]}",
"{\"columns\":[\"Climber_ID\",\"Name\",\"Country\",\"Time\",\"Points\",\"Mountain_ID\"],\"index\":[0,1,2,3,4,5,6,7,8,9],\"data\":[[1,\"Klaus Enders\",\"West Germany\",\"1:13.05.6\",15.0,1],[2,\"Siegfried Schauzu\",\"West Germany\",\"1:14.56.4\",12.0,1],[3,\"Hans Luthringhauser\",\"West Germany\",\"1:16.58.0\",10.0,2],[4,\"Jean Claude Castella\",\"Switzerland\",\"1:17.16.0\",8.0,2],[5,\"Horst Owesle\",\"West Germany\",\"1:17.22.0\",6.0,2],[6,\"Georg Auerbacher\",\"West Germany\",\"1:18.14.6\",5.0,3],[7,\"Arseneus Butscher\",\"West Germany\",\"1:21.35.6\",4.0,5],[8,\"Charlie Freedman\",\"United Kingdom\",\"1:25.02.8\",3.0,5],[9,\"L Currie\",\"United Kingdom\",\"1:25.40.6\",2.0,7],[10,\"Mick Horsepole\",\"United Kingdom\",\"1:27.28.8\",1.0,7]]}"
] | {"columns":["Name"],"index":[0,1,2,3],"data":[["Kibo (Uhuru Pk)"],["Mount Kenya (Batian)"],["Mawenzi (Hans Meyer Pk)"],["Mount Kenya (Lenana)"]]} | SELECT DISTINCT T2.Name FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID = T2.Mountain_ID WHERE T1.Country = "West Germany" <table_name> : mountain col : Mountain_ID | Name | Height | Prominence | Range | Country row 1 : 1 | Kibo (Uhuru Pk) | 5895 | 5885 | Kilimanjaro | Tanzania row 2 : 2 | Mount Kenya (Batian) | 5199 | 3825 | Mount Kenya | Kenya row 3 : 3 | Mawenzi (Hans Meyer Pk) | 5148 | 850 | Kilimanjaro | Tanzania row 4 : 4 | Ngaliema / Mt Stanley (Margherita Pk) | 5109 | 3951 | Rwenzori | DR Congo Uganda row 5 : 5 | Mount Kenya (Lenana) | 4985 | 130 | Mount Kenya | Kenya row 6 : 6 | Ngaliema / Mt Stanley (Savoia Pk) | 4977 | 110 | Rwenzori | Uganda row 7 : 7 | Duwoni / Mt Speke (Vittorio Emanuele Pk) | 4890 | 720 | Rwenzori | Uganda <table_name> : climber col : Climber_ID | Name | Country | Time | Points | Mountain_ID row 1 : 1 | Klaus Enders | West Germany | 1:13.05.6 | 15 | 1 row 2 : 2 | Siegfried Schauzu | West Germany | 1:14.56.4 | 12 | 1 row 3 : 3 | Hans Luthringhauser | West Germany | 1:16.58.0 | 10 | 2 row 4 : 4 | Jean Claude Castella | Switzerland | 1:17.16.0 | 8 | 2 row 5 : 5 | Horst Owesle | West Germany | 1:17.22.0 | 6 | 2 row 6 : 6 | Georg Auerbacher | West Germany | 1:18.14.6 | 5 | 3 row 7 : 7 | Arseneus Butscher | West Germany | 1:21.35.6 | 4 | 5 row 8 : 8 | Charlie Freedman | United Kingdom | 1:25.02.8 | 3 | 5 row 9 : 9 | L Currie | United Kingdom | 1:25.40.6 | 2 | 7 row 10 : 10 | Mick Horsepole | United Kingdom | 1:27.28.8 | 1 | 7 | col : Name row 1 : Kibo (Uhuru Pk) row 2 : Mount Kenya (Batian) row 3 : Mawenzi (Hans Meyer Pk) row 4 : Mount Kenya (Lenana) |
SELECT T1.Time FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID = T2.Mountain_ID WHERE T2.Country = "Uganda" | [
"mountain",
"climber"
] | [
"{\"columns\":[\"Mountain_ID\",\"Name\",\"Height\",\"Prominence\",\"Range\",\"Country\"],\"index\":[0,1,2,3,4,5,6],\"data\":[[1,\"Kibo (Uhuru Pk)\",5895.0,5885.0,\"Kilimanjaro\",\"Tanzania\"],[2,\"Mount Kenya (Batian)\",5199.0,3825.0,\"Mount Kenya\",\"Kenya\"],[3,\"Mawenzi (Hans Meyer Pk)\",5148.0,850.0,\"Kilimanjaro\",\"Tanzania\"],[4,\"Ngaliema \\/ Mt Stanley (Margherita Pk)\",5109.0,3951.0,\"Rwenzori\",\"DR Congo Uganda\"],[5,\"Mount Kenya (Lenana)\",4985.0,130.0,\"Mount Kenya\",\"Kenya\"],[6,\"Ngaliema \\/ Mt Stanley (Savoia Pk)\",4977.0,110.0,\"Rwenzori\",\"Uganda\"],[7,\"Duwoni \\/ Mt Speke (Vittorio Emanuele Pk)\",4890.0,720.0,\"Rwenzori\",\"Uganda\"]]}",
"{\"columns\":[\"Climber_ID\",\"Name\",\"Country\",\"Time\",\"Points\",\"Mountain_ID\"],\"index\":[0,1,2,3,4,5,6,7,8,9],\"data\":[[1,\"Klaus Enders\",\"West Germany\",\"1:13.05.6\",15.0,1],[2,\"Siegfried Schauzu\",\"West Germany\",\"1:14.56.4\",12.0,1],[3,\"Hans Luthringhauser\",\"West Germany\",\"1:16.58.0\",10.0,2],[4,\"Jean Claude Castella\",\"Switzerland\",\"1:17.16.0\",8.0,2],[5,\"Horst Owesle\",\"West Germany\",\"1:17.22.0\",6.0,2],[6,\"Georg Auerbacher\",\"West Germany\",\"1:18.14.6\",5.0,3],[7,\"Arseneus Butscher\",\"West Germany\",\"1:21.35.6\",4.0,5],[8,\"Charlie Freedman\",\"United Kingdom\",\"1:25.02.8\",3.0,5],[9,\"L Currie\",\"United Kingdom\",\"1:25.40.6\",2.0,7],[10,\"Mick Horsepole\",\"United Kingdom\",\"1:27.28.8\",1.0,7]]}"
] | {"columns":["Time"],"index":[0,1],"data":[["1:25.40.6"],["1:27.28.8"]]} | SELECT T1.Time FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID = T2.Mountain_ID WHERE T2.Country = "Uganda" <table_name> : mountain col : Mountain_ID | Name | Height | Prominence | Range | Country row 1 : 1 | Kibo (Uhuru Pk) | 5895 | 5885 | Kilimanjaro | Tanzania row 2 : 2 | Mount Kenya (Batian) | 5199 | 3825 | Mount Kenya | Kenya row 3 : 3 | Mawenzi (Hans Meyer Pk) | 5148 | 850 | Kilimanjaro | Tanzania row 4 : 4 | Ngaliema / Mt Stanley (Margherita Pk) | 5109 | 3951 | Rwenzori | DR Congo Uganda row 5 : 5 | Mount Kenya (Lenana) | 4985 | 130 | Mount Kenya | Kenya row 6 : 6 | Ngaliema / Mt Stanley (Savoia Pk) | 4977 | 110 | Rwenzori | Uganda row 7 : 7 | Duwoni / Mt Speke (Vittorio Emanuele Pk) | 4890 | 720 | Rwenzori | Uganda <table_name> : climber col : Climber_ID | Name | Country | Time | Points | Mountain_ID row 1 : 1 | Klaus Enders | West Germany | 1:13.05.6 | 15 | 1 row 2 : 2 | Siegfried Schauzu | West Germany | 1:14.56.4 | 12 | 1 row 3 : 3 | Hans Luthringhauser | West Germany | 1:16.58.0 | 10 | 2 row 4 : 4 | Jean Claude Castella | Switzerland | 1:17.16.0 | 8 | 2 row 5 : 5 | Horst Owesle | West Germany | 1:17.22.0 | 6 | 2 row 6 : 6 | Georg Auerbacher | West Germany | 1:18.14.6 | 5 | 3 row 7 : 7 | Arseneus Butscher | West Germany | 1:21.35.6 | 4 | 5 row 8 : 8 | Charlie Freedman | United Kingdom | 1:25.02.8 | 3 | 5 row 9 : 9 | L Currie | United Kingdom | 1:25.40.6 | 2 | 7 row 10 : 10 | Mick Horsepole | United Kingdom | 1:27.28.8 | 1 | 7 | col : Time row 1 : 1:25.40.6 row 2 : 1:27.28.8 |
SELECT Country , COUNT(*) FROM climber GROUP BY Country | [
"climber"
] | [
"{\"columns\":[\"Climber_ID\",\"Name\",\"Country\",\"Time\",\"Points\",\"Mountain_ID\"],\"index\":[0,1,2,3,4,5,6,7,8,9],\"data\":[[1,\"Klaus Enders\",\"West Germany\",\"1:13.05.6\",15.0,1],[2,\"Siegfried Schauzu\",\"West Germany\",\"1:14.56.4\",12.0,1],[3,\"Hans Luthringhauser\",\"West Germany\",\"1:16.58.0\",10.0,2],[4,\"Jean Claude Castella\",\"Switzerland\",\"1:17.16.0\",8.0,2],[5,\"Horst Owesle\",\"West Germany\",\"1:17.22.0\",6.0,2],[6,\"Georg Auerbacher\",\"West Germany\",\"1:18.14.6\",5.0,3],[7,\"Arseneus Butscher\",\"West Germany\",\"1:21.35.6\",4.0,5],[8,\"Charlie Freedman\",\"United Kingdom\",\"1:25.02.8\",3.0,5],[9,\"L Currie\",\"United Kingdom\",\"1:25.40.6\",2.0,7],[10,\"Mick Horsepole\",\"United Kingdom\",\"1:27.28.8\",1.0,7]]}"
] | {"columns":["Country","COUNT(*)"],"index":[0,1,2],"data":[["Switzerland",1],["United Kingdom",3],["West Germany",6]]} | SELECT Country , COUNT(*) FROM climber GROUP BY Country <table_name> : climber col : Climber_ID | Name | Country | Time | Points | Mountain_ID row 1 : 1 | Klaus Enders | West Germany | 1:13.05.6 | 15 | 1 row 2 : 2 | Siegfried Schauzu | West Germany | 1:14.56.4 | 12 | 1 row 3 : 3 | Hans Luthringhauser | West Germany | 1:16.58.0 | 10 | 2 row 4 : 4 | Jean Claude Castella | Switzerland | 1:17.16.0 | 8 | 2 row 5 : 5 | Horst Owesle | West Germany | 1:17.22.0 | 6 | 2 row 6 : 6 | Georg Auerbacher | West Germany | 1:18.14.6 | 5 | 3 row 7 : 7 | Arseneus Butscher | West Germany | 1:21.35.6 | 4 | 5 row 8 : 8 | Charlie Freedman | United Kingdom | 1:25.02.8 | 3 | 5 row 9 : 9 | L Currie | United Kingdom | 1:25.40.6 | 2 | 7 row 10 : 10 | Mick Horsepole | United Kingdom | 1:27.28.8 | 1 | 7 | col : Country | COUNT(*) row 1 : Switzerland | 1 row 2 : United Kingdom | 3 row 3 : West Germany | 6 |
SELECT Country FROM mountain GROUP BY Country HAVING COUNT(*) > 1 | [
"mountain"
] | [
"{\"columns\":[\"Mountain_ID\",\"Name\",\"Height\",\"Prominence\",\"Range\",\"Country\"],\"index\":[0,1,2,3,4,5,6],\"data\":[[1,\"Kibo (Uhuru Pk)\",5895.0,5885.0,\"Kilimanjaro\",\"Tanzania\"],[2,\"Mount Kenya (Batian)\",5199.0,3825.0,\"Mount Kenya\",\"Kenya\"],[3,\"Mawenzi (Hans Meyer Pk)\",5148.0,850.0,\"Kilimanjaro\",\"Tanzania\"],[4,\"Ngaliema \\/ Mt Stanley (Margherita Pk)\",5109.0,3951.0,\"Rwenzori\",\"DR Congo Uganda\"],[5,\"Mount Kenya (Lenana)\",4985.0,130.0,\"Mount Kenya\",\"Kenya\"],[6,\"Ngaliema \\/ Mt Stanley (Savoia Pk)\",4977.0,110.0,\"Rwenzori\",\"Uganda\"],[7,\"Duwoni \\/ Mt Speke (Vittorio Emanuele Pk)\",4890.0,720.0,\"Rwenzori\",\"Uganda\"]]}"
] | {"columns":["Country"],"index":[0,1,2],"data":[["Kenya"],["Tanzania"],["Uganda"]]} | SELECT Country FROM mountain GROUP BY Country HAVING COUNT(*) > 1 <table_name> : mountain col : Mountain_ID | Name | Height | Prominence | Range | Country row 1 : 1 | Kibo (Uhuru Pk) | 5895 | 5885 | Kilimanjaro | Tanzania row 2 : 2 | Mount Kenya (Batian) | 5199 | 3825 | Mount Kenya | Kenya row 3 : 3 | Mawenzi (Hans Meyer Pk) | 5148 | 850 | Kilimanjaro | Tanzania row 4 : 4 | Ngaliema / Mt Stanley (Margherita Pk) | 5109 | 3951 | Rwenzori | DR Congo Uganda row 5 : 5 | Mount Kenya (Lenana) | 4985 | 130 | Mount Kenya | Kenya row 6 : 6 | Ngaliema / Mt Stanley (Savoia Pk) | 4977 | 110 | Rwenzori | Uganda row 7 : 7 | Duwoni / Mt Speke (Vittorio Emanuele Pk) | 4890 | 720 | Rwenzori | Uganda | col : Country row 1 : Kenya row 2 : Tanzania row 3 : Uganda |
SELECT Name FROM mountain WHERE Mountain_ID NOT IN (SELECT Mountain_ID FROM climber) | [
"mountain",
"climber"
] | [
"{\"columns\":[\"Mountain_ID\",\"Name\",\"Height\",\"Prominence\",\"Range\",\"Country\"],\"index\":[0,1,2,3,4,5,6],\"data\":[[1,\"Kibo (Uhuru Pk)\",5895.0,5885.0,\"Kilimanjaro\",\"Tanzania\"],[2,\"Mount Kenya (Batian)\",5199.0,3825.0,\"Mount Kenya\",\"Kenya\"],[3,\"Mawenzi (Hans Meyer Pk)\",5148.0,850.0,\"Kilimanjaro\",\"Tanzania\"],[4,\"Ngaliema \\/ Mt Stanley (Margherita Pk)\",5109.0,3951.0,\"Rwenzori\",\"DR Congo Uganda\"],[5,\"Mount Kenya (Lenana)\",4985.0,130.0,\"Mount Kenya\",\"Kenya\"],[6,\"Ngaliema \\/ Mt Stanley (Savoia Pk)\",4977.0,110.0,\"Rwenzori\",\"Uganda\"],[7,\"Duwoni \\/ Mt Speke (Vittorio Emanuele Pk)\",4890.0,720.0,\"Rwenzori\",\"Uganda\"]]}",
"{\"columns\":[\"Climber_ID\",\"Name\",\"Country\",\"Time\",\"Points\",\"Mountain_ID\"],\"index\":[0,1,2,3,4,5,6,7,8,9],\"data\":[[1,\"Klaus Enders\",\"West Germany\",\"1:13.05.6\",15.0,1],[2,\"Siegfried Schauzu\",\"West Germany\",\"1:14.56.4\",12.0,1],[3,\"Hans Luthringhauser\",\"West Germany\",\"1:16.58.0\",10.0,2],[4,\"Jean Claude Castella\",\"Switzerland\",\"1:17.16.0\",8.0,2],[5,\"Horst Owesle\",\"West Germany\",\"1:17.22.0\",6.0,2],[6,\"Georg Auerbacher\",\"West Germany\",\"1:18.14.6\",5.0,3],[7,\"Arseneus Butscher\",\"West Germany\",\"1:21.35.6\",4.0,5],[8,\"Charlie Freedman\",\"United Kingdom\",\"1:25.02.8\",3.0,5],[9,\"L Currie\",\"United Kingdom\",\"1:25.40.6\",2.0,7],[10,\"Mick Horsepole\",\"United Kingdom\",\"1:27.28.8\",1.0,7]]}"
] | {"columns":["Name"],"index":[0,1],"data":[["Ngaliema \/ Mt Stanley (Margherita Pk)"],["Ngaliema \/ Mt Stanley (Savoia Pk)"]]} | SELECT Name FROM mountain WHERE Mountain_ID NOT IN (SELECT Mountain_ID FROM climber) <table_name> : mountain col : Mountain_ID | Name | Height | Prominence | Range | Country row 1 : 1 | Kibo (Uhuru Pk) | 5895 | 5885 | Kilimanjaro | Tanzania row 2 : 2 | Mount Kenya (Batian) | 5199 | 3825 | Mount Kenya | Kenya row 3 : 3 | Mawenzi (Hans Meyer Pk) | 5148 | 850 | Kilimanjaro | Tanzania row 4 : 4 | Ngaliema / Mt Stanley (Margherita Pk) | 5109 | 3951 | Rwenzori | DR Congo Uganda row 5 : 5 | Mount Kenya (Lenana) | 4985 | 130 | Mount Kenya | Kenya row 6 : 6 | Ngaliema / Mt Stanley (Savoia Pk) | 4977 | 110 | Rwenzori | Uganda row 7 : 7 | Duwoni / Mt Speke (Vittorio Emanuele Pk) | 4890 | 720 | Rwenzori | Uganda <table_name> : climber col : Climber_ID | Name | Country | Time | Points | Mountain_ID row 1 : 1 | Klaus Enders | West Germany | 1:13.05.6 | 15 | 1 row 2 : 2 | Siegfried Schauzu | West Germany | 1:14.56.4 | 12 | 1 row 3 : 3 | Hans Luthringhauser | West Germany | 1:16.58.0 | 10 | 2 row 4 : 4 | Jean Claude Castella | Switzerland | 1:17.16.0 | 8 | 2 row 5 : 5 | Horst Owesle | West Germany | 1:17.22.0 | 6 | 2 row 6 : 6 | Georg Auerbacher | West Germany | 1:18.14.6 | 5 | 3 row 7 : 7 | Arseneus Butscher | West Germany | 1:21.35.6 | 4 | 5 row 8 : 8 | Charlie Freedman | United Kingdom | 1:25.02.8 | 3 | 5 row 9 : 9 | L Currie | United Kingdom | 1:25.40.6 | 2 | 7 row 10 : 10 | Mick Horsepole | United Kingdom | 1:27.28.8 | 1 | 7 | col : Name row 1 : Ngaliema / Mt Stanley (Margherita Pk) row 2 : Ngaliema / Mt Stanley (Savoia Pk) |
SELECT Country FROM mountain WHERE Height > 5600 INTERSECT SELECT Country FROM mountain WHERE Height < 5200 | [
"mountain"
] | [
"{\"columns\":[\"Mountain_ID\",\"Name\",\"Height\",\"Prominence\",\"Range\",\"Country\"],\"index\":[0,1,2,3,4,5,6],\"data\":[[1,\"Kibo (Uhuru Pk)\",5895.0,5885.0,\"Kilimanjaro\",\"Tanzania\"],[2,\"Mount Kenya (Batian)\",5199.0,3825.0,\"Mount Kenya\",\"Kenya\"],[3,\"Mawenzi (Hans Meyer Pk)\",5148.0,850.0,\"Kilimanjaro\",\"Tanzania\"],[4,\"Ngaliema \\/ Mt Stanley (Margherita Pk)\",5109.0,3951.0,\"Rwenzori\",\"DR Congo Uganda\"],[5,\"Mount Kenya (Lenana)\",4985.0,130.0,\"Mount Kenya\",\"Kenya\"],[6,\"Ngaliema \\/ Mt Stanley (Savoia Pk)\",4977.0,110.0,\"Rwenzori\",\"Uganda\"],[7,\"Duwoni \\/ Mt Speke (Vittorio Emanuele Pk)\",4890.0,720.0,\"Rwenzori\",\"Uganda\"]]}"
] | {"columns":["Country"],"index":[0],"data":[["Tanzania"]]} | SELECT Country FROM mountain WHERE Height > 5600 INTERSECT SELECT Country FROM mountain WHERE Height < 5200 <table_name> : mountain col : Mountain_ID | Name | Height | Prominence | Range | Country row 1 : 1 | Kibo (Uhuru Pk) | 5895 | 5885 | Kilimanjaro | Tanzania row 2 : 2 | Mount Kenya (Batian) | 5199 | 3825 | Mount Kenya | Kenya row 3 : 3 | Mawenzi (Hans Meyer Pk) | 5148 | 850 | Kilimanjaro | Tanzania row 4 : 4 | Ngaliema / Mt Stanley (Margherita Pk) | 5109 | 3951 | Rwenzori | DR Congo Uganda row 5 : 5 | Mount Kenya (Lenana) | 4985 | 130 | Mount Kenya | Kenya row 6 : 6 | Ngaliema / Mt Stanley (Savoia Pk) | 4977 | 110 | Rwenzori | Uganda row 7 : 7 | Duwoni / Mt Speke (Vittorio Emanuele Pk) | 4890 | 720 | Rwenzori | Uganda | col : Country row 1 : Tanzania |
SELECT Range FROM mountain GROUP BY Range ORDER BY COUNT(*) DESC LIMIT 1 | [
"mountain"
] | [
"{\"columns\":[\"Mountain_ID\",\"Name\",\"Height\",\"Prominence\",\"Range\",\"Country\"],\"index\":[0,1,2,3,4,5,6],\"data\":[[1,\"Kibo (Uhuru Pk)\",5895.0,5885.0,\"Kilimanjaro\",\"Tanzania\"],[2,\"Mount Kenya (Batian)\",5199.0,3825.0,\"Mount Kenya\",\"Kenya\"],[3,\"Mawenzi (Hans Meyer Pk)\",5148.0,850.0,\"Kilimanjaro\",\"Tanzania\"],[4,\"Ngaliema \\/ Mt Stanley (Margherita Pk)\",5109.0,3951.0,\"Rwenzori\",\"DR Congo Uganda\"],[5,\"Mount Kenya (Lenana)\",4985.0,130.0,\"Mount Kenya\",\"Kenya\"],[6,\"Ngaliema \\/ Mt Stanley (Savoia Pk)\",4977.0,110.0,\"Rwenzori\",\"Uganda\"],[7,\"Duwoni \\/ Mt Speke (Vittorio Emanuele Pk)\",4890.0,720.0,\"Rwenzori\",\"Uganda\"]]}"
] | {"columns":["Range"],"index":[0],"data":[["Rwenzori"]]} | SELECT Range FROM mountain GROUP BY Range ORDER BY COUNT(*) DESC LIMIT 1 <table_name> : mountain col : Mountain_ID | Name | Height | Prominence | Range | Country row 1 : 1 | Kibo (Uhuru Pk) | 5895 | 5885 | Kilimanjaro | Tanzania row 2 : 2 | Mount Kenya (Batian) | 5199 | 3825 | Mount Kenya | Kenya row 3 : 3 | Mawenzi (Hans Meyer Pk) | 5148 | 850 | Kilimanjaro | Tanzania row 4 : 4 | Ngaliema / Mt Stanley (Margherita Pk) | 5109 | 3951 | Rwenzori | DR Congo Uganda row 5 : 5 | Mount Kenya (Lenana) | 4985 | 130 | Mount Kenya | Kenya row 6 : 6 | Ngaliema / Mt Stanley (Savoia Pk) | 4977 | 110 | Rwenzori | Uganda row 7 : 7 | Duwoni / Mt Speke (Vittorio Emanuele Pk) | 4890 | 720 | Rwenzori | Uganda | col : Range row 1 : Rwenzori |
SELECT Name FROM mountain WHERE Height > 5000 OR Prominence > 1000 | [
"mountain"
] | [
"{\"columns\":[\"Mountain_ID\",\"Name\",\"Height\",\"Prominence\",\"Range\",\"Country\"],\"index\":[0,1,2,3,4,5,6],\"data\":[[1,\"Kibo (Uhuru Pk)\",5895.0,5885.0,\"Kilimanjaro\",\"Tanzania\"],[2,\"Mount Kenya (Batian)\",5199.0,3825.0,\"Mount Kenya\",\"Kenya\"],[3,\"Mawenzi (Hans Meyer Pk)\",5148.0,850.0,\"Kilimanjaro\",\"Tanzania\"],[4,\"Ngaliema \\/ Mt Stanley (Margherita Pk)\",5109.0,3951.0,\"Rwenzori\",\"DR Congo Uganda\"],[5,\"Mount Kenya (Lenana)\",4985.0,130.0,\"Mount Kenya\",\"Kenya\"],[6,\"Ngaliema \\/ Mt Stanley (Savoia Pk)\",4977.0,110.0,\"Rwenzori\",\"Uganda\"],[7,\"Duwoni \\/ Mt Speke (Vittorio Emanuele Pk)\",4890.0,720.0,\"Rwenzori\",\"Uganda\"]]}"
] | {"columns":["Name"],"index":[0,1,2,3],"data":[["Kibo (Uhuru Pk)"],["Mount Kenya (Batian)"],["Mawenzi (Hans Meyer Pk)"],["Ngaliema \/ Mt Stanley (Margherita Pk)"]]} | SELECT Name FROM mountain WHERE Height > 5000 OR Prominence > 1000 <table_name> : mountain col : Mountain_ID | Name | Height | Prominence | Range | Country row 1 : 1 | Kibo (Uhuru Pk) | 5895 | 5885 | Kilimanjaro | Tanzania row 2 : 2 | Mount Kenya (Batian) | 5199 | 3825 | Mount Kenya | Kenya row 3 : 3 | Mawenzi (Hans Meyer Pk) | 5148 | 850 | Kilimanjaro | Tanzania row 4 : 4 | Ngaliema / Mt Stanley (Margherita Pk) | 5109 | 3951 | Rwenzori | DR Congo Uganda row 5 : 5 | Mount Kenya (Lenana) | 4985 | 130 | Mount Kenya | Kenya row 6 : 6 | Ngaliema / Mt Stanley (Savoia Pk) | 4977 | 110 | Rwenzori | Uganda row 7 : 7 | Duwoni / Mt Speke (Vittorio Emanuele Pk) | 4890 | 720 | Rwenzori | Uganda | col : Name row 1 : Kibo (Uhuru Pk) row 2 : Mount Kenya (Batian) row 3 : Mawenzi (Hans Meyer Pk) row 4 : Ngaliema / Mt Stanley (Margherita Pk) |
SELECT count(*) FROM body_builder | [
"body_builder"
] | [
"{\"columns\":[\"Body_Builder_ID\",\"People_ID\",\"Snatch\",\"Clean_Jerk\",\"Total\"],\"index\":[0,1,2,3,4],\"data\":[[1,1,142.5,175.0,317.5],[2,2,137.5,177.5,315.0],[3,3,140.0,175.0,315.0],[4,5,137.5,175.0,312.5],[5,6,130.0,162.5,292.5]]}"
] | {"columns":["count(*)"],"index":[0],"data":[[5]]} | SELECT count(*) FROM body_builder <table_name> : body_builder col : Body_Builder_ID | People_ID | Snatch | Clean_Jerk | Total row 1 : 1 | 1 | 142.5 | 175.0 | 317.5 row 2 : 2 | 2 | 137.5 | 177.5 | 315.0 row 3 : 3 | 3 | 140.0 | 175.0 | 315.0 row 4 : 4 | 5 | 137.5 | 175.0 | 312.5 row 5 : 5 | 6 | 130.0 | 162.5 | 292.5 | col : count(*) row 1 : 5 |
SELECT Total FROM body_builder ORDER BY Total ASC | [
"body_builder"
] | [
"{\"columns\":[\"Body_Builder_ID\",\"People_ID\",\"Snatch\",\"Clean_Jerk\",\"Total\"],\"index\":[0,1,2,3,4],\"data\":[[1,1,142.5,175.0,317.5],[2,2,137.5,177.5,315.0],[3,3,140.0,175.0,315.0],[4,5,137.5,175.0,312.5],[5,6,130.0,162.5,292.5]]}"
] | {"columns":["Total"],"index":[0,1,2,3,4],"data":[[292.5],[312.5],[315.0],[315.0],[317.5]]} | SELECT Total FROM body_builder ORDER BY Total ASC <table_name> : body_builder col : Body_Builder_ID | People_ID | Snatch | Clean_Jerk | Total row 1 : 1 | 1 | 142.5 | 175.0 | 317.5 row 2 : 2 | 2 | 137.5 | 177.5 | 315.0 row 3 : 3 | 3 | 140.0 | 175.0 | 315.0 row 4 : 4 | 5 | 137.5 | 175.0 | 312.5 row 5 : 5 | 6 | 130.0 | 162.5 | 292.5 | col : Total row 1 : 292.5 row 2 : 312.5 row 3 : 315.0 row 4 : 315.0 row 5 : 317.5 |
SELECT Snatch , Clean_Jerk FROM body_builder ORDER BY Snatch ASC | [
"body_builder"
] | [
"{\"columns\":[\"Body_Builder_ID\",\"People_ID\",\"Snatch\",\"Clean_Jerk\",\"Total\"],\"index\":[0,1,2,3,4],\"data\":[[1,1,142.5,175.0,317.5],[2,2,137.5,177.5,315.0],[3,3,140.0,175.0,315.0],[4,5,137.5,175.0,312.5],[5,6,130.0,162.5,292.5]]}"
] | {"columns":["Snatch","Clean_Jerk"],"index":[0,1,2,3,4],"data":[[130.0,162.5],[137.5,177.5],[137.5,175.0],[140.0,175.0],[142.5,175.0]]} | SELECT Snatch , Clean_Jerk FROM body_builder ORDER BY Snatch ASC <table_name> : body_builder col : Body_Builder_ID | People_ID | Snatch | Clean_Jerk | Total row 1 : 1 | 1 | 142.5 | 175.0 | 317.5 row 2 : 2 | 2 | 137.5 | 177.5 | 315.0 row 3 : 3 | 3 | 140.0 | 175.0 | 315.0 row 4 : 4 | 5 | 137.5 | 175.0 | 312.5 row 5 : 5 | 6 | 130.0 | 162.5 | 292.5 | col : Snatch | Clean_Jerk row 1 : 130.0 | 162.5 row 2 : 137.5 | 177.5 row 3 : 137.5 | 175.0 row 4 : 140.0 | 175.0 row 5 : 142.5 | 175.0 |
SELECT avg(Snatch) FROM body_builder | [
"body_builder"
] | [
"{\"columns\":[\"Body_Builder_ID\",\"People_ID\",\"Snatch\",\"Clean_Jerk\",\"Total\"],\"index\":[0,1,2,3,4],\"data\":[[1,1,142.5,175.0,317.5],[2,2,137.5,177.5,315.0],[3,3,140.0,175.0,315.0],[4,5,137.5,175.0,312.5],[5,6,130.0,162.5,292.5]]}"
] | {"columns":["avg(Snatch)"],"index":[0],"data":[[137.5]]} | SELECT avg(Snatch) FROM body_builder <table_name> : body_builder col : Body_Builder_ID | People_ID | Snatch | Clean_Jerk | Total row 1 : 1 | 1 | 142.5 | 175.0 | 317.5 row 2 : 2 | 2 | 137.5 | 177.5 | 315.0 row 3 : 3 | 3 | 140.0 | 175.0 | 315.0 row 4 : 4 | 5 | 137.5 | 175.0 | 312.5 row 5 : 5 | 6 | 130.0 | 162.5 | 292.5 | col : avg(Snatch) row 1 : 137.5 |
SELECT Clean_Jerk FROM body_builder ORDER BY Total DESC LIMIT 1 | [
"body_builder"
] | [
"{\"columns\":[\"Body_Builder_ID\",\"People_ID\",\"Snatch\",\"Clean_Jerk\",\"Total\"],\"index\":[0,1,2,3,4],\"data\":[[1,1,142.5,175.0,317.5],[2,2,137.5,177.5,315.0],[3,3,140.0,175.0,315.0],[4,5,137.5,175.0,312.5],[5,6,130.0,162.5,292.5]]}"
] | {"columns":["Clean_Jerk"],"index":[0],"data":[[175.0]]} | SELECT Clean_Jerk FROM body_builder ORDER BY Total DESC LIMIT 1 <table_name> : body_builder col : Body_Builder_ID | People_ID | Snatch | Clean_Jerk | Total row 1 : 1 | 1 | 142.5 | 175.0 | 317.5 row 2 : 2 | 2 | 137.5 | 177.5 | 315.0 row 3 : 3 | 3 | 140.0 | 175.0 | 315.0 row 4 : 4 | 5 | 137.5 | 175.0 | 312.5 row 5 : 5 | 6 | 130.0 | 162.5 | 292.5 | col : Clean_Jerk row 1 : 175 |
SELECT Birth_Date FROM People ORDER BY Height ASC | [
"people"
] | [
"{\"columns\":[\"People_ID\",\"Name\",\"Height\",\"Weight\",\"Birth_Date\",\"Birth_Place\"],\"index\":[0,1,2,3,4,5],\"data\":[[1,\"Jack Campbell\",182.0,80.0,\"January 1, 1992\",\"Port Huron, Michigan\"],[2,\"Ty Conklin\",192.0,90.0,\"March 30, 1976\",\"Anchorage, Alaska\"],[3,\"Al Montoya\",195.0,100.0,\"February 13, 1985\",\"Glenview, Illinois\"],[4,\"Mark Fayne\",215.0,102.0,\"May 5, 1987\",\"Nashua, New Hampshire\"],[5,\"Cam Fowler\",196.0,89.0,\"December 5, 1991\",\"Farmington Hills, Michigan\"],[6,\"Jake Gardiner\",205.0,92.0,\"July 4, 1990\",\"Minnetonka, Minnesota\"]]}"
] | {"columns":["Birth_Date"],"index":[0,1,2,3,4,5],"data":[["January 1, 1992"],["March 30, 1976"],["February 13, 1985"],["December 5, 1991"],["July 4, 1990"],["May 5, 1987"]]} | SELECT Birth_Date FROM People ORDER BY Height ASC <table_name> : people col : People_ID | Name | Height | Weight | Birth_Date | Birth_Place row 1 : 1 | Jack Campbell | 182 | 80 | January 1, 1992 | Port Huron, Michigan row 2 : 2 | Ty Conklin | 192 | 90 | March 30, 1976 | Anchorage, Alaska row 3 : 3 | Al Montoya | 195 | 100 | February 13, 1985 | Glenview, Illinois row 4 : 4 | Mark Fayne | 215 | 102 | May 5, 1987 | Nashua, New Hampshire row 5 : 5 | Cam Fowler | 196 | 89 | December 5, 1991 | Farmington Hills, Michigan row 6 : 6 | Jake Gardiner | 205 | 92 | July 4, 1990 | Minnetonka, Minnesota | col : Birth_Date row 1 : January 1, 1992 row 2 : March 30, 1976 row 3 : February 13, 1985 row 4 : December 5, 1991 row 5 : July 4, 1990 row 6 : May 5, 1987 |
SELECT T2.Name FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID | [
"body_builder",
"people"
] | [
"{\"columns\":[\"Body_Builder_ID\",\"People_ID\",\"Snatch\",\"Clean_Jerk\",\"Total\"],\"index\":[0,1,2,3,4],\"data\":[[1,1,142.5,175.0,317.5],[2,2,137.5,177.5,315.0],[3,3,140.0,175.0,315.0],[4,5,137.5,175.0,312.5],[5,6,130.0,162.5,292.5]]}",
"{\"columns\":[\"People_ID\",\"Name\",\"Height\",\"Weight\",\"Birth_Date\",\"Birth_Place\"],\"index\":[0,1,2,3,4,5],\"data\":[[1,\"Jack Campbell\",182.0,80.0,\"January 1, 1992\",\"Port Huron, Michigan\"],[2,\"Ty Conklin\",192.0,90.0,\"March 30, 1976\",\"Anchorage, Alaska\"],[3,\"Al Montoya\",195.0,100.0,\"February 13, 1985\",\"Glenview, Illinois\"],[4,\"Mark Fayne\",215.0,102.0,\"May 5, 1987\",\"Nashua, New Hampshire\"],[5,\"Cam Fowler\",196.0,89.0,\"December 5, 1991\",\"Farmington Hills, Michigan\"],[6,\"Jake Gardiner\",205.0,92.0,\"July 4, 1990\",\"Minnetonka, Minnesota\"]]}"
] | {"columns":["Name"],"index":[0,1,2,3,4],"data":[["Jack Campbell"],["Ty Conklin"],["Al Montoya"],["Cam Fowler"],["Jake Gardiner"]]} | SELECT T2.Name FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID <table_name> : body_builder col : Body_Builder_ID | People_ID | Snatch | Clean_Jerk | Total row 1 : 1 | 1 | 142.5 | 175.0 | 317.5 row 2 : 2 | 2 | 137.5 | 177.5 | 315.0 row 3 : 3 | 3 | 140.0 | 175.0 | 315.0 row 4 : 4 | 5 | 137.5 | 175.0 | 312.5 row 5 : 5 | 6 | 130.0 | 162.5 | 292.5 <table_name> : people col : People_ID | Name | Height | Weight | Birth_Date | Birth_Place row 1 : 1 | Jack Campbell | 182 | 80 | January 1, 1992 | Port Huron, Michigan row 2 : 2 | Ty Conklin | 192 | 90 | March 30, 1976 | Anchorage, Alaska row 3 : 3 | Al Montoya | 195 | 100 | February 13, 1985 | Glenview, Illinois row 4 : 4 | Mark Fayne | 215 | 102 | May 5, 1987 | Nashua, New Hampshire row 5 : 5 | Cam Fowler | 196 | 89 | December 5, 1991 | Farmington Hills, Michigan row 6 : 6 | Jake Gardiner | 205 | 92 | July 4, 1990 | Minnetonka, Minnesota | col : Name row 1 : Jack Campbell row 2 : Ty Conklin row 3 : Al Montoya row 4 : Cam Fowler row 5 : Jake Gardiner |
SELECT T2.Name FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID WHERE T1.Total > 300 | [
"body_builder",
"people"
] | [
"{\"columns\":[\"Body_Builder_ID\",\"People_ID\",\"Snatch\",\"Clean_Jerk\",\"Total\"],\"index\":[0,1,2,3,4],\"data\":[[1,1,142.5,175.0,317.5],[2,2,137.5,177.5,315.0],[3,3,140.0,175.0,315.0],[4,5,137.5,175.0,312.5],[5,6,130.0,162.5,292.5]]}",
"{\"columns\":[\"People_ID\",\"Name\",\"Height\",\"Weight\",\"Birth_Date\",\"Birth_Place\"],\"index\":[0,1,2,3,4,5],\"data\":[[1,\"Jack Campbell\",182.0,80.0,\"January 1, 1992\",\"Port Huron, Michigan\"],[2,\"Ty Conklin\",192.0,90.0,\"March 30, 1976\",\"Anchorage, Alaska\"],[3,\"Al Montoya\",195.0,100.0,\"February 13, 1985\",\"Glenview, Illinois\"],[4,\"Mark Fayne\",215.0,102.0,\"May 5, 1987\",\"Nashua, New Hampshire\"],[5,\"Cam Fowler\",196.0,89.0,\"December 5, 1991\",\"Farmington Hills, Michigan\"],[6,\"Jake Gardiner\",205.0,92.0,\"July 4, 1990\",\"Minnetonka, Minnesota\"]]}"
] | {"columns":["Name"],"index":[0,1,2,3],"data":[["Jack Campbell"],["Ty Conklin"],["Al Montoya"],["Cam Fowler"]]} | SELECT T2.Name FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID WHERE T1.Total > 300 <table_name> : body_builder col : Body_Builder_ID | People_ID | Snatch | Clean_Jerk | Total row 1 : 1 | 1 | 142.5 | 175.0 | 317.5 row 2 : 2 | 2 | 137.5 | 177.5 | 315.0 row 3 : 3 | 3 | 140.0 | 175.0 | 315.0 row 4 : 4 | 5 | 137.5 | 175.0 | 312.5 row 5 : 5 | 6 | 130.0 | 162.5 | 292.5 <table_name> : people col : People_ID | Name | Height | Weight | Birth_Date | Birth_Place row 1 : 1 | Jack Campbell | 182 | 80 | January 1, 1992 | Port Huron, Michigan row 2 : 2 | Ty Conklin | 192 | 90 | March 30, 1976 | Anchorage, Alaska row 3 : 3 | Al Montoya | 195 | 100 | February 13, 1985 | Glenview, Illinois row 4 : 4 | Mark Fayne | 215 | 102 | May 5, 1987 | Nashua, New Hampshire row 5 : 5 | Cam Fowler | 196 | 89 | December 5, 1991 | Farmington Hills, Michigan row 6 : 6 | Jake Gardiner | 205 | 92 | July 4, 1990 | Minnetonka, Minnesota | col : Name row 1 : Jack Campbell row 2 : Ty Conklin row 3 : Al Montoya row 4 : Cam Fowler |
SELECT T2.Name FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Weight DESC LIMIT 1 | [
"body_builder",
"people"
] | [
"{\"columns\":[\"Body_Builder_ID\",\"People_ID\",\"Snatch\",\"Clean_Jerk\",\"Total\"],\"index\":[0,1,2,3,4],\"data\":[[1,1,142.5,175.0,317.5],[2,2,137.5,177.5,315.0],[3,3,140.0,175.0,315.0],[4,5,137.5,175.0,312.5],[5,6,130.0,162.5,292.5]]}",
"{\"columns\":[\"People_ID\",\"Name\",\"Height\",\"Weight\",\"Birth_Date\",\"Birth_Place\"],\"index\":[0,1,2,3,4,5],\"data\":[[1,\"Jack Campbell\",182.0,80.0,\"January 1, 1992\",\"Port Huron, Michigan\"],[2,\"Ty Conklin\",192.0,90.0,\"March 30, 1976\",\"Anchorage, Alaska\"],[3,\"Al Montoya\",195.0,100.0,\"February 13, 1985\",\"Glenview, Illinois\"],[4,\"Mark Fayne\",215.0,102.0,\"May 5, 1987\",\"Nashua, New Hampshire\"],[5,\"Cam Fowler\",196.0,89.0,\"December 5, 1991\",\"Farmington Hills, Michigan\"],[6,\"Jake Gardiner\",205.0,92.0,\"July 4, 1990\",\"Minnetonka, Minnesota\"]]}"
] | {"columns":["Name"],"index":[0],"data":[["Al Montoya"]]} | SELECT T2.Name FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Weight DESC LIMIT 1 <table_name> : body_builder col : Body_Builder_ID | People_ID | Snatch | Clean_Jerk | Total row 1 : 1 | 1 | 142.5 | 175.0 | 317.5 row 2 : 2 | 2 | 137.5 | 177.5 | 315.0 row 3 : 3 | 3 | 140.0 | 175.0 | 315.0 row 4 : 4 | 5 | 137.5 | 175.0 | 312.5 row 5 : 5 | 6 | 130.0 | 162.5 | 292.5 <table_name> : people col : People_ID | Name | Height | Weight | Birth_Date | Birth_Place row 1 : 1 | Jack Campbell | 182 | 80 | January 1, 1992 | Port Huron, Michigan row 2 : 2 | Ty Conklin | 192 | 90 | March 30, 1976 | Anchorage, Alaska row 3 : 3 | Al Montoya | 195 | 100 | February 13, 1985 | Glenview, Illinois row 4 : 4 | Mark Fayne | 215 | 102 | May 5, 1987 | Nashua, New Hampshire row 5 : 5 | Cam Fowler | 196 | 89 | December 5, 1991 | Farmington Hills, Michigan row 6 : 6 | Jake Gardiner | 205 | 92 | July 4, 1990 | Minnetonka, Minnesota | col : Name row 1 : Al Montoya |
SELECT T2.Birth_Date , T2.Birth_Place FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID ORDER BY T1.Total DESC LIMIT 1 | [
"body_builder",
"people"
] | [
"{\"columns\":[\"Body_Builder_ID\",\"People_ID\",\"Snatch\",\"Clean_Jerk\",\"Total\"],\"index\":[0,1,2,3,4],\"data\":[[1,1,142.5,175.0,317.5],[2,2,137.5,177.5,315.0],[3,3,140.0,175.0,315.0],[4,5,137.5,175.0,312.5],[5,6,130.0,162.5,292.5]]}",
"{\"columns\":[\"People_ID\",\"Name\",\"Height\",\"Weight\",\"Birth_Date\",\"Birth_Place\"],\"index\":[0,1,2,3,4,5],\"data\":[[1,\"Jack Campbell\",182.0,80.0,\"January 1, 1992\",\"Port Huron, Michigan\"],[2,\"Ty Conklin\",192.0,90.0,\"March 30, 1976\",\"Anchorage, Alaska\"],[3,\"Al Montoya\",195.0,100.0,\"February 13, 1985\",\"Glenview, Illinois\"],[4,\"Mark Fayne\",215.0,102.0,\"May 5, 1987\",\"Nashua, New Hampshire\"],[5,\"Cam Fowler\",196.0,89.0,\"December 5, 1991\",\"Farmington Hills, Michigan\"],[6,\"Jake Gardiner\",205.0,92.0,\"July 4, 1990\",\"Minnetonka, Minnesota\"]]}"
] | {"columns":["Birth_Date","Birth_Place"],"index":[0],"data":[["January 1, 1992","Port Huron, Michigan"]]} | SELECT T2.Birth_Date , T2.Birth_Place FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID ORDER BY T1.Total DESC LIMIT 1 <table_name> : body_builder col : Body_Builder_ID | People_ID | Snatch | Clean_Jerk | Total row 1 : 1 | 1 | 142.5 | 175.0 | 317.5 row 2 : 2 | 2 | 137.5 | 177.5 | 315.0 row 3 : 3 | 3 | 140.0 | 175.0 | 315.0 row 4 : 4 | 5 | 137.5 | 175.0 | 312.5 row 5 : 5 | 6 | 130.0 | 162.5 | 292.5 <table_name> : people col : People_ID | Name | Height | Weight | Birth_Date | Birth_Place row 1 : 1 | Jack Campbell | 182 | 80 | January 1, 1992 | Port Huron, Michigan row 2 : 2 | Ty Conklin | 192 | 90 | March 30, 1976 | Anchorage, Alaska row 3 : 3 | Al Montoya | 195 | 100 | February 13, 1985 | Glenview, Illinois row 4 : 4 | Mark Fayne | 215 | 102 | May 5, 1987 | Nashua, New Hampshire row 5 : 5 | Cam Fowler | 196 | 89 | December 5, 1991 | Farmington Hills, Michigan row 6 : 6 | Jake Gardiner | 205 | 92 | July 4, 1990 | Minnetonka, Minnesota | col : Birth_Date | Birth_Place row 1 : January 1, 1992 | Port Huron, Michigan |
SELECT T2.Height FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID WHERE T1.Total < 315 | [
"body_builder",
"people"
] | [
"{\"columns\":[\"Body_Builder_ID\",\"People_ID\",\"Snatch\",\"Clean_Jerk\",\"Total\"],\"index\":[0,1,2,3,4],\"data\":[[1,1,142.5,175.0,317.5],[2,2,137.5,177.5,315.0],[3,3,140.0,175.0,315.0],[4,5,137.5,175.0,312.5],[5,6,130.0,162.5,292.5]]}",
"{\"columns\":[\"People_ID\",\"Name\",\"Height\",\"Weight\",\"Birth_Date\",\"Birth_Place\"],\"index\":[0,1,2,3,4,5],\"data\":[[1,\"Jack Campbell\",182.0,80.0,\"January 1, 1992\",\"Port Huron, Michigan\"],[2,\"Ty Conklin\",192.0,90.0,\"March 30, 1976\",\"Anchorage, Alaska\"],[3,\"Al Montoya\",195.0,100.0,\"February 13, 1985\",\"Glenview, Illinois\"],[4,\"Mark Fayne\",215.0,102.0,\"May 5, 1987\",\"Nashua, New Hampshire\"],[5,\"Cam Fowler\",196.0,89.0,\"December 5, 1991\",\"Farmington Hills, Michigan\"],[6,\"Jake Gardiner\",205.0,92.0,\"July 4, 1990\",\"Minnetonka, Minnesota\"]]}"
] | {"columns":["Height"],"index":[0,1],"data":[[196.0],[205.0]]} | SELECT T2.Height FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID WHERE T1.Total < 315 <table_name> : body_builder col : Body_Builder_ID | People_ID | Snatch | Clean_Jerk | Total row 1 : 1 | 1 | 142.5 | 175.0 | 317.5 row 2 : 2 | 2 | 137.5 | 177.5 | 315.0 row 3 : 3 | 3 | 140.0 | 175.0 | 315.0 row 4 : 4 | 5 | 137.5 | 175.0 | 312.5 row 5 : 5 | 6 | 130.0 | 162.5 | 292.5 <table_name> : people col : People_ID | Name | Height | Weight | Birth_Date | Birth_Place row 1 : 1 | Jack Campbell | 182 | 80 | January 1, 1992 | Port Huron, Michigan row 2 : 2 | Ty Conklin | 192 | 90 | March 30, 1976 | Anchorage, Alaska row 3 : 3 | Al Montoya | 195 | 100 | February 13, 1985 | Glenview, Illinois row 4 : 4 | Mark Fayne | 215 | 102 | May 5, 1987 | Nashua, New Hampshire row 5 : 5 | Cam Fowler | 196 | 89 | December 5, 1991 | Farmington Hills, Michigan row 6 : 6 | Jake Gardiner | 205 | 92 | July 4, 1990 | Minnetonka, Minnesota | col : Height row 1 : 196 row 2 : 205 |
SELECT avg(T1.Total) FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID WHERE T2.Height > 200 | [
"body_builder",
"people"
] | [
"{\"columns\":[\"Body_Builder_ID\",\"People_ID\",\"Snatch\",\"Clean_Jerk\",\"Total\"],\"index\":[0,1,2,3,4],\"data\":[[1,1,142.5,175.0,317.5],[2,2,137.5,177.5,315.0],[3,3,140.0,175.0,315.0],[4,5,137.5,175.0,312.5],[5,6,130.0,162.5,292.5]]}",
"{\"columns\":[\"People_ID\",\"Name\",\"Height\",\"Weight\",\"Birth_Date\",\"Birth_Place\"],\"index\":[0,1,2,3,4,5],\"data\":[[1,\"Jack Campbell\",182.0,80.0,\"January 1, 1992\",\"Port Huron, Michigan\"],[2,\"Ty Conklin\",192.0,90.0,\"March 30, 1976\",\"Anchorage, Alaska\"],[3,\"Al Montoya\",195.0,100.0,\"February 13, 1985\",\"Glenview, Illinois\"],[4,\"Mark Fayne\",215.0,102.0,\"May 5, 1987\",\"Nashua, New Hampshire\"],[5,\"Cam Fowler\",196.0,89.0,\"December 5, 1991\",\"Farmington Hills, Michigan\"],[6,\"Jake Gardiner\",205.0,92.0,\"July 4, 1990\",\"Minnetonka, Minnesota\"]]}"
] | {"columns":["avg(T1.Total)"],"index":[0],"data":[[292.5]]} | SELECT avg(T1.Total) FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID WHERE T2.Height > 200 <table_name> : body_builder col : Body_Builder_ID | People_ID | Snatch | Clean_Jerk | Total row 1 : 1 | 1 | 142.5 | 175.0 | 317.5 row 2 : 2 | 2 | 137.5 | 177.5 | 315.0 row 3 : 3 | 3 | 140.0 | 175.0 | 315.0 row 4 : 4 | 5 | 137.5 | 175.0 | 312.5 row 5 : 5 | 6 | 130.0 | 162.5 | 292.5 <table_name> : people col : People_ID | Name | Height | Weight | Birth_Date | Birth_Place row 1 : 1 | Jack Campbell | 182 | 80 | January 1, 1992 | Port Huron, Michigan row 2 : 2 | Ty Conklin | 192 | 90 | March 30, 1976 | Anchorage, Alaska row 3 : 3 | Al Montoya | 195 | 100 | February 13, 1985 | Glenview, Illinois row 4 : 4 | Mark Fayne | 215 | 102 | May 5, 1987 | Nashua, New Hampshire row 5 : 5 | Cam Fowler | 196 | 89 | December 5, 1991 | Farmington Hills, Michigan row 6 : 6 | Jake Gardiner | 205 | 92 | July 4, 1990 | Minnetonka, Minnesota | col : avg(T1.Total) row 1 : 292.5 |
SELECT T2.Name FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID ORDER BY T1.Total DESC | [
"body_builder",
"people"
] | [
"{\"columns\":[\"Body_Builder_ID\",\"People_ID\",\"Snatch\",\"Clean_Jerk\",\"Total\"],\"index\":[0,1,2,3,4],\"data\":[[1,1,142.5,175.0,317.5],[2,2,137.5,177.5,315.0],[3,3,140.0,175.0,315.0],[4,5,137.5,175.0,312.5],[5,6,130.0,162.5,292.5]]}",
"{\"columns\":[\"People_ID\",\"Name\",\"Height\",\"Weight\",\"Birth_Date\",\"Birth_Place\"],\"index\":[0,1,2,3,4,5],\"data\":[[1,\"Jack Campbell\",182.0,80.0,\"January 1, 1992\",\"Port Huron, Michigan\"],[2,\"Ty Conklin\",192.0,90.0,\"March 30, 1976\",\"Anchorage, Alaska\"],[3,\"Al Montoya\",195.0,100.0,\"February 13, 1985\",\"Glenview, Illinois\"],[4,\"Mark Fayne\",215.0,102.0,\"May 5, 1987\",\"Nashua, New Hampshire\"],[5,\"Cam Fowler\",196.0,89.0,\"December 5, 1991\",\"Farmington Hills, Michigan\"],[6,\"Jake Gardiner\",205.0,92.0,\"July 4, 1990\",\"Minnetonka, Minnesota\"]]}"
] | {"columns":["Name"],"index":[0,1,2,3,4],"data":[["Jack Campbell"],["Ty Conklin"],["Al Montoya"],["Cam Fowler"],["Jake Gardiner"]]} | SELECT T2.Name FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID ORDER BY T1.Total DESC <table_name> : body_builder col : Body_Builder_ID | People_ID | Snatch | Clean_Jerk | Total row 1 : 1 | 1 | 142.5 | 175.0 | 317.5 row 2 : 2 | 2 | 137.5 | 177.5 | 315.0 row 3 : 3 | 3 | 140.0 | 175.0 | 315.0 row 4 : 4 | 5 | 137.5 | 175.0 | 312.5 row 5 : 5 | 6 | 130.0 | 162.5 | 292.5 <table_name> : people col : People_ID | Name | Height | Weight | Birth_Date | Birth_Place row 1 : 1 | Jack Campbell | 182 | 80 | January 1, 1992 | Port Huron, Michigan row 2 : 2 | Ty Conklin | 192 | 90 | March 30, 1976 | Anchorage, Alaska row 3 : 3 | Al Montoya | 195 | 100 | February 13, 1985 | Glenview, Illinois row 4 : 4 | Mark Fayne | 215 | 102 | May 5, 1987 | Nashua, New Hampshire row 5 : 5 | Cam Fowler | 196 | 89 | December 5, 1991 | Farmington Hills, Michigan row 6 : 6 | Jake Gardiner | 205 | 92 | July 4, 1990 | Minnetonka, Minnesota | col : Name row 1 : Jack Campbell row 2 : Ty Conklin row 3 : Al Montoya row 4 : Cam Fowler row 5 : Jake Gardiner |
SELECT Birth_Place , COUNT(*) FROM people GROUP BY Birth_Place | [
"people"
] | [
"{\"columns\":[\"People_ID\",\"Name\",\"Height\",\"Weight\",\"Birth_Date\",\"Birth_Place\"],\"index\":[0,1,2,3,4,5],\"data\":[[1,\"Jack Campbell\",182.0,80.0,\"January 1, 1992\",\"Port Huron, Michigan\"],[2,\"Ty Conklin\",192.0,90.0,\"March 30, 1976\",\"Anchorage, Alaska\"],[3,\"Al Montoya\",195.0,100.0,\"February 13, 1985\",\"Glenview, Illinois\"],[4,\"Mark Fayne\",215.0,102.0,\"May 5, 1987\",\"Nashua, New Hampshire\"],[5,\"Cam Fowler\",196.0,89.0,\"December 5, 1991\",\"Farmington Hills, Michigan\"],[6,\"Jake Gardiner\",205.0,92.0,\"July 4, 1990\",\"Minnetonka, Minnesota\"]]}"
] | {"columns":["Birth_Place","COUNT(*)"],"index":[0,1,2,3,4,5],"data":[["Anchorage, Alaska",1],["Farmington Hills, Michigan",1],["Glenview, Illinois",1],["Minnetonka, Minnesota",1],["Nashua, New Hampshire",1],["Port Huron, Michigan",1]]} | SELECT Birth_Place , COUNT(*) FROM people GROUP BY Birth_Place <table_name> : people col : People_ID | Name | Height | Weight | Birth_Date | Birth_Place row 1 : 1 | Jack Campbell | 182 | 80 | January 1, 1992 | Port Huron, Michigan row 2 : 2 | Ty Conklin | 192 | 90 | March 30, 1976 | Anchorage, Alaska row 3 : 3 | Al Montoya | 195 | 100 | February 13, 1985 | Glenview, Illinois row 4 : 4 | Mark Fayne | 215 | 102 | May 5, 1987 | Nashua, New Hampshire row 5 : 5 | Cam Fowler | 196 | 89 | December 5, 1991 | Farmington Hills, Michigan row 6 : 6 | Jake Gardiner | 205 | 92 | July 4, 1990 | Minnetonka, Minnesota | col : Birth_Place | COUNT(*) row 1 : Anchorage, Alaska | 1 row 2 : Farmington Hills, Michigan | 1 row 3 : Glenview, Illinois | 1 row 4 : Minnetonka, Minnesota | 1 row 5 : Nashua, New Hampshire | 1 row 6 : Port Huron, Michigan | 1 |
SELECT Birth_Place FROM people GROUP BY Birth_Place ORDER BY COUNT(*) DESC LIMIT 1 | [
"people"
] | [
"{\"columns\":[\"People_ID\",\"Name\",\"Height\",\"Weight\",\"Birth_Date\",\"Birth_Place\"],\"index\":[0,1,2,3,4,5],\"data\":[[1,\"Jack Campbell\",182.0,80.0,\"January 1, 1992\",\"Port Huron, Michigan\"],[2,\"Ty Conklin\",192.0,90.0,\"March 30, 1976\",\"Anchorage, Alaska\"],[3,\"Al Montoya\",195.0,100.0,\"February 13, 1985\",\"Glenview, Illinois\"],[4,\"Mark Fayne\",215.0,102.0,\"May 5, 1987\",\"Nashua, New Hampshire\"],[5,\"Cam Fowler\",196.0,89.0,\"December 5, 1991\",\"Farmington Hills, Michigan\"],[6,\"Jake Gardiner\",205.0,92.0,\"July 4, 1990\",\"Minnetonka, Minnesota\"]]}"
] | {"columns":["Birth_Place"],"index":[0],"data":[["Anchorage, Alaska"]]} | SELECT Birth_Place FROM people GROUP BY Birth_Place ORDER BY COUNT(*) DESC LIMIT 1 <table_name> : people col : People_ID | Name | Height | Weight | Birth_Date | Birth_Place row 1 : 1 | Jack Campbell | 182 | 80 | January 1, 1992 | Port Huron, Michigan row 2 : 2 | Ty Conklin | 192 | 90 | March 30, 1976 | Anchorage, Alaska row 3 : 3 | Al Montoya | 195 | 100 | February 13, 1985 | Glenview, Illinois row 4 : 4 | Mark Fayne | 215 | 102 | May 5, 1987 | Nashua, New Hampshire row 5 : 5 | Cam Fowler | 196 | 89 | December 5, 1991 | Farmington Hills, Michigan row 6 : 6 | Jake Gardiner | 205 | 92 | July 4, 1990 | Minnetonka, Minnesota | col : Birth_Place row 1 : Anchorage, Alaska |
SELECT Height , Weight FROM people ORDER BY Height DESC | [
"people"
] | [
"{\"columns\":[\"People_ID\",\"Name\",\"Height\",\"Weight\",\"Birth_Date\",\"Birth_Place\"],\"index\":[0,1,2,3,4,5],\"data\":[[1,\"Jack Campbell\",182.0,80.0,\"January 1, 1992\",\"Port Huron, Michigan\"],[2,\"Ty Conklin\",192.0,90.0,\"March 30, 1976\",\"Anchorage, Alaska\"],[3,\"Al Montoya\",195.0,100.0,\"February 13, 1985\",\"Glenview, Illinois\"],[4,\"Mark Fayne\",215.0,102.0,\"May 5, 1987\",\"Nashua, New Hampshire\"],[5,\"Cam Fowler\",196.0,89.0,\"December 5, 1991\",\"Farmington Hills, Michigan\"],[6,\"Jake Gardiner\",205.0,92.0,\"July 4, 1990\",\"Minnetonka, Minnesota\"]]}"
] | {"columns":["Height","Weight"],"index":[0,1,2,3,4,5],"data":[[215.0,102.0],[205.0,92.0],[196.0,89.0],[195.0,100.0],[192.0,90.0],[182.0,80.0]]} | SELECT Height , Weight FROM people ORDER BY Height DESC <table_name> : people col : People_ID | Name | Height | Weight | Birth_Date | Birth_Place row 1 : 1 | Jack Campbell | 182 | 80 | January 1, 1992 | Port Huron, Michigan row 2 : 2 | Ty Conklin | 192 | 90 | March 30, 1976 | Anchorage, Alaska row 3 : 3 | Al Montoya | 195 | 100 | February 13, 1985 | Glenview, Illinois row 4 : 4 | Mark Fayne | 215 | 102 | May 5, 1987 | Nashua, New Hampshire row 5 : 5 | Cam Fowler | 196 | 89 | December 5, 1991 | Farmington Hills, Michigan row 6 : 6 | Jake Gardiner | 205 | 92 | July 4, 1990 | Minnetonka, Minnesota | col : Height | Weight row 1 : 215 | 102 row 2 : 205 | 92 row 3 : 196 | 89 row 4 : 195 | 100 row 5 : 192 | 90 row 6 : 182 | 80 |
SELECT * FROM body_builder | [
"body_builder"
] | [
"{\"columns\":[\"Body_Builder_ID\",\"People_ID\",\"Snatch\",\"Clean_Jerk\",\"Total\"],\"index\":[0,1,2,3,4],\"data\":[[1,1,142.5,175.0,317.5],[2,2,137.5,177.5,315.0],[3,3,140.0,175.0,315.0],[4,5,137.5,175.0,312.5],[5,6,130.0,162.5,292.5]]}"
] | {"columns":["Body_Builder_ID","People_ID","Snatch","Clean_Jerk","Total"],"index":[0,1,2,3,4],"data":[[1,1,142.5,175.0,317.5],[2,2,137.5,177.5,315.0],[3,3,140.0,175.0,315.0],[4,5,137.5,175.0,312.5],[5,6,130.0,162.5,292.5]]} | SELECT * FROM body_builder <table_name> : body_builder col : Body_Builder_ID | People_ID | Snatch | Clean_Jerk | Total row 1 : 1 | 1 | 142.5 | 175.0 | 317.5 row 2 : 2 | 2 | 137.5 | 177.5 | 315.0 row 3 : 3 | 3 | 140.0 | 175.0 | 315.0 row 4 : 4 | 5 | 137.5 | 175.0 | 312.5 row 5 : 5 | 6 | 130.0 | 162.5 | 292.5 | col : Body_Builder_ID | People_ID | Snatch | Clean_Jerk | Total row 1 : 1 | 1 | 142.5 | 175.0 | 317.5 row 2 : 2 | 2 | 137.5 | 177.5 | 315.0 row 3 : 3 | 3 | 140.0 | 175.0 | 315.0 row 4 : 4 | 5 | 137.5 | 175.0 | 312.5 row 5 : 5 | 6 | 130.0 | 162.5 | 292.5 |
SELECT Name , birth_place FROM people EXCEPT SELECT T1.Name , T1.birth_place FROM people AS T1 JOIN body_builder AS T2 ON T1.people_id = T2.people_id | [
"body_builder",
"people"
] | [
"{\"columns\":[\"Body_Builder_ID\",\"People_ID\",\"Snatch\",\"Clean_Jerk\",\"Total\"],\"index\":[0,1,2,3,4],\"data\":[[1,1,142.5,175.0,317.5],[2,2,137.5,177.5,315.0],[3,3,140.0,175.0,315.0],[4,5,137.5,175.0,312.5],[5,6,130.0,162.5,292.5]]}",
"{\"columns\":[\"People_ID\",\"Name\",\"Height\",\"Weight\",\"Birth_Date\",\"Birth_Place\"],\"index\":[0,1,2,3,4,5],\"data\":[[1,\"Jack Campbell\",182.0,80.0,\"January 1, 1992\",\"Port Huron, Michigan\"],[2,\"Ty Conklin\",192.0,90.0,\"March 30, 1976\",\"Anchorage, Alaska\"],[3,\"Al Montoya\",195.0,100.0,\"February 13, 1985\",\"Glenview, Illinois\"],[4,\"Mark Fayne\",215.0,102.0,\"May 5, 1987\",\"Nashua, New Hampshire\"],[5,\"Cam Fowler\",196.0,89.0,\"December 5, 1991\",\"Farmington Hills, Michigan\"],[6,\"Jake Gardiner\",205.0,92.0,\"July 4, 1990\",\"Minnetonka, Minnesota\"]]}"
] | {"columns":["Name","Birth_Place"],"index":[0],"data":[["Mark Fayne","Nashua, New Hampshire"]]} | SELECT Name , birth_place FROM people EXCEPT SELECT T1.Name , T1.birth_place FROM people AS T1 JOIN body_builder AS T2 ON T1.people_id = T2.people_id <table_name> : body_builder col : Body_Builder_ID | People_ID | Snatch | Clean_Jerk | Total row 1 : 1 | 1 | 142.5 | 175.0 | 317.5 row 2 : 2 | 2 | 137.5 | 177.5 | 315.0 row 3 : 3 | 3 | 140.0 | 175.0 | 315.0 row 4 : 4 | 5 | 137.5 | 175.0 | 312.5 row 5 : 5 | 6 | 130.0 | 162.5 | 292.5 <table_name> : people col : People_ID | Name | Height | Weight | Birth_Date | Birth_Place row 1 : 1 | Jack Campbell | 182 | 80 | January 1, 1992 | Port Huron, Michigan row 2 : 2 | Ty Conklin | 192 | 90 | March 30, 1976 | Anchorage, Alaska row 3 : 3 | Al Montoya | 195 | 100 | February 13, 1985 | Glenview, Illinois row 4 : 4 | Mark Fayne | 215 | 102 | May 5, 1987 | Nashua, New Hampshire row 5 : 5 | Cam Fowler | 196 | 89 | December 5, 1991 | Farmington Hills, Michigan row 6 : 6 | Jake Gardiner | 205 | 92 | July 4, 1990 | Minnetonka, Minnesota | col : Name | Birth_Place row 1 : Mark Fayne | Nashua, New Hampshire |
SELECT count(DISTINCT Birth_Place) FROM people | [
"people"
] | [
"{\"columns\":[\"People_ID\",\"Name\",\"Height\",\"Weight\",\"Birth_Date\",\"Birth_Place\"],\"index\":[0,1,2,3,4,5],\"data\":[[1,\"Jack Campbell\",182.0,80.0,\"January 1, 1992\",\"Port Huron, Michigan\"],[2,\"Ty Conklin\",192.0,90.0,\"March 30, 1976\",\"Anchorage, Alaska\"],[3,\"Al Montoya\",195.0,100.0,\"February 13, 1985\",\"Glenview, Illinois\"],[4,\"Mark Fayne\",215.0,102.0,\"May 5, 1987\",\"Nashua, New Hampshire\"],[5,\"Cam Fowler\",196.0,89.0,\"December 5, 1991\",\"Farmington Hills, Michigan\"],[6,\"Jake Gardiner\",205.0,92.0,\"July 4, 1990\",\"Minnetonka, Minnesota\"]]}"
] | {"columns":["count(DISTINCT Birth_Place)"],"index":[0],"data":[[6]]} | SELECT count(DISTINCT Birth_Place) FROM people <table_name> : people col : People_ID | Name | Height | Weight | Birth_Date | Birth_Place row 1 : 1 | Jack Campbell | 182 | 80 | January 1, 1992 | Port Huron, Michigan row 2 : 2 | Ty Conklin | 192 | 90 | March 30, 1976 | Anchorage, Alaska row 3 : 3 | Al Montoya | 195 | 100 | February 13, 1985 | Glenview, Illinois row 4 : 4 | Mark Fayne | 215 | 102 | May 5, 1987 | Nashua, New Hampshire row 5 : 5 | Cam Fowler | 196 | 89 | December 5, 1991 | Farmington Hills, Michigan row 6 : 6 | Jake Gardiner | 205 | 92 | July 4, 1990 | Minnetonka, Minnesota | col : count(DISTINCT Birth_Place) row 1 : 6 |
SELECT count(*) FROM people WHERE people_id NOT IN (SELECT People_ID FROM body_builder) | [
"body_builder",
"people"
] | [
"{\"columns\":[\"Body_Builder_ID\",\"People_ID\",\"Snatch\",\"Clean_Jerk\",\"Total\"],\"index\":[0,1,2,3,4],\"data\":[[1,1,142.5,175.0,317.5],[2,2,137.5,177.5,315.0],[3,3,140.0,175.0,315.0],[4,5,137.5,175.0,312.5],[5,6,130.0,162.5,292.5]]}",
"{\"columns\":[\"People_ID\",\"Name\",\"Height\",\"Weight\",\"Birth_Date\",\"Birth_Place\"],\"index\":[0,1,2,3,4,5],\"data\":[[1,\"Jack Campbell\",182.0,80.0,\"January 1, 1992\",\"Port Huron, Michigan\"],[2,\"Ty Conklin\",192.0,90.0,\"March 30, 1976\",\"Anchorage, Alaska\"],[3,\"Al Montoya\",195.0,100.0,\"February 13, 1985\",\"Glenview, Illinois\"],[4,\"Mark Fayne\",215.0,102.0,\"May 5, 1987\",\"Nashua, New Hampshire\"],[5,\"Cam Fowler\",196.0,89.0,\"December 5, 1991\",\"Farmington Hills, Michigan\"],[6,\"Jake Gardiner\",205.0,92.0,\"July 4, 1990\",\"Minnetonka, Minnesota\"]]}"
] | {"columns":["count(*)"],"index":[0],"data":[[1]]} | SELECT count(*) FROM people WHERE people_id NOT IN (SELECT People_ID FROM body_builder) <table_name> : body_builder col : Body_Builder_ID | People_ID | Snatch | Clean_Jerk | Total row 1 : 1 | 1 | 142.5 | 175.0 | 317.5 row 2 : 2 | 2 | 137.5 | 177.5 | 315.0 row 3 : 3 | 3 | 140.0 | 175.0 | 315.0 row 4 : 4 | 5 | 137.5 | 175.0 | 312.5 row 5 : 5 | 6 | 130.0 | 162.5 | 292.5 <table_name> : people col : People_ID | Name | Height | Weight | Birth_Date | Birth_Place row 1 : 1 | Jack Campbell | 182 | 80 | January 1, 1992 | Port Huron, Michigan row 2 : 2 | Ty Conklin | 192 | 90 | March 30, 1976 | Anchorage, Alaska row 3 : 3 | Al Montoya | 195 | 100 | February 13, 1985 | Glenview, Illinois row 4 : 4 | Mark Fayne | 215 | 102 | May 5, 1987 | Nashua, New Hampshire row 5 : 5 | Cam Fowler | 196 | 89 | December 5, 1991 | Farmington Hills, Michigan row 6 : 6 | Jake Gardiner | 205 | 92 | July 4, 1990 | Minnetonka, Minnesota | col : count(*) row 1 : 1 |
SELECT T2.weight FROM body_builder AS T1 JOIN people AS T2 ON T1.people_id = T2.people_id WHERE T1.snatch > 140 OR T2.height > 200; | [
"body_builder",
"people"
] | [
"{\"columns\":[\"Body_Builder_ID\",\"People_ID\",\"Snatch\",\"Clean_Jerk\",\"Total\"],\"index\":[0,1,2,3,4],\"data\":[[1,1,142.5,175.0,317.5],[2,2,137.5,177.5,315.0],[3,3,140.0,175.0,315.0],[4,5,137.5,175.0,312.5],[5,6,130.0,162.5,292.5]]}",
"{\"columns\":[\"People_ID\",\"Name\",\"Height\",\"Weight\",\"Birth_Date\",\"Birth_Place\"],\"index\":[0,1,2,3,4,5],\"data\":[[1,\"Jack Campbell\",182.0,80.0,\"January 1, 1992\",\"Port Huron, Michigan\"],[2,\"Ty Conklin\",192.0,90.0,\"March 30, 1976\",\"Anchorage, Alaska\"],[3,\"Al Montoya\",195.0,100.0,\"February 13, 1985\",\"Glenview, Illinois\"],[4,\"Mark Fayne\",215.0,102.0,\"May 5, 1987\",\"Nashua, New Hampshire\"],[5,\"Cam Fowler\",196.0,89.0,\"December 5, 1991\",\"Farmington Hills, Michigan\"],[6,\"Jake Gardiner\",205.0,92.0,\"July 4, 1990\",\"Minnetonka, Minnesota\"]]}"
] | {"columns":["Weight"],"index":[0,1],"data":[[80.0],[92.0]]} | SELECT T2.weight FROM body_builder AS T1 JOIN people AS T2 ON T1.people_id = T2.people_id WHERE T1.snatch > 140 OR T2.height > 200; <table_name> : body_builder col : Body_Builder_ID | People_ID | Snatch | Clean_Jerk | Total row 1 : 1 | 1 | 142.5 | 175.0 | 317.5 row 2 : 2 | 2 | 137.5 | 177.5 | 315.0 row 3 : 3 | 3 | 140.0 | 175.0 | 315.0 row 4 : 4 | 5 | 137.5 | 175.0 | 312.5 row 5 : 5 | 6 | 130.0 | 162.5 | 292.5 <table_name> : people col : People_ID | Name | Height | Weight | Birth_Date | Birth_Place row 1 : 1 | Jack Campbell | 182 | 80 | January 1, 1992 | Port Huron, Michigan row 2 : 2 | Ty Conklin | 192 | 90 | March 30, 1976 | Anchorage, Alaska row 3 : 3 | Al Montoya | 195 | 100 | February 13, 1985 | Glenview, Illinois row 4 : 4 | Mark Fayne | 215 | 102 | May 5, 1987 | Nashua, New Hampshire row 5 : 5 | Cam Fowler | 196 | 89 | December 5, 1991 | Farmington Hills, Michigan row 6 : 6 | Jake Gardiner | 205 | 92 | July 4, 1990 | Minnetonka, Minnesota | col : Weight row 1 : 80 row 2 : 92 |
SELECT T1.total FROM body_builder AS T1 JOIN people AS T2 ON T1.people_id = T2.people_id WHERE T2.Birth_Date LIKE "%January%"; | [
"body_builder",
"people"
] | [
"{\"columns\":[\"Body_Builder_ID\",\"People_ID\",\"Snatch\",\"Clean_Jerk\",\"Total\"],\"index\":[0,1,2,3,4],\"data\":[[1,1,142.5,175.0,317.5],[2,2,137.5,177.5,315.0],[3,3,140.0,175.0,315.0],[4,5,137.5,175.0,312.5],[5,6,130.0,162.5,292.5]]}",
"{\"columns\":[\"People_ID\",\"Name\",\"Height\",\"Weight\",\"Birth_Date\",\"Birth_Place\"],\"index\":[0,1,2,3,4,5],\"data\":[[1,\"Jack Campbell\",182.0,80.0,\"January 1, 1992\",\"Port Huron, Michigan\"],[2,\"Ty Conklin\",192.0,90.0,\"March 30, 1976\",\"Anchorage, Alaska\"],[3,\"Al Montoya\",195.0,100.0,\"February 13, 1985\",\"Glenview, Illinois\"],[4,\"Mark Fayne\",215.0,102.0,\"May 5, 1987\",\"Nashua, New Hampshire\"],[5,\"Cam Fowler\",196.0,89.0,\"December 5, 1991\",\"Farmington Hills, Michigan\"],[6,\"Jake Gardiner\",205.0,92.0,\"July 4, 1990\",\"Minnetonka, Minnesota\"]]}"
] | {"columns":["Total"],"index":[0],"data":[[317.5]]} | SELECT T1.total FROM body_builder AS T1 JOIN people AS T2 ON T1.people_id = T2.people_id WHERE T2.Birth_Date LIKE "%January%"; <table_name> : body_builder col : Body_Builder_ID | People_ID | Snatch | Clean_Jerk | Total row 1 : 1 | 1 | 142.5 | 175.0 | 317.5 row 2 : 2 | 2 | 137.5 | 177.5 | 315.0 row 3 : 3 | 3 | 140.0 | 175.0 | 315.0 row 4 : 4 | 5 | 137.5 | 175.0 | 312.5 row 5 : 5 | 6 | 130.0 | 162.5 | 292.5 <table_name> : people col : People_ID | Name | Height | Weight | Birth_Date | Birth_Place row 1 : 1 | Jack Campbell | 182 | 80 | January 1, 1992 | Port Huron, Michigan row 2 : 2 | Ty Conklin | 192 | 90 | March 30, 1976 | Anchorage, Alaska row 3 : 3 | Al Montoya | 195 | 100 | February 13, 1985 | Glenview, Illinois row 4 : 4 | Mark Fayne | 215 | 102 | May 5, 1987 | Nashua, New Hampshire row 5 : 5 | Cam Fowler | 196 | 89 | December 5, 1991 | Farmington Hills, Michigan row 6 : 6 | Jake Gardiner | 205 | 92 | July 4, 1990 | Minnetonka, Minnesota | col : Total row 1 : 317.5 |
SELECT min(snatch) FROM body_builder | [
"body_builder"
] | [
"{\"columns\":[\"Body_Builder_ID\",\"People_ID\",\"Snatch\",\"Clean_Jerk\",\"Total\"],\"index\":[0,1,2,3,4],\"data\":[[1,1,142.5,175.0,317.5],[2,2,137.5,177.5,315.0],[3,3,140.0,175.0,315.0],[4,5,137.5,175.0,312.5],[5,6,130.0,162.5,292.5]]}"
] | {"columns":["min(snatch)"],"index":[0],"data":[[130.0]]} | SELECT min(snatch) FROM body_builder <table_name> : body_builder col : Body_Builder_ID | People_ID | Snatch | Clean_Jerk | Total row 1 : 1 | 1 | 142.5 | 175.0 | 317.5 row 2 : 2 | 2 | 137.5 | 177.5 | 315.0 row 3 : 3 | 3 | 140.0 | 175.0 | 315.0 row 4 : 4 | 5 | 137.5 | 175.0 | 312.5 row 5 : 5 | 6 | 130.0 | 162.5 | 292.5 | col : min(snatch) row 1 : 130 |
SELECT count(*) FROM election | [
"election"
] | [
"{\"columns\":[\"Election_ID\",\"Representative_ID\",\"Date\",\"Votes\",\"Vote_Percent\",\"Seats\",\"Place\"],\"index\":[0,1,2,3,4],\"data\":[[1,1,\"July 1942\",9423.0,16.2,6.0,3.0],[2,2,\"October 1942\",11059.0,18.5,10.0,1.0],[3,4,\"1946\",13049.0,19.5,10.0,2.0],[4,5,\"1949\",14077.0,19.5,9.0,2.0],[5,7,\"1953\",12422.0,16.0,7.0,3.0]]}"
] | {"columns":["count(*)"],"index":[0],"data":[[5]]} | SELECT count(*) FROM election <table_name> : election col : Election_ID | Representative_ID | Date | Votes | Vote_Percent | Seats | Place row 1 : 1 | 1 | 1942-07-01 00:00:00 | 9423 | 16.2 | 6 | 3 row 2 : 2 | 2 | 1942-10-01 00:00:00 | 11059 | 18.5 | 10 | 1 row 3 : 3 | 4 | 1946-01-01 00:00:00 | 13049 | 19.5 | 10 | 2 row 4 : 4 | 5 | 1949-01-01 00:00:00 | 14077 | 19.5 | 9 | 2 row 5 : 5 | 7 | 1953-01-01 00:00:00 | 12422 | 16.0 | 7 | 3 | col : count(*) row 1 : 5 |
SELECT Votes FROM election ORDER BY Votes DESC | [
"election"
] | [
"{\"columns\":[\"Election_ID\",\"Representative_ID\",\"Date\",\"Votes\",\"Vote_Percent\",\"Seats\",\"Place\"],\"index\":[0,1,2,3,4],\"data\":[[1,1,\"July 1942\",9423.0,16.2,6.0,3.0],[2,2,\"October 1942\",11059.0,18.5,10.0,1.0],[3,4,\"1946\",13049.0,19.5,10.0,2.0],[4,5,\"1949\",14077.0,19.5,9.0,2.0],[5,7,\"1953\",12422.0,16.0,7.0,3.0]]}"
] | {"columns":["Votes"],"index":[0,1,2,3,4],"data":[[14077.0],[13049.0],[12422.0],[11059.0],[9423.0]]} | SELECT Votes FROM election ORDER BY Votes DESC <table_name> : election col : Election_ID | Representative_ID | Date | Votes | Vote_Percent | Seats | Place row 1 : 1 | 1 | 1942-07-01 00:00:00 | 9423 | 16.2 | 6 | 3 row 2 : 2 | 2 | 1942-10-01 00:00:00 | 11059 | 18.5 | 10 | 1 row 3 : 3 | 4 | 1946-01-01 00:00:00 | 13049 | 19.5 | 10 | 2 row 4 : 4 | 5 | 1949-01-01 00:00:00 | 14077 | 19.5 | 9 | 2 row 5 : 5 | 7 | 1953-01-01 00:00:00 | 12422 | 16.0 | 7 | 3 | col : Votes row 1 : 14077 row 2 : 13049 row 3 : 12422 row 4 : 11059 row 5 : 9423 |
SELECT Date , Vote_Percent FROM election | [
"election"
] | [
"{\"columns\":[\"Election_ID\",\"Representative_ID\",\"Date\",\"Votes\",\"Vote_Percent\",\"Seats\",\"Place\"],\"index\":[0,1,2,3,4],\"data\":[[1,1,\"July 1942\",9423.0,16.2,6.0,3.0],[2,2,\"October 1942\",11059.0,18.5,10.0,1.0],[3,4,\"1946\",13049.0,19.5,10.0,2.0],[4,5,\"1949\",14077.0,19.5,9.0,2.0],[5,7,\"1953\",12422.0,16.0,7.0,3.0]]}"
] | {"columns":["Date","Vote_Percent"],"index":[0,1,2,3,4],"data":[["July 1942",16.2],["October 1942",18.5],["1946",19.5],["1949",19.5],["1953",16.0]]} | SELECT Date , Vote_Percent FROM election <table_name> : election col : Election_ID | Representative_ID | Date | Votes | Vote_Percent | Seats | Place row 1 : 1 | 1 | 1942-07-01 00:00:00 | 9423 | 16.2 | 6 | 3 row 2 : 2 | 2 | 1942-10-01 00:00:00 | 11059 | 18.5 | 10 | 1 row 3 : 3 | 4 | 1946-01-01 00:00:00 | 13049 | 19.5 | 10 | 2 row 4 : 4 | 5 | 1949-01-01 00:00:00 | 14077 | 19.5 | 9 | 2 row 5 : 5 | 7 | 1953-01-01 00:00:00 | 12422 | 16.0 | 7 | 3 | col : Date | Vote_Percent row 1 : 1942-07-01 00:00:00 | 16.2 row 2 : 1942-10-01 00:00:00 | 18.5 row 3 : 1946-01-01 00:00:00 | 19.5 row 4 : 1949-01-01 00:00:00 | 19.5 row 5 : 1953-01-01 00:00:00 | 16.0 |
SELECT min(Vote_Percent) , max(Vote_Percent) FROM election | [
"election"
] | [
"{\"columns\":[\"Election_ID\",\"Representative_ID\",\"Date\",\"Votes\",\"Vote_Percent\",\"Seats\",\"Place\"],\"index\":[0,1,2,3,4],\"data\":[[1,1,\"July 1942\",9423.0,16.2,6.0,3.0],[2,2,\"October 1942\",11059.0,18.5,10.0,1.0],[3,4,\"1946\",13049.0,19.5,10.0,2.0],[4,5,\"1949\",14077.0,19.5,9.0,2.0],[5,7,\"1953\",12422.0,16.0,7.0,3.0]]}"
] | {"columns":["min(Vote_Percent)","max(Vote_Percent)"],"index":[0],"data":[[16.0,19.5]]} | SELECT min(Vote_Percent) , max(Vote_Percent) FROM election <table_name> : election col : Election_ID | Representative_ID | Date | Votes | Vote_Percent | Seats | Place row 1 : 1 | 1 | 1942-07-01 00:00:00 | 9423 | 16.2 | 6 | 3 row 2 : 2 | 2 | 1942-10-01 00:00:00 | 11059 | 18.5 | 10 | 1 row 3 : 3 | 4 | 1946-01-01 00:00:00 | 13049 | 19.5 | 10 | 2 row 4 : 4 | 5 | 1949-01-01 00:00:00 | 14077 | 19.5 | 9 | 2 row 5 : 5 | 7 | 1953-01-01 00:00:00 | 12422 | 16.0 | 7 | 3 | col : min(Vote_Percent) | max(Vote_Percent) row 1 : 16 | 19.5 |
SELECT Name , Party FROM representative | [
"representative"
] | [
"{\"columns\":[\"Representative_ID\",\"Name\",\"State\",\"Party\",\"Lifespan\"],\"index\":[0,1,2,3,4,5,6],\"data\":[[1,\"Dan Quayle\",\"Indiana\",\"Republican\",\"1947\\u00e2\\u0080\\u0093\"],[2,\"John Quayle\",\"New York\",\"Democratic\",\"1868\\u00e2\\u0080\\u00931930\"],[3,\"Al Quie\",\"Minnesota\",\"Republican\",\"1923\\u00e2\\u0080\\u0093\"],[4,\"James M. Quigley\",\"Pennsylvania\",\"Democratic\",\"1918\\u00e2\\u0080\\u0093\"],[5,\"Jimmy Quillen\",\"Tennessee\",\"Republican\",\"1916\\u00e2\\u0080\\u00932003\"],[6,\"Jack Quinn\",\"New York\",\"Republican\",\"1951\\u00e2\\u0080\\u0093\"],[7,\"James L. Quinn\",\"Pennsylvania\",\"Democratic\",\"1875\\u00e2\\u0080\\u00931960\"]]}"
] | {"columns":["Name","Party"],"index":[0,1,2,3,4,5,6],"data":[["Dan Quayle","Republican"],["John Quayle","Democratic"],["Al Quie","Republican"],["James M. Quigley","Democratic"],["Jimmy Quillen","Republican"],["Jack Quinn","Republican"],["James L. Quinn","Democratic"]]} | SELECT Name , Party FROM representative <table_name> : representative col : Representative_ID | Name | State | Party | Lifespan row 1 : 1 | Dan Quayle | Indiana | Republican | 1947â row 2 : 2 | John Quayle | New York | Democratic | 1868â1930 row 3 : 3 | Al Quie | Minnesota | Republican | 1923â row 4 : 4 | James M. Quigley | Pennsylvania | Democratic | 1918â row 5 : 5 | Jimmy Quillen | Tennessee | Republican | 1916â2003 row 6 : 6 | Jack Quinn | New York | Republican | 1951â row 7 : 7 | James L. Quinn | Pennsylvania | Democratic | 1875â1960 | col : Name | Party row 1 : Dan Quayle | Republican row 2 : John Quayle | Democratic row 3 : Al Quie | Republican row 4 : James M. Quigley | Democratic row 5 : Jimmy Quillen | Republican row 6 : Jack Quinn | Republican row 7 : James L. Quinn | Democratic |
SELECT Name FROM Representative WHERE Party != "Republican" | [
"representative"
] | [
"{\"columns\":[\"Representative_ID\",\"Name\",\"State\",\"Party\",\"Lifespan\"],\"index\":[0,1,2,3,4,5,6],\"data\":[[1,\"Dan Quayle\",\"Indiana\",\"Republican\",\"1947\\u00e2\\u0080\\u0093\"],[2,\"John Quayle\",\"New York\",\"Democratic\",\"1868\\u00e2\\u0080\\u00931930\"],[3,\"Al Quie\",\"Minnesota\",\"Republican\",\"1923\\u00e2\\u0080\\u0093\"],[4,\"James M. Quigley\",\"Pennsylvania\",\"Democratic\",\"1918\\u00e2\\u0080\\u0093\"],[5,\"Jimmy Quillen\",\"Tennessee\",\"Republican\",\"1916\\u00e2\\u0080\\u00932003\"],[6,\"Jack Quinn\",\"New York\",\"Republican\",\"1951\\u00e2\\u0080\\u0093\"],[7,\"James L. Quinn\",\"Pennsylvania\",\"Democratic\",\"1875\\u00e2\\u0080\\u00931960\"]]}"
] | {"columns":["Name"],"index":[0,1,2],"data":[["John Quayle"],["James M. Quigley"],["James L. Quinn"]]} | SELECT Name FROM Representative WHERE Party != "Republican" <table_name> : representative col : Representative_ID | Name | State | Party | Lifespan row 1 : 1 | Dan Quayle | Indiana | Republican | 1947â row 2 : 2 | John Quayle | New York | Democratic | 1868â1930 row 3 : 3 | Al Quie | Minnesota | Republican | 1923â row 4 : 4 | James M. Quigley | Pennsylvania | Democratic | 1918â row 5 : 5 | Jimmy Quillen | Tennessee | Republican | 1916â2003 row 6 : 6 | Jack Quinn | New York | Republican | 1951â row 7 : 7 | James L. Quinn | Pennsylvania | Democratic | 1875â1960 | col : Name row 1 : John Quayle row 2 : James M. Quigley row 3 : James L. Quinn |
SELECT Lifespan FROM representative WHERE State = "New York" OR State = "Indiana" | [
"representative"
] | [
"{\"columns\":[\"Representative_ID\",\"Name\",\"State\",\"Party\",\"Lifespan\"],\"index\":[0,1,2,3,4,5,6],\"data\":[[1,\"Dan Quayle\",\"Indiana\",\"Republican\",\"1947\\u00e2\\u0080\\u0093\"],[2,\"John Quayle\",\"New York\",\"Democratic\",\"1868\\u00e2\\u0080\\u00931930\"],[3,\"Al Quie\",\"Minnesota\",\"Republican\",\"1923\\u00e2\\u0080\\u0093\"],[4,\"James M. Quigley\",\"Pennsylvania\",\"Democratic\",\"1918\\u00e2\\u0080\\u0093\"],[5,\"Jimmy Quillen\",\"Tennessee\",\"Republican\",\"1916\\u00e2\\u0080\\u00932003\"],[6,\"Jack Quinn\",\"New York\",\"Republican\",\"1951\\u00e2\\u0080\\u0093\"],[7,\"James L. Quinn\",\"Pennsylvania\",\"Democratic\",\"1875\\u00e2\\u0080\\u00931960\"]]}"
] | {"columns":["Lifespan"],"index":[0,1,2],"data":[["1947\u00e2\u0080\u0093"],["1868\u00e2\u0080\u00931930"],["1951\u00e2\u0080\u0093"]]} | SELECT Lifespan FROM representative WHERE State = "New York" OR State = "Indiana" <table_name> : representative col : Representative_ID | Name | State | Party | Lifespan row 1 : 1 | Dan Quayle | Indiana | Republican | 1947â row 2 : 2 | John Quayle | New York | Democratic | 1868â1930 row 3 : 3 | Al Quie | Minnesota | Republican | 1923â row 4 : 4 | James M. Quigley | Pennsylvania | Democratic | 1918â row 5 : 5 | Jimmy Quillen | Tennessee | Republican | 1916â2003 row 6 : 6 | Jack Quinn | New York | Republican | 1951â row 7 : 7 | James L. Quinn | Pennsylvania | Democratic | 1875â1960 | col : Lifespan row 1 : 1947â row 2 : 1868â1930 row 3 : 1951â |
SELECT T2.Name , T1.Date FROM election AS T1 JOIN representative AS T2 ON T1.Representative_ID = T2.Representative_ID | [
"election",
"representative"
] | [
"{\"columns\":[\"Election_ID\",\"Representative_ID\",\"Date\",\"Votes\",\"Vote_Percent\",\"Seats\",\"Place\"],\"index\":[0,1,2,3,4],\"data\":[[1,1,\"July 1942\",9423.0,16.2,6.0,3.0],[2,2,\"October 1942\",11059.0,18.5,10.0,1.0],[3,4,\"1946\",13049.0,19.5,10.0,2.0],[4,5,\"1949\",14077.0,19.5,9.0,2.0],[5,7,\"1953\",12422.0,16.0,7.0,3.0]]}",
"{\"columns\":[\"Representative_ID\",\"Name\",\"State\",\"Party\",\"Lifespan\"],\"index\":[0,1,2,3,4,5,6],\"data\":[[1,\"Dan Quayle\",\"Indiana\",\"Republican\",\"1947\\u00e2\\u0080\\u0093\"],[2,\"John Quayle\",\"New York\",\"Democratic\",\"1868\\u00e2\\u0080\\u00931930\"],[3,\"Al Quie\",\"Minnesota\",\"Republican\",\"1923\\u00e2\\u0080\\u0093\"],[4,\"James M. Quigley\",\"Pennsylvania\",\"Democratic\",\"1918\\u00e2\\u0080\\u0093\"],[5,\"Jimmy Quillen\",\"Tennessee\",\"Republican\",\"1916\\u00e2\\u0080\\u00932003\"],[6,\"Jack Quinn\",\"New York\",\"Republican\",\"1951\\u00e2\\u0080\\u0093\"],[7,\"James L. Quinn\",\"Pennsylvania\",\"Democratic\",\"1875\\u00e2\\u0080\\u00931960\"]]}"
] | {"columns":["Name","Date"],"index":[0,1,2,3,4],"data":[["Dan Quayle","July 1942"],["John Quayle","October 1942"],["James M. Quigley","1946"],["Jimmy Quillen","1949"],["James L. Quinn","1953"]]} | SELECT T2.Name , T1.Date FROM election AS T1 JOIN representative AS T2 ON T1.Representative_ID = T2.Representative_ID <table_name> : election col : Election_ID | Representative_ID | Date | Votes | Vote_Percent | Seats | Place row 1 : 1 | 1 | 1942-07-01 00:00:00 | 9423 | 16.2 | 6 | 3 row 2 : 2 | 2 | 1942-10-01 00:00:00 | 11059 | 18.5 | 10 | 1 row 3 : 3 | 4 | 1946-01-01 00:00:00 | 13049 | 19.5 | 10 | 2 row 4 : 4 | 5 | 1949-01-01 00:00:00 | 14077 | 19.5 | 9 | 2 row 5 : 5 | 7 | 1953-01-01 00:00:00 | 12422 | 16.0 | 7 | 3 <table_name> : representative col : Representative_ID | Name | State | Party | Lifespan row 1 : 1 | Dan Quayle | Indiana | Republican | 1947â row 2 : 2 | John Quayle | New York | Democratic | 1868â1930 row 3 : 3 | Al Quie | Minnesota | Republican | 1923â row 4 : 4 | James M. Quigley | Pennsylvania | Democratic | 1918â row 5 : 5 | Jimmy Quillen | Tennessee | Republican | 1916â2003 row 6 : 6 | Jack Quinn | New York | Republican | 1951â row 7 : 7 | James L. Quinn | Pennsylvania | Democratic | 1875â1960 | col : Name | Date row 1 : Dan Quayle | 1942-07-01 00:00:00 row 2 : John Quayle | 1942-10-01 00:00:00 row 3 : James M. Quigley | 1946-01-01 00:00:00 row 4 : Jimmy Quillen | 1949-01-01 00:00:00 row 5 : James L. Quinn | 1953-01-01 00:00:00 |
SELECT T2.Name FROM election AS T1 JOIN representative AS T2 ON T1.Representative_ID = T2.Representative_ID WHERE Votes > 10000 | [
"election",
"representative"
] | [
"{\"columns\":[\"Election_ID\",\"Representative_ID\",\"Date\",\"Votes\",\"Vote_Percent\",\"Seats\",\"Place\"],\"index\":[0,1,2,3,4],\"data\":[[1,1,\"July 1942\",9423.0,16.2,6.0,3.0],[2,2,\"October 1942\",11059.0,18.5,10.0,1.0],[3,4,\"1946\",13049.0,19.5,10.0,2.0],[4,5,\"1949\",14077.0,19.5,9.0,2.0],[5,7,\"1953\",12422.0,16.0,7.0,3.0]]}",
"{\"columns\":[\"Representative_ID\",\"Name\",\"State\",\"Party\",\"Lifespan\"],\"index\":[0,1,2,3,4,5,6],\"data\":[[1,\"Dan Quayle\",\"Indiana\",\"Republican\",\"1947\\u00e2\\u0080\\u0093\"],[2,\"John Quayle\",\"New York\",\"Democratic\",\"1868\\u00e2\\u0080\\u00931930\"],[3,\"Al Quie\",\"Minnesota\",\"Republican\",\"1923\\u00e2\\u0080\\u0093\"],[4,\"James M. Quigley\",\"Pennsylvania\",\"Democratic\",\"1918\\u00e2\\u0080\\u0093\"],[5,\"Jimmy Quillen\",\"Tennessee\",\"Republican\",\"1916\\u00e2\\u0080\\u00932003\"],[6,\"Jack Quinn\",\"New York\",\"Republican\",\"1951\\u00e2\\u0080\\u0093\"],[7,\"James L. Quinn\",\"Pennsylvania\",\"Democratic\",\"1875\\u00e2\\u0080\\u00931960\"]]}"
] | {"columns":["Name"],"index":[0,1,2,3],"data":[["John Quayle"],["James M. Quigley"],["Jimmy Quillen"],["James L. Quinn"]]} | SELECT T2.Name FROM election AS T1 JOIN representative AS T2 ON T1.Representative_ID = T2.Representative_ID WHERE Votes > 10000 <table_name> : election col : Election_ID | Representative_ID | Date | Votes | Vote_Percent | Seats | Place row 1 : 1 | 1 | 1942-07-01 00:00:00 | 9423 | 16.2 | 6 | 3 row 2 : 2 | 2 | 1942-10-01 00:00:00 | 11059 | 18.5 | 10 | 1 row 3 : 3 | 4 | 1946-01-01 00:00:00 | 13049 | 19.5 | 10 | 2 row 4 : 4 | 5 | 1949-01-01 00:00:00 | 14077 | 19.5 | 9 | 2 row 5 : 5 | 7 | 1953-01-01 00:00:00 | 12422 | 16.0 | 7 | 3 <table_name> : representative col : Representative_ID | Name | State | Party | Lifespan row 1 : 1 | Dan Quayle | Indiana | Republican | 1947â row 2 : 2 | John Quayle | New York | Democratic | 1868â1930 row 3 : 3 | Al Quie | Minnesota | Republican | 1923â row 4 : 4 | James M. Quigley | Pennsylvania | Democratic | 1918â row 5 : 5 | Jimmy Quillen | Tennessee | Republican | 1916â2003 row 6 : 6 | Jack Quinn | New York | Republican | 1951â row 7 : 7 | James L. Quinn | Pennsylvania | Democratic | 1875â1960 | col : Name row 1 : John Quayle row 2 : James M. Quigley row 3 : Jimmy Quillen row 4 : James L. Quinn |
SELECT T2.Name FROM election AS T1 JOIN representative AS T2 ON T1.Representative_ID = T2.Representative_ID ORDER BY votes DESC | [
"election",
"representative"
] | [
"{\"columns\":[\"Election_ID\",\"Representative_ID\",\"Date\",\"Votes\",\"Vote_Percent\",\"Seats\",\"Place\"],\"index\":[0,1,2,3,4],\"data\":[[1,1,\"July 1942\",9423.0,16.2,6.0,3.0],[2,2,\"October 1942\",11059.0,18.5,10.0,1.0],[3,4,\"1946\",13049.0,19.5,10.0,2.0],[4,5,\"1949\",14077.0,19.5,9.0,2.0],[5,7,\"1953\",12422.0,16.0,7.0,3.0]]}",
"{\"columns\":[\"Representative_ID\",\"Name\",\"State\",\"Party\",\"Lifespan\"],\"index\":[0,1,2,3,4,5,6],\"data\":[[1,\"Dan Quayle\",\"Indiana\",\"Republican\",\"1947\\u00e2\\u0080\\u0093\"],[2,\"John Quayle\",\"New York\",\"Democratic\",\"1868\\u00e2\\u0080\\u00931930\"],[3,\"Al Quie\",\"Minnesota\",\"Republican\",\"1923\\u00e2\\u0080\\u0093\"],[4,\"James M. Quigley\",\"Pennsylvania\",\"Democratic\",\"1918\\u00e2\\u0080\\u0093\"],[5,\"Jimmy Quillen\",\"Tennessee\",\"Republican\",\"1916\\u00e2\\u0080\\u00932003\"],[6,\"Jack Quinn\",\"New York\",\"Republican\",\"1951\\u00e2\\u0080\\u0093\"],[7,\"James L. Quinn\",\"Pennsylvania\",\"Democratic\",\"1875\\u00e2\\u0080\\u00931960\"]]}"
] | {"columns":["Name"],"index":[0,1,2,3,4],"data":[["Jimmy Quillen"],["James M. Quigley"],["James L. Quinn"],["John Quayle"],["Dan Quayle"]]} | SELECT T2.Name FROM election AS T1 JOIN representative AS T2 ON T1.Representative_ID = T2.Representative_ID ORDER BY votes DESC <table_name> : election col : Election_ID | Representative_ID | Date | Votes | Vote_Percent | Seats | Place row 1 : 1 | 1 | 1942-07-01 00:00:00 | 9423 | 16.2 | 6 | 3 row 2 : 2 | 2 | 1942-10-01 00:00:00 | 11059 | 18.5 | 10 | 1 row 3 : 3 | 4 | 1946-01-01 00:00:00 | 13049 | 19.5 | 10 | 2 row 4 : 4 | 5 | 1949-01-01 00:00:00 | 14077 | 19.5 | 9 | 2 row 5 : 5 | 7 | 1953-01-01 00:00:00 | 12422 | 16.0 | 7 | 3 <table_name> : representative col : Representative_ID | Name | State | Party | Lifespan row 1 : 1 | Dan Quayle | Indiana | Republican | 1947â row 2 : 2 | John Quayle | New York | Democratic | 1868â1930 row 3 : 3 | Al Quie | Minnesota | Republican | 1923â row 4 : 4 | James M. Quigley | Pennsylvania | Democratic | 1918â row 5 : 5 | Jimmy Quillen | Tennessee | Republican | 1916â2003 row 6 : 6 | Jack Quinn | New York | Republican | 1951â row 7 : 7 | James L. Quinn | Pennsylvania | Democratic | 1875â1960 | col : Name row 1 : Jimmy Quillen row 2 : James M. Quigley row 3 : James L. Quinn row 4 : John Quayle row 5 : Dan Quayle |
SELECT T2.Party FROM election AS T1 JOIN representative AS T2 ON T1.Representative_ID = T2.Representative_ID ORDER BY votes ASC LIMIT 1 | [
"election",
"representative"
] | [
"{\"columns\":[\"Election_ID\",\"Representative_ID\",\"Date\",\"Votes\",\"Vote_Percent\",\"Seats\",\"Place\"],\"index\":[0,1,2,3,4],\"data\":[[1,1,\"July 1942\",9423.0,16.2,6.0,3.0],[2,2,\"October 1942\",11059.0,18.5,10.0,1.0],[3,4,\"1946\",13049.0,19.5,10.0,2.0],[4,5,\"1949\",14077.0,19.5,9.0,2.0],[5,7,\"1953\",12422.0,16.0,7.0,3.0]]}",
"{\"columns\":[\"Representative_ID\",\"Name\",\"State\",\"Party\",\"Lifespan\"],\"index\":[0,1,2,3,4,5,6],\"data\":[[1,\"Dan Quayle\",\"Indiana\",\"Republican\",\"1947\\u00e2\\u0080\\u0093\"],[2,\"John Quayle\",\"New York\",\"Democratic\",\"1868\\u00e2\\u0080\\u00931930\"],[3,\"Al Quie\",\"Minnesota\",\"Republican\",\"1923\\u00e2\\u0080\\u0093\"],[4,\"James M. Quigley\",\"Pennsylvania\",\"Democratic\",\"1918\\u00e2\\u0080\\u0093\"],[5,\"Jimmy Quillen\",\"Tennessee\",\"Republican\",\"1916\\u00e2\\u0080\\u00932003\"],[6,\"Jack Quinn\",\"New York\",\"Republican\",\"1951\\u00e2\\u0080\\u0093\"],[7,\"James L. Quinn\",\"Pennsylvania\",\"Democratic\",\"1875\\u00e2\\u0080\\u00931960\"]]}"
] | {"columns":["Party"],"index":[0],"data":[["Republican"]]} | SELECT T2.Party FROM election AS T1 JOIN representative AS T2 ON T1.Representative_ID = T2.Representative_ID ORDER BY votes ASC LIMIT 1 <table_name> : election col : Election_ID | Representative_ID | Date | Votes | Vote_Percent | Seats | Place row 1 : 1 | 1 | 1942-07-01 00:00:00 | 9423 | 16.2 | 6 | 3 row 2 : 2 | 2 | 1942-10-01 00:00:00 | 11059 | 18.5 | 10 | 1 row 3 : 3 | 4 | 1946-01-01 00:00:00 | 13049 | 19.5 | 10 | 2 row 4 : 4 | 5 | 1949-01-01 00:00:00 | 14077 | 19.5 | 9 | 2 row 5 : 5 | 7 | 1953-01-01 00:00:00 | 12422 | 16.0 | 7 | 3 <table_name> : representative col : Representative_ID | Name | State | Party | Lifespan row 1 : 1 | Dan Quayle | Indiana | Republican | 1947â row 2 : 2 | John Quayle | New York | Democratic | 1868â1930 row 3 : 3 | Al Quie | Minnesota | Republican | 1923â row 4 : 4 | James M. Quigley | Pennsylvania | Democratic | 1918â row 5 : 5 | Jimmy Quillen | Tennessee | Republican | 1916â2003 row 6 : 6 | Jack Quinn | New York | Republican | 1951â row 7 : 7 | James L. Quinn | Pennsylvania | Democratic | 1875â1960 | col : Party row 1 : Republican |
SELECT T2.Lifespan FROM election AS T1 JOIN representative AS T2 ON T1.Representative_ID = T2.Representative_ID ORDER BY Vote_Percent DESC | [
"election",
"representative"
] | [
"{\"columns\":[\"Election_ID\",\"Representative_ID\",\"Date\",\"Votes\",\"Vote_Percent\",\"Seats\",\"Place\"],\"index\":[0,1,2,3,4],\"data\":[[1,1,\"July 1942\",9423.0,16.2,6.0,3.0],[2,2,\"October 1942\",11059.0,18.5,10.0,1.0],[3,4,\"1946\",13049.0,19.5,10.0,2.0],[4,5,\"1949\",14077.0,19.5,9.0,2.0],[5,7,\"1953\",12422.0,16.0,7.0,3.0]]}",
"{\"columns\":[\"Representative_ID\",\"Name\",\"State\",\"Party\",\"Lifespan\"],\"index\":[0,1,2,3,4,5,6],\"data\":[[1,\"Dan Quayle\",\"Indiana\",\"Republican\",\"1947\\u00e2\\u0080\\u0093\"],[2,\"John Quayle\",\"New York\",\"Democratic\",\"1868\\u00e2\\u0080\\u00931930\"],[3,\"Al Quie\",\"Minnesota\",\"Republican\",\"1923\\u00e2\\u0080\\u0093\"],[4,\"James M. Quigley\",\"Pennsylvania\",\"Democratic\",\"1918\\u00e2\\u0080\\u0093\"],[5,\"Jimmy Quillen\",\"Tennessee\",\"Republican\",\"1916\\u00e2\\u0080\\u00932003\"],[6,\"Jack Quinn\",\"New York\",\"Republican\",\"1951\\u00e2\\u0080\\u0093\"],[7,\"James L. Quinn\",\"Pennsylvania\",\"Democratic\",\"1875\\u00e2\\u0080\\u00931960\"]]}"
] | {"columns":["Lifespan"],"index":[0,1,2,3,4],"data":[["1918\u00e2\u0080\u0093"],["1916\u00e2\u0080\u00932003"],["1868\u00e2\u0080\u00931930"],["1947\u00e2\u0080\u0093"],["1875\u00e2\u0080\u00931960"]]} | SELECT T2.Lifespan FROM election AS T1 JOIN representative AS T2 ON T1.Representative_ID = T2.Representative_ID ORDER BY Vote_Percent DESC <table_name> : election col : Election_ID | Representative_ID | Date | Votes | Vote_Percent | Seats | Place row 1 : 1 | 1 | 1942-07-01 00:00:00 | 9423 | 16.2 | 6 | 3 row 2 : 2 | 2 | 1942-10-01 00:00:00 | 11059 | 18.5 | 10 | 1 row 3 : 3 | 4 | 1946-01-01 00:00:00 | 13049 | 19.5 | 10 | 2 row 4 : 4 | 5 | 1949-01-01 00:00:00 | 14077 | 19.5 | 9 | 2 row 5 : 5 | 7 | 1953-01-01 00:00:00 | 12422 | 16.0 | 7 | 3 <table_name> : representative col : Representative_ID | Name | State | Party | Lifespan row 1 : 1 | Dan Quayle | Indiana | Republican | 1947â row 2 : 2 | John Quayle | New York | Democratic | 1868â1930 row 3 : 3 | Al Quie | Minnesota | Republican | 1923â row 4 : 4 | James M. Quigley | Pennsylvania | Democratic | 1918â row 5 : 5 | Jimmy Quillen | Tennessee | Republican | 1916â2003 row 6 : 6 | Jack Quinn | New York | Republican | 1951â row 7 : 7 | James L. Quinn | Pennsylvania | Democratic | 1875â1960 | col : Lifespan row 1 : 1918â row 2 : 1916â2003 row 3 : 1868â1930 row 4 : 1947â row 5 : 1875â1960 |
SELECT avg(T1.Votes) FROM election AS T1 JOIN representative AS T2 ON T1.Representative_ID = T2.Representative_ID WHERE T2.Party = "Republican" | [
"election",
"representative"
] | [
"{\"columns\":[\"Election_ID\",\"Representative_ID\",\"Date\",\"Votes\",\"Vote_Percent\",\"Seats\",\"Place\"],\"index\":[0,1,2,3,4],\"data\":[[1,1,\"July 1942\",9423.0,16.2,6.0,3.0],[2,2,\"October 1942\",11059.0,18.5,10.0,1.0],[3,4,\"1946\",13049.0,19.5,10.0,2.0],[4,5,\"1949\",14077.0,19.5,9.0,2.0],[5,7,\"1953\",12422.0,16.0,7.0,3.0]]}",
"{\"columns\":[\"Representative_ID\",\"Name\",\"State\",\"Party\",\"Lifespan\"],\"index\":[0,1,2,3,4,5,6],\"data\":[[1,\"Dan Quayle\",\"Indiana\",\"Republican\",\"1947\\u00e2\\u0080\\u0093\"],[2,\"John Quayle\",\"New York\",\"Democratic\",\"1868\\u00e2\\u0080\\u00931930\"],[3,\"Al Quie\",\"Minnesota\",\"Republican\",\"1923\\u00e2\\u0080\\u0093\"],[4,\"James M. Quigley\",\"Pennsylvania\",\"Democratic\",\"1918\\u00e2\\u0080\\u0093\"],[5,\"Jimmy Quillen\",\"Tennessee\",\"Republican\",\"1916\\u00e2\\u0080\\u00932003\"],[6,\"Jack Quinn\",\"New York\",\"Republican\",\"1951\\u00e2\\u0080\\u0093\"],[7,\"James L. Quinn\",\"Pennsylvania\",\"Democratic\",\"1875\\u00e2\\u0080\\u00931960\"]]}"
] | {"columns":["avg(T1.Votes)"],"index":[0],"data":[[11750.0]]} | SELECT avg(T1.Votes) FROM election AS T1 JOIN representative AS T2 ON T1.Representative_ID = T2.Representative_ID WHERE T2.Party = "Republican" <table_name> : election col : Election_ID | Representative_ID | Date | Votes | Vote_Percent | Seats | Place row 1 : 1 | 1 | 1942-07-01 00:00:00 | 9423 | 16.2 | 6 | 3 row 2 : 2 | 2 | 1942-10-01 00:00:00 | 11059 | 18.5 | 10 | 1 row 3 : 3 | 4 | 1946-01-01 00:00:00 | 13049 | 19.5 | 10 | 2 row 4 : 4 | 5 | 1949-01-01 00:00:00 | 14077 | 19.5 | 9 | 2 row 5 : 5 | 7 | 1953-01-01 00:00:00 | 12422 | 16.0 | 7 | 3 <table_name> : representative col : Representative_ID | Name | State | Party | Lifespan row 1 : 1 | Dan Quayle | Indiana | Republican | 1947â row 2 : 2 | John Quayle | New York | Democratic | 1868â1930 row 3 : 3 | Al Quie | Minnesota | Republican | 1923â row 4 : 4 | James M. Quigley | Pennsylvania | Democratic | 1918â row 5 : 5 | Jimmy Quillen | Tennessee | Republican | 1916â2003 row 6 : 6 | Jack Quinn | New York | Republican | 1951â row 7 : 7 | James L. Quinn | Pennsylvania | Democratic | 1875â1960 | col : avg(T1.Votes) row 1 : 11750 |
SELECT Party , COUNT(*) FROM representative GROUP BY Party | [
"representative"
] | [
"{\"columns\":[\"Representative_ID\",\"Name\",\"State\",\"Party\",\"Lifespan\"],\"index\":[0,1,2,3,4,5,6],\"data\":[[1,\"Dan Quayle\",\"Indiana\",\"Republican\",\"1947\\u00e2\\u0080\\u0093\"],[2,\"John Quayle\",\"New York\",\"Democratic\",\"1868\\u00e2\\u0080\\u00931930\"],[3,\"Al Quie\",\"Minnesota\",\"Republican\",\"1923\\u00e2\\u0080\\u0093\"],[4,\"James M. Quigley\",\"Pennsylvania\",\"Democratic\",\"1918\\u00e2\\u0080\\u0093\"],[5,\"Jimmy Quillen\",\"Tennessee\",\"Republican\",\"1916\\u00e2\\u0080\\u00932003\"],[6,\"Jack Quinn\",\"New York\",\"Republican\",\"1951\\u00e2\\u0080\\u0093\"],[7,\"James L. Quinn\",\"Pennsylvania\",\"Democratic\",\"1875\\u00e2\\u0080\\u00931960\"]]}"
] | {"columns":["Party","COUNT(*)"],"index":[0,1],"data":[["Democratic",3],["Republican",4]]} | SELECT Party , COUNT(*) FROM representative GROUP BY Party <table_name> : representative col : Representative_ID | Name | State | Party | Lifespan row 1 : 1 | Dan Quayle | Indiana | Republican | 1947â row 2 : 2 | John Quayle | New York | Democratic | 1868â1930 row 3 : 3 | Al Quie | Minnesota | Republican | 1923â row 4 : 4 | James M. Quigley | Pennsylvania | Democratic | 1918â row 5 : 5 | Jimmy Quillen | Tennessee | Republican | 1916â2003 row 6 : 6 | Jack Quinn | New York | Republican | 1951â row 7 : 7 | James L. Quinn | Pennsylvania | Democratic | 1875â1960 | col : Party | COUNT(*) row 1 : Democratic | 3 row 2 : Republican | 4 |
SELECT Party , COUNT(*) FROM representative GROUP BY Party ORDER BY COUNT(*) DESC LIMIT 1 | [
"representative"
] | [
"{\"columns\":[\"Representative_ID\",\"Name\",\"State\",\"Party\",\"Lifespan\"],\"index\":[0,1,2,3,4,5,6],\"data\":[[1,\"Dan Quayle\",\"Indiana\",\"Republican\",\"1947\\u00e2\\u0080\\u0093\"],[2,\"John Quayle\",\"New York\",\"Democratic\",\"1868\\u00e2\\u0080\\u00931930\"],[3,\"Al Quie\",\"Minnesota\",\"Republican\",\"1923\\u00e2\\u0080\\u0093\"],[4,\"James M. Quigley\",\"Pennsylvania\",\"Democratic\",\"1918\\u00e2\\u0080\\u0093\"],[5,\"Jimmy Quillen\",\"Tennessee\",\"Republican\",\"1916\\u00e2\\u0080\\u00932003\"],[6,\"Jack Quinn\",\"New York\",\"Republican\",\"1951\\u00e2\\u0080\\u0093\"],[7,\"James L. Quinn\",\"Pennsylvania\",\"Democratic\",\"1875\\u00e2\\u0080\\u00931960\"]]}"
] | {"columns":["Party","COUNT(*)"],"index":[0],"data":[["Republican",4]]} | SELECT Party , COUNT(*) FROM representative GROUP BY Party ORDER BY COUNT(*) DESC LIMIT 1 <table_name> : representative col : Representative_ID | Name | State | Party | Lifespan row 1 : 1 | Dan Quayle | Indiana | Republican | 1947â row 2 : 2 | John Quayle | New York | Democratic | 1868â1930 row 3 : 3 | Al Quie | Minnesota | Republican | 1923â row 4 : 4 | James M. Quigley | Pennsylvania | Democratic | 1918â row 5 : 5 | Jimmy Quillen | Tennessee | Republican | 1916â2003 row 6 : 6 | Jack Quinn | New York | Republican | 1951â row 7 : 7 | James L. Quinn | Pennsylvania | Democratic | 1875â1960 | col : Party | COUNT(*) row 1 : Republican | 4 |
SELECT Party FROM representative GROUP BY Party HAVING COUNT(*) >= 3 | [
"representative"
] | [
"{\"columns\":[\"Representative_ID\",\"Name\",\"State\",\"Party\",\"Lifespan\"],\"index\":[0,1,2,3,4,5,6],\"data\":[[1,\"Dan Quayle\",\"Indiana\",\"Republican\",\"1947\\u00e2\\u0080\\u0093\"],[2,\"John Quayle\",\"New York\",\"Democratic\",\"1868\\u00e2\\u0080\\u00931930\"],[3,\"Al Quie\",\"Minnesota\",\"Republican\",\"1923\\u00e2\\u0080\\u0093\"],[4,\"James M. Quigley\",\"Pennsylvania\",\"Democratic\",\"1918\\u00e2\\u0080\\u0093\"],[5,\"Jimmy Quillen\",\"Tennessee\",\"Republican\",\"1916\\u00e2\\u0080\\u00932003\"],[6,\"Jack Quinn\",\"New York\",\"Republican\",\"1951\\u00e2\\u0080\\u0093\"],[7,\"James L. Quinn\",\"Pennsylvania\",\"Democratic\",\"1875\\u00e2\\u0080\\u00931960\"]]}"
] | {"columns":["Party"],"index":[0,1],"data":[["Democratic"],["Republican"]]} | SELECT Party FROM representative GROUP BY Party HAVING COUNT(*) >= 3 <table_name> : representative col : Representative_ID | Name | State | Party | Lifespan row 1 : 1 | Dan Quayle | Indiana | Republican | 1947â row 2 : 2 | John Quayle | New York | Democratic | 1868â1930 row 3 : 3 | Al Quie | Minnesota | Republican | 1923â row 4 : 4 | James M. Quigley | Pennsylvania | Democratic | 1918â row 5 : 5 | Jimmy Quillen | Tennessee | Republican | 1916â2003 row 6 : 6 | Jack Quinn | New York | Republican | 1951â row 7 : 7 | James L. Quinn | Pennsylvania | Democratic | 1875â1960 | col : Party row 1 : Democratic row 2 : Republican |
SELECT State FROM representative GROUP BY State HAVING COUNT(*) >= 2 | [
"representative"
] | [
"{\"columns\":[\"Representative_ID\",\"Name\",\"State\",\"Party\",\"Lifespan\"],\"index\":[0,1,2,3,4,5,6],\"data\":[[1,\"Dan Quayle\",\"Indiana\",\"Republican\",\"1947\\u00e2\\u0080\\u0093\"],[2,\"John Quayle\",\"New York\",\"Democratic\",\"1868\\u00e2\\u0080\\u00931930\"],[3,\"Al Quie\",\"Minnesota\",\"Republican\",\"1923\\u00e2\\u0080\\u0093\"],[4,\"James M. Quigley\",\"Pennsylvania\",\"Democratic\",\"1918\\u00e2\\u0080\\u0093\"],[5,\"Jimmy Quillen\",\"Tennessee\",\"Republican\",\"1916\\u00e2\\u0080\\u00932003\"],[6,\"Jack Quinn\",\"New York\",\"Republican\",\"1951\\u00e2\\u0080\\u0093\"],[7,\"James L. Quinn\",\"Pennsylvania\",\"Democratic\",\"1875\\u00e2\\u0080\\u00931960\"]]}"
] | {"columns":["State"],"index":[0,1],"data":[["New York"],["Pennsylvania"]]} | SELECT State FROM representative GROUP BY State HAVING COUNT(*) >= 2 <table_name> : representative col : Representative_ID | Name | State | Party | Lifespan row 1 : 1 | Dan Quayle | Indiana | Republican | 1947â row 2 : 2 | John Quayle | New York | Democratic | 1868â1930 row 3 : 3 | Al Quie | Minnesota | Republican | 1923â row 4 : 4 | James M. Quigley | Pennsylvania | Democratic | 1918â row 5 : 5 | Jimmy Quillen | Tennessee | Republican | 1916â2003 row 6 : 6 | Jack Quinn | New York | Republican | 1951â row 7 : 7 | James L. Quinn | Pennsylvania | Democratic | 1875â1960 | col : State row 1 : New York row 2 : Pennsylvania |
SELECT Name FROM representative WHERE Representative_ID NOT IN (SELECT Representative_ID FROM election) | [
"election",
"representative"
] | [
"{\"columns\":[\"Election_ID\",\"Representative_ID\",\"Date\",\"Votes\",\"Vote_Percent\",\"Seats\",\"Place\"],\"index\":[0,1,2,3,4],\"data\":[[1,1,\"July 1942\",9423.0,16.2,6.0,3.0],[2,2,\"October 1942\",11059.0,18.5,10.0,1.0],[3,4,\"1946\",13049.0,19.5,10.0,2.0],[4,5,\"1949\",14077.0,19.5,9.0,2.0],[5,7,\"1953\",12422.0,16.0,7.0,3.0]]}",
"{\"columns\":[\"Representative_ID\",\"Name\",\"State\",\"Party\",\"Lifespan\"],\"index\":[0,1,2,3,4,5,6],\"data\":[[1,\"Dan Quayle\",\"Indiana\",\"Republican\",\"1947\\u00e2\\u0080\\u0093\"],[2,\"John Quayle\",\"New York\",\"Democratic\",\"1868\\u00e2\\u0080\\u00931930\"],[3,\"Al Quie\",\"Minnesota\",\"Republican\",\"1923\\u00e2\\u0080\\u0093\"],[4,\"James M. Quigley\",\"Pennsylvania\",\"Democratic\",\"1918\\u00e2\\u0080\\u0093\"],[5,\"Jimmy Quillen\",\"Tennessee\",\"Republican\",\"1916\\u00e2\\u0080\\u00932003\"],[6,\"Jack Quinn\",\"New York\",\"Republican\",\"1951\\u00e2\\u0080\\u0093\"],[7,\"James L. Quinn\",\"Pennsylvania\",\"Democratic\",\"1875\\u00e2\\u0080\\u00931960\"]]}"
] | {"columns":["Name"],"index":[0,1],"data":[["Al Quie"],["Jack Quinn"]]} | SELECT Name FROM representative WHERE Representative_ID NOT IN (SELECT Representative_ID FROM election) <table_name> : election col : Election_ID | Representative_ID | Date | Votes | Vote_Percent | Seats | Place row 1 : 1 | 1 | 1942-07-01 00:00:00 | 9423 | 16.2 | 6 | 3 row 2 : 2 | 2 | 1942-10-01 00:00:00 | 11059 | 18.5 | 10 | 1 row 3 : 3 | 4 | 1946-01-01 00:00:00 | 13049 | 19.5 | 10 | 2 row 4 : 4 | 5 | 1949-01-01 00:00:00 | 14077 | 19.5 | 9 | 2 row 5 : 5 | 7 | 1953-01-01 00:00:00 | 12422 | 16.0 | 7 | 3 <table_name> : representative col : Representative_ID | Name | State | Party | Lifespan row 1 : 1 | Dan Quayle | Indiana | Republican | 1947â row 2 : 2 | John Quayle | New York | Democratic | 1868â1930 row 3 : 3 | Al Quie | Minnesota | Republican | 1923â row 4 : 4 | James M. Quigley | Pennsylvania | Democratic | 1918â row 5 : 5 | Jimmy Quillen | Tennessee | Republican | 1916â2003 row 6 : 6 | Jack Quinn | New York | Republican | 1951â row 7 : 7 | James L. Quinn | Pennsylvania | Democratic | 1875â1960 | col : Name row 1 : Al Quie row 2 : Jack Quinn |
SELECT Party FROM representative WHERE State = "New York" INTERSECT SELECT Party FROM representative WHERE State = "Pennsylvania" | [
"representative"
] | [
"{\"columns\":[\"Representative_ID\",\"Name\",\"State\",\"Party\",\"Lifespan\"],\"index\":[0,1,2,3,4,5,6],\"data\":[[1,\"Dan Quayle\",\"Indiana\",\"Republican\",\"1947\\u00e2\\u0080\\u0093\"],[2,\"John Quayle\",\"New York\",\"Democratic\",\"1868\\u00e2\\u0080\\u00931930\"],[3,\"Al Quie\",\"Minnesota\",\"Republican\",\"1923\\u00e2\\u0080\\u0093\"],[4,\"James M. Quigley\",\"Pennsylvania\",\"Democratic\",\"1918\\u00e2\\u0080\\u0093\"],[5,\"Jimmy Quillen\",\"Tennessee\",\"Republican\",\"1916\\u00e2\\u0080\\u00932003\"],[6,\"Jack Quinn\",\"New York\",\"Republican\",\"1951\\u00e2\\u0080\\u0093\"],[7,\"James L. Quinn\",\"Pennsylvania\",\"Democratic\",\"1875\\u00e2\\u0080\\u00931960\"]]}"
] | {"columns":["Party"],"index":[0],"data":[["Democratic"]]} | SELECT Party FROM representative WHERE State = "New York" INTERSECT SELECT Party FROM representative WHERE State = "Pennsylvania" <table_name> : representative col : Representative_ID | Name | State | Party | Lifespan row 1 : 1 | Dan Quayle | Indiana | Republican | 1947â row 2 : 2 | John Quayle | New York | Democratic | 1868â1930 row 3 : 3 | Al Quie | Minnesota | Republican | 1923â row 4 : 4 | James M. Quigley | Pennsylvania | Democratic | 1918â row 5 : 5 | Jimmy Quillen | Tennessee | Republican | 1916â2003 row 6 : 6 | Jack Quinn | New York | Republican | 1951â row 7 : 7 | James L. Quinn | Pennsylvania | Democratic | 1875â1960 | col : Party row 1 : Democratic |
SELECT count(DISTINCT Party) FROM representative | [
"representative"
] | [
"{\"columns\":[\"Representative_ID\",\"Name\",\"State\",\"Party\",\"Lifespan\"],\"index\":[0,1,2,3,4,5,6],\"data\":[[1,\"Dan Quayle\",\"Indiana\",\"Republican\",\"1947\\u00e2\\u0080\\u0093\"],[2,\"John Quayle\",\"New York\",\"Democratic\",\"1868\\u00e2\\u0080\\u00931930\"],[3,\"Al Quie\",\"Minnesota\",\"Republican\",\"1923\\u00e2\\u0080\\u0093\"],[4,\"James M. Quigley\",\"Pennsylvania\",\"Democratic\",\"1918\\u00e2\\u0080\\u0093\"],[5,\"Jimmy Quillen\",\"Tennessee\",\"Republican\",\"1916\\u00e2\\u0080\\u00932003\"],[6,\"Jack Quinn\",\"New York\",\"Republican\",\"1951\\u00e2\\u0080\\u0093\"],[7,\"James L. Quinn\",\"Pennsylvania\",\"Democratic\",\"1875\\u00e2\\u0080\\u00931960\"]]}"
] | {"columns":["count(DISTINCT Party)"],"index":[0],"data":[[2]]} | SELECT count(DISTINCT Party) FROM representative <table_name> : representative col : Representative_ID | Name | State | Party | Lifespan row 1 : 1 | Dan Quayle | Indiana | Republican | 1947â row 2 : 2 | John Quayle | New York | Democratic | 1868â1930 row 3 : 3 | Al Quie | Minnesota | Republican | 1923â row 4 : 4 | James M. Quigley | Pennsylvania | Democratic | 1918â row 5 : 5 | Jimmy Quillen | Tennessee | Republican | 1916â2003 row 6 : 6 | Jack Quinn | New York | Republican | 1951â row 7 : 7 | James L. Quinn | Pennsylvania | Democratic | 1875â1960 | col : count(DISTINCT Party) row 1 : 2 |
SELECT count(*) FROM Apartment_Bookings | [
"Apartment_Bookings"
] | [
"{\"columns\":[\"apt_booking_id\",\"apt_id\",\"guest_id\",\"booking_status_code\",\"booking_start_date\",\"booking_end_date\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],\"data\":[[258,10,2,\"Provisional\",\"2016-09-26 17:13:49\",\"2017-10-07 11:38:48\"],[279,15,15,\"Provisional\",\"2016-04-01 06:28:08\",\"2017-10-25 11:08:42\"],[337,8,5,\"Provisional\",\"2017-03-13 16:20:14\",\"2018-02-19 16:59:08\"],[343,4,13,\"Confirmed\",\"2016-08-04 10:33:00\",\"2017-09-29 12:43:50\"],[365,9,12,\"Confirmed\",\"2017-02-11 14:34:14\",\"2017-10-07 20:47:19\"],[401,7,14,\"Provisional\",\"2016-05-24 20:09:38\",\"2017-10-03 01:56:21\"],[497,10,8,\"Confirmed\",\"2016-07-25 02:57:04\",\"2017-09-28 11:08:15\"],[526,8,7,\"Confirmed\",\"2016-11-26 05:04:31\",\"2018-02-25 15:15:37\"],[575,6,3,\"Provisional\",\"2017-05-13 18:17:20\",\"2017-10-06 11:15:58\"],[577,12,2,\"Provisional\",\"2017-03-04 02:23:49\",\"2018-02-06 16:57:05\"],[623,4,5,\"Provisional\",\"2016-06-07 05:05:18\",\"2017-11-13 13:59:45\"],[807,11,2,\"Provisional\",\"2016-04-17 12:53:59\",\"2018-03-20 17:32:58\"],[889,10,4,\"Confirmed\",\"2016-09-28 05:00:50\",\"2017-09-30 18:41:04\"],[920,2,2,\"Confirmed\",\"2017-04-07 04:53:27\",\"2017-11-29 12:59:42\"],[924,8,3,\"Confirmed\",\"2017-07-03 14:15:56\",\"2017-11-12 01:05:09\"]]}"
] | {"columns":["count(*)"],"index":[0],"data":[[15]]} | SELECT count(*) FROM Apartment_Bookings <table_name> : Apartment_Bookings col : apt_booking_id | apt_id | guest_id | booking_status_code | booking_start_date | booking_end_date row 1 : 258 | 10 | 2 | Provisional | 2016-09-26 17:13:49 | 2017-10-07 11:38:48 row 2 : 279 | 15 | 15 | Provisional | 2016-04-01 06:28:08 | 2017-10-25 11:08:42 row 3 : 337 | 8 | 5 | Provisional | 2017-03-13 16:20:14 | 2018-02-19 16:59:08 row 4 : 343 | 4 | 13 | Confirmed | 2016-08-04 10:33:00 | 2017-09-29 12:43:50 row 5 : 365 | 9 | 12 | Confirmed | 2017-02-11 14:34:14 | 2017-10-07 20:47:19 row 6 : 401 | 7 | 14 | Provisional | 2016-05-24 20:09:38 | 2017-10-03 01:56:21 row 7 : 497 | 10 | 8 | Confirmed | 2016-07-25 02:57:04 | 2017-09-28 11:08:15 row 8 : 526 | 8 | 7 | Confirmed | 2016-11-26 05:04:31 | 2018-02-25 15:15:37 row 9 : 575 | 6 | 3 | Provisional | 2017-05-13 18:17:20 | 2017-10-06 11:15:58 row 10 : 577 | 12 | 2 | Provisional | 2017-03-04 02:23:49 | 2018-02-06 16:57:05 row 11 : 623 | 4 | 5 | Provisional | 2016-06-07 05:05:18 | 2017-11-13 13:59:45 row 12 : 807 | 11 | 2 | Provisional | 2016-04-17 12:53:59 | 2018-03-20 17:32:58 row 13 : 889 | 10 | 4 | Confirmed | 2016-09-28 05:00:50 | 2017-09-30 18:41:04 row 14 : 920 | 2 | 2 | Confirmed | 2017-04-07 04:53:27 | 2017-11-29 12:59:42 row 15 : 924 | 8 | 3 | Confirmed | 2017-07-03 14:15:56 | 2017-11-12 01:05:09 | col : count(*) row 1 : 15 |
SELECT booking_start_date , booking_end_date FROM Apartment_Bookings | [
"Apartment_Bookings"
] | [
"{\"columns\":[\"apt_booking_id\",\"apt_id\",\"guest_id\",\"booking_status_code\",\"booking_start_date\",\"booking_end_date\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],\"data\":[[258,10,2,\"Provisional\",\"2016-09-26 17:13:49\",\"2017-10-07 11:38:48\"],[279,15,15,\"Provisional\",\"2016-04-01 06:28:08\",\"2017-10-25 11:08:42\"],[337,8,5,\"Provisional\",\"2017-03-13 16:20:14\",\"2018-02-19 16:59:08\"],[343,4,13,\"Confirmed\",\"2016-08-04 10:33:00\",\"2017-09-29 12:43:50\"],[365,9,12,\"Confirmed\",\"2017-02-11 14:34:14\",\"2017-10-07 20:47:19\"],[401,7,14,\"Provisional\",\"2016-05-24 20:09:38\",\"2017-10-03 01:56:21\"],[497,10,8,\"Confirmed\",\"2016-07-25 02:57:04\",\"2017-09-28 11:08:15\"],[526,8,7,\"Confirmed\",\"2016-11-26 05:04:31\",\"2018-02-25 15:15:37\"],[575,6,3,\"Provisional\",\"2017-05-13 18:17:20\",\"2017-10-06 11:15:58\"],[577,12,2,\"Provisional\",\"2017-03-04 02:23:49\",\"2018-02-06 16:57:05\"],[623,4,5,\"Provisional\",\"2016-06-07 05:05:18\",\"2017-11-13 13:59:45\"],[807,11,2,\"Provisional\",\"2016-04-17 12:53:59\",\"2018-03-20 17:32:58\"],[889,10,4,\"Confirmed\",\"2016-09-28 05:00:50\",\"2017-09-30 18:41:04\"],[920,2,2,\"Confirmed\",\"2017-04-07 04:53:27\",\"2017-11-29 12:59:42\"],[924,8,3,\"Confirmed\",\"2017-07-03 14:15:56\",\"2017-11-12 01:05:09\"]]}"
] | {"columns":["booking_start_date","booking_end_date"],"index":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],"data":[["2016-09-26 17:13:49","2017-10-07 11:38:48"],["2016-04-01 06:28:08","2017-10-25 11:08:42"],["2017-03-13 16:20:14","2018-02-19 16:59:08"],["2016-08-04 10:33:00","2017-09-29 12:43:50"],["2017-02-11 14:34:14","2017-10-07 20:47:19"],["2016-05-24 20:09:38","2017-10-03 01:56:21"],["2016-07-25 02:57:04","2017-09-28 11:08:15"],["2016-11-26 05:04:31","2018-02-25 15:15:37"],["2017-05-13 18:17:20","2017-10-06 11:15:58"],["2017-03-04 02:23:49","2018-02-06 16:57:05"],["2016-06-07 05:05:18","2017-11-13 13:59:45"],["2016-04-17 12:53:59","2018-03-20 17:32:58"],["2016-09-28 05:00:50","2017-09-30 18:41:04"],["2017-04-07 04:53:27","2017-11-29 12:59:42"],["2017-07-03 14:15:56","2017-11-12 01:05:09"]]} | SELECT booking_start_date , booking_end_date FROM Apartment_Bookings <table_name> : Apartment_Bookings col : apt_booking_id | apt_id | guest_id | booking_status_code | booking_start_date | booking_end_date row 1 : 258 | 10 | 2 | Provisional | 2016-09-26 17:13:49 | 2017-10-07 11:38:48 row 2 : 279 | 15 | 15 | Provisional | 2016-04-01 06:28:08 | 2017-10-25 11:08:42 row 3 : 337 | 8 | 5 | Provisional | 2017-03-13 16:20:14 | 2018-02-19 16:59:08 row 4 : 343 | 4 | 13 | Confirmed | 2016-08-04 10:33:00 | 2017-09-29 12:43:50 row 5 : 365 | 9 | 12 | Confirmed | 2017-02-11 14:34:14 | 2017-10-07 20:47:19 row 6 : 401 | 7 | 14 | Provisional | 2016-05-24 20:09:38 | 2017-10-03 01:56:21 row 7 : 497 | 10 | 8 | Confirmed | 2016-07-25 02:57:04 | 2017-09-28 11:08:15 row 8 : 526 | 8 | 7 | Confirmed | 2016-11-26 05:04:31 | 2018-02-25 15:15:37 row 9 : 575 | 6 | 3 | Provisional | 2017-05-13 18:17:20 | 2017-10-06 11:15:58 row 10 : 577 | 12 | 2 | Provisional | 2017-03-04 02:23:49 | 2018-02-06 16:57:05 row 11 : 623 | 4 | 5 | Provisional | 2016-06-07 05:05:18 | 2017-11-13 13:59:45 row 12 : 807 | 11 | 2 | Provisional | 2016-04-17 12:53:59 | 2018-03-20 17:32:58 row 13 : 889 | 10 | 4 | Confirmed | 2016-09-28 05:00:50 | 2017-09-30 18:41:04 row 14 : 920 | 2 | 2 | Confirmed | 2017-04-07 04:53:27 | 2017-11-29 12:59:42 row 15 : 924 | 8 | 3 | Confirmed | 2017-07-03 14:15:56 | 2017-11-12 01:05:09 | col : booking_start_date | booking_end_date row 1 : 2016-09-26 17:13:49 | 2017-10-07 11:38:48 row 2 : 2016-04-01 06:28:08 | 2017-10-25 11:08:42 row 3 : 2017-03-13 16:20:14 | 2018-02-19 16:59:08 row 4 : 2016-08-04 10:33:00 | 2017-09-29 12:43:50 row 5 : 2017-02-11 14:34:14 | 2017-10-07 20:47:19 row 6 : 2016-05-24 20:09:38 | 2017-10-03 01:56:21 row 7 : 2016-07-25 02:57:04 | 2017-09-28 11:08:15 row 8 : 2016-11-26 05:04:31 | 2018-02-25 15:15:37 row 9 : 2017-05-13 18:17:20 | 2017-10-06 11:15:58 row 10 : 2017-03-04 02:23:49 | 2018-02-06 16:57:05 row 11 : 2016-06-07 05:05:18 | 2017-11-13 13:59:45 row 12 : 2016-04-17 12:53:59 | 2018-03-20 17:32:58 row 13 : 2016-09-28 05:00:50 | 2017-09-30 18:41:04 row 14 : 2017-04-07 04:53:27 | 2017-11-29 12:59:42 row 15 : 2017-07-03 14:15:56 | 2017-11-12 01:05:09 |
SELECT DISTINCT building_description FROM Apartment_Buildings | [
"Apartment_Buildings"
] | [
"{\"columns\":[\"building_id\",\"building_short_name\",\"building_full_name\",\"building_description\",\"building_address\",\"building_manager\",\"building_phone\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],\"data\":[[133,\"Normandie Court\",\"Normandie Court\",\"Studio\",\"7950 Casper Vista Apt. 176\\nMarquiseberg, CA 70496\",\"Emma\",\"(948)040-1064x387\"],[153,\"Mercedes House\",\"Mercedes House\",\"Studio\",\"354 Otto Villages\\nCharliefort, VT 71664\",\"Brenden\",\"915-617-2408x832\"],[191,\"The Eugene\",\"The Eugene\",\"Flat\",\"71537 Gorczany Inlet\\nWisozkburgh, AL 08256\",\"Melyssa\",\"(609)946-0491\"],[196,\"VIA 57 WEST\",\"VIA 57 WEST\",\"Studio\",\"959 Ethel Viaduct\\nWest Efrainburgh, DE 40074\",\"Kathlyn\",\"681.772.2454\"],[225,\"Columbus Square\",\"Columbus Square\",\"Studio\",\"0703 Danika Mountains Apt. 362\\nMohrland, AL 56839-5028\",\"Kyle\",\"1-724-982-9507x640\"],[532,\"Avalon Park\",\"Avalon Park\",\"Duplex\",\"6827 Kessler Parkway Suite 908\\nAhmedberg, WI 48788\",\"Albert\",\"376-017-3538\"],[556,\"Peter Cooper Village\",\"Peter Cooper Village\",\"Flat\",\"861 Narciso Glens Suite 392\\nEast Ottis, ND 73970\",\"Darlene\",\"1-224-619-0295x13195\"],[624,\"Stuyvesant Town\",\"Stuyvesant Town\",\"Studio\",\"101 Queenie Mountains Suite 619\\nNew Korbinmouth, KS 88726-1376\",\"Marie\",\"(145)411-6406\"],[644,\"The Anthem\",\"The Anthem\",\"Flat\",\"50804 Mason Isle Suite 844\\nWest Whitney, ID 66511\",\"Ewald\",\"(909)086-5221x3455\"],[673,\"Barclay Tower\",\"Barclay Tower\",\"Flat\",\"1579 Runte Forges Apt. 548\\nLeuschkeland, OK 12009-8683\",\"Rogers\",\"1-326-267-3386x613\"],[734,\"Windsor Court\",\"Windsor Court\",\"Studio\",\"601 Graham Roads\\nPort Luz, VA 29660-6703\",\"Olaf\",\"(480)480-7401\"],[744,\"Silver Towers\",\"Silver Towers\",\"Flat\",\"1844 Armstrong Stravenue Suite 853\\nMyrnatown, CT 13528\",\"Claude\",\"1-667-728-2287x3158\"],[790,\"Biltmore Plaza\",\"Biltmore Plaza\",\"Duplex\",\"489 Josh Orchard Apt. 998\\nSipesview, DE 69053\",\"Sydni\",\"544-148-5565x2847\"],[808,\"Petersfield\",\"Petersfield\",\"Studio\",\"54686 Christopher Circles Apt. 321\\nDaytonland, ID 88081-3991\",\"Juvenal\",\"318-398-8140\"],[968,\"The Clinton\",\"The Clinton\",\"Flat\",\"012 Arnoldo Mountain\\nGerholdland, ID 23342\",\"Holly\",\"1-605-511-1973x25011\"]]}"
] | {"columns":["building_description"],"index":[0,1,2],"data":[["Studio"],["Flat"],["Duplex"]]} | SELECT DISTINCT building_description FROM Apartment_Buildings <table_name> : Apartment_Buildings col : building_id | building_short_name | building_full_name | building_description | building_address | building_manager | building_phone row 1 : 133 | Normandie Court | Normandie Court | Studio | 7950 Casper Vista Apt. 176
Marquiseberg, CA 70496 | Emma | (948)040-1064x387 row 2 : 153 | Mercedes House | Mercedes House | Studio | 354 Otto Villages
Charliefort, VT 71664 | Brenden | 915-617-2408x832 row 3 : 191 | The Eugene | The Eugene | Flat | 71537 Gorczany Inlet
Wisozkburgh, AL 08256 | Melyssa | (609)946-0491 row 4 : 196 | VIA 57 WEST | VIA 57 WEST | Studio | 959 Ethel Viaduct
West Efrainburgh, DE 40074 | Kathlyn | 681.772.2454 row 5 : 225 | Columbus Square | Columbus Square | Studio | 0703 Danika Mountains Apt. 362
Mohrland, AL 56839-5028 | Kyle | 1-724-982-9507x640 row 6 : 532 | Avalon Park | Avalon Park | Duplex | 6827 Kessler Parkway Suite 908
Ahmedberg, WI 48788 | Albert | 376-017-3538 row 7 : 556 | Peter Cooper Village | Peter Cooper Village | Flat | 861 Narciso Glens Suite 392
East Ottis, ND 73970 | Darlene | 1-224-619-0295x13195 row 8 : 624 | Stuyvesant Town | Stuyvesant Town | Studio | 101 Queenie Mountains Suite 619
New Korbinmouth, KS 88726-1376 | Marie | (145)411-6406 row 9 : 644 | The Anthem | The Anthem | Flat | 50804 Mason Isle Suite 844
West Whitney, ID 66511 | Ewald | (909)086-5221x3455 row 10 : 673 | Barclay Tower | Barclay Tower | Flat | 1579 Runte Forges Apt. 548
Leuschkeland, OK 12009-8683 | Rogers | 1-326-267-3386x613 row 11 : 734 | Windsor Court | Windsor Court | Studio | 601 Graham Roads
Port Luz, VA 29660-6703 | Olaf | (480)480-7401 row 12 : 744 | Silver Towers | Silver Towers | Flat | 1844 Armstrong Stravenue Suite 853
Myrnatown, CT 13528 | Claude | 1-667-728-2287x3158 row 13 : 790 | Biltmore Plaza | Biltmore Plaza | Duplex | 489 Josh Orchard Apt. 998
Sipesview, DE 69053 | Sydni | 544-148-5565x2847 row 14 : 808 | Petersfield | Petersfield | Studio | 54686 Christopher Circles Apt. 321
Daytonland, ID 88081-3991 | Juvenal | 318-398-8140 row 15 : 968 | The Clinton | The Clinton | Flat | 012 Arnoldo Mountain
Gerholdland, ID 23342 | Holly | 1-605-511-1973x25011 | col : building_description row 1 : Studio row 2 : Flat row 3 : Duplex |
SELECT building_short_name FROM Apartment_Buildings WHERE building_manager = "Emma" | [
"Apartment_Buildings"
] | [
"{\"columns\":[\"building_id\",\"building_short_name\",\"building_full_name\",\"building_description\",\"building_address\",\"building_manager\",\"building_phone\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],\"data\":[[133,\"Normandie Court\",\"Normandie Court\",\"Studio\",\"7950 Casper Vista Apt. 176\\nMarquiseberg, CA 70496\",\"Emma\",\"(948)040-1064x387\"],[153,\"Mercedes House\",\"Mercedes House\",\"Studio\",\"354 Otto Villages\\nCharliefort, VT 71664\",\"Brenden\",\"915-617-2408x832\"],[191,\"The Eugene\",\"The Eugene\",\"Flat\",\"71537 Gorczany Inlet\\nWisozkburgh, AL 08256\",\"Melyssa\",\"(609)946-0491\"],[196,\"VIA 57 WEST\",\"VIA 57 WEST\",\"Studio\",\"959 Ethel Viaduct\\nWest Efrainburgh, DE 40074\",\"Kathlyn\",\"681.772.2454\"],[225,\"Columbus Square\",\"Columbus Square\",\"Studio\",\"0703 Danika Mountains Apt. 362\\nMohrland, AL 56839-5028\",\"Kyle\",\"1-724-982-9507x640\"],[532,\"Avalon Park\",\"Avalon Park\",\"Duplex\",\"6827 Kessler Parkway Suite 908\\nAhmedberg, WI 48788\",\"Albert\",\"376-017-3538\"],[556,\"Peter Cooper Village\",\"Peter Cooper Village\",\"Flat\",\"861 Narciso Glens Suite 392\\nEast Ottis, ND 73970\",\"Darlene\",\"1-224-619-0295x13195\"],[624,\"Stuyvesant Town\",\"Stuyvesant Town\",\"Studio\",\"101 Queenie Mountains Suite 619\\nNew Korbinmouth, KS 88726-1376\",\"Marie\",\"(145)411-6406\"],[644,\"The Anthem\",\"The Anthem\",\"Flat\",\"50804 Mason Isle Suite 844\\nWest Whitney, ID 66511\",\"Ewald\",\"(909)086-5221x3455\"],[673,\"Barclay Tower\",\"Barclay Tower\",\"Flat\",\"1579 Runte Forges Apt. 548\\nLeuschkeland, OK 12009-8683\",\"Rogers\",\"1-326-267-3386x613\"],[734,\"Windsor Court\",\"Windsor Court\",\"Studio\",\"601 Graham Roads\\nPort Luz, VA 29660-6703\",\"Olaf\",\"(480)480-7401\"],[744,\"Silver Towers\",\"Silver Towers\",\"Flat\",\"1844 Armstrong Stravenue Suite 853\\nMyrnatown, CT 13528\",\"Claude\",\"1-667-728-2287x3158\"],[790,\"Biltmore Plaza\",\"Biltmore Plaza\",\"Duplex\",\"489 Josh Orchard Apt. 998\\nSipesview, DE 69053\",\"Sydni\",\"544-148-5565x2847\"],[808,\"Petersfield\",\"Petersfield\",\"Studio\",\"54686 Christopher Circles Apt. 321\\nDaytonland, ID 88081-3991\",\"Juvenal\",\"318-398-8140\"],[968,\"The Clinton\",\"The Clinton\",\"Flat\",\"012 Arnoldo Mountain\\nGerholdland, ID 23342\",\"Holly\",\"1-605-511-1973x25011\"]]}"
] | {"columns":["building_short_name"],"index":[0],"data":[["Normandie Court"]]} | SELECT building_short_name FROM Apartment_Buildings WHERE building_manager = "Emma" <table_name> : Apartment_Buildings col : building_id | building_short_name | building_full_name | building_description | building_address | building_manager | building_phone row 1 : 133 | Normandie Court | Normandie Court | Studio | 7950 Casper Vista Apt. 176
Marquiseberg, CA 70496 | Emma | (948)040-1064x387 row 2 : 153 | Mercedes House | Mercedes House | Studio | 354 Otto Villages
Charliefort, VT 71664 | Brenden | 915-617-2408x832 row 3 : 191 | The Eugene | The Eugene | Flat | 71537 Gorczany Inlet
Wisozkburgh, AL 08256 | Melyssa | (609)946-0491 row 4 : 196 | VIA 57 WEST | VIA 57 WEST | Studio | 959 Ethel Viaduct
West Efrainburgh, DE 40074 | Kathlyn | 681.772.2454 row 5 : 225 | Columbus Square | Columbus Square | Studio | 0703 Danika Mountains Apt. 362
Mohrland, AL 56839-5028 | Kyle | 1-724-982-9507x640 row 6 : 532 | Avalon Park | Avalon Park | Duplex | 6827 Kessler Parkway Suite 908
Ahmedberg, WI 48788 | Albert | 376-017-3538 row 7 : 556 | Peter Cooper Village | Peter Cooper Village | Flat | 861 Narciso Glens Suite 392
East Ottis, ND 73970 | Darlene | 1-224-619-0295x13195 row 8 : 624 | Stuyvesant Town | Stuyvesant Town | Studio | 101 Queenie Mountains Suite 619
New Korbinmouth, KS 88726-1376 | Marie | (145)411-6406 row 9 : 644 | The Anthem | The Anthem | Flat | 50804 Mason Isle Suite 844
West Whitney, ID 66511 | Ewald | (909)086-5221x3455 row 10 : 673 | Barclay Tower | Barclay Tower | Flat | 1579 Runte Forges Apt. 548
Leuschkeland, OK 12009-8683 | Rogers | 1-326-267-3386x613 row 11 : 734 | Windsor Court | Windsor Court | Studio | 601 Graham Roads
Port Luz, VA 29660-6703 | Olaf | (480)480-7401 row 12 : 744 | Silver Towers | Silver Towers | Flat | 1844 Armstrong Stravenue Suite 853
Myrnatown, CT 13528 | Claude | 1-667-728-2287x3158 row 13 : 790 | Biltmore Plaza | Biltmore Plaza | Duplex | 489 Josh Orchard Apt. 998
Sipesview, DE 69053 | Sydni | 544-148-5565x2847 row 14 : 808 | Petersfield | Petersfield | Studio | 54686 Christopher Circles Apt. 321
Daytonland, ID 88081-3991 | Juvenal | 318-398-8140 row 15 : 968 | The Clinton | The Clinton | Flat | 012 Arnoldo Mountain
Gerholdland, ID 23342 | Holly | 1-605-511-1973x25011 | col : building_short_name row 1 : Normandie Court |
SELECT building_address , building_phone FROM Apartment_Buildings WHERE building_manager = "Brenden" | [
"Apartment_Buildings"
] | [
"{\"columns\":[\"building_id\",\"building_short_name\",\"building_full_name\",\"building_description\",\"building_address\",\"building_manager\",\"building_phone\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],\"data\":[[133,\"Normandie Court\",\"Normandie Court\",\"Studio\",\"7950 Casper Vista Apt. 176\\nMarquiseberg, CA 70496\",\"Emma\",\"(948)040-1064x387\"],[153,\"Mercedes House\",\"Mercedes House\",\"Studio\",\"354 Otto Villages\\nCharliefort, VT 71664\",\"Brenden\",\"915-617-2408x832\"],[191,\"The Eugene\",\"The Eugene\",\"Flat\",\"71537 Gorczany Inlet\\nWisozkburgh, AL 08256\",\"Melyssa\",\"(609)946-0491\"],[196,\"VIA 57 WEST\",\"VIA 57 WEST\",\"Studio\",\"959 Ethel Viaduct\\nWest Efrainburgh, DE 40074\",\"Kathlyn\",\"681.772.2454\"],[225,\"Columbus Square\",\"Columbus Square\",\"Studio\",\"0703 Danika Mountains Apt. 362\\nMohrland, AL 56839-5028\",\"Kyle\",\"1-724-982-9507x640\"],[532,\"Avalon Park\",\"Avalon Park\",\"Duplex\",\"6827 Kessler Parkway Suite 908\\nAhmedberg, WI 48788\",\"Albert\",\"376-017-3538\"],[556,\"Peter Cooper Village\",\"Peter Cooper Village\",\"Flat\",\"861 Narciso Glens Suite 392\\nEast Ottis, ND 73970\",\"Darlene\",\"1-224-619-0295x13195\"],[624,\"Stuyvesant Town\",\"Stuyvesant Town\",\"Studio\",\"101 Queenie Mountains Suite 619\\nNew Korbinmouth, KS 88726-1376\",\"Marie\",\"(145)411-6406\"],[644,\"The Anthem\",\"The Anthem\",\"Flat\",\"50804 Mason Isle Suite 844\\nWest Whitney, ID 66511\",\"Ewald\",\"(909)086-5221x3455\"],[673,\"Barclay Tower\",\"Barclay Tower\",\"Flat\",\"1579 Runte Forges Apt. 548\\nLeuschkeland, OK 12009-8683\",\"Rogers\",\"1-326-267-3386x613\"],[734,\"Windsor Court\",\"Windsor Court\",\"Studio\",\"601 Graham Roads\\nPort Luz, VA 29660-6703\",\"Olaf\",\"(480)480-7401\"],[744,\"Silver Towers\",\"Silver Towers\",\"Flat\",\"1844 Armstrong Stravenue Suite 853\\nMyrnatown, CT 13528\",\"Claude\",\"1-667-728-2287x3158\"],[790,\"Biltmore Plaza\",\"Biltmore Plaza\",\"Duplex\",\"489 Josh Orchard Apt. 998\\nSipesview, DE 69053\",\"Sydni\",\"544-148-5565x2847\"],[808,\"Petersfield\",\"Petersfield\",\"Studio\",\"54686 Christopher Circles Apt. 321\\nDaytonland, ID 88081-3991\",\"Juvenal\",\"318-398-8140\"],[968,\"The Clinton\",\"The Clinton\",\"Flat\",\"012 Arnoldo Mountain\\nGerholdland, ID 23342\",\"Holly\",\"1-605-511-1973x25011\"]]}"
] | {"columns":["building_address","building_phone"],"index":[0],"data":[["354 Otto Villages\nCharliefort, VT 71664","915-617-2408x832"]]} | SELECT building_address , building_phone FROM Apartment_Buildings WHERE building_manager = "Brenden" <table_name> : Apartment_Buildings col : building_id | building_short_name | building_full_name | building_description | building_address | building_manager | building_phone row 1 : 133 | Normandie Court | Normandie Court | Studio | 7950 Casper Vista Apt. 176
Marquiseberg, CA 70496 | Emma | (948)040-1064x387 row 2 : 153 | Mercedes House | Mercedes House | Studio | 354 Otto Villages
Charliefort, VT 71664 | Brenden | 915-617-2408x832 row 3 : 191 | The Eugene | The Eugene | Flat | 71537 Gorczany Inlet
Wisozkburgh, AL 08256 | Melyssa | (609)946-0491 row 4 : 196 | VIA 57 WEST | VIA 57 WEST | Studio | 959 Ethel Viaduct
West Efrainburgh, DE 40074 | Kathlyn | 681.772.2454 row 5 : 225 | Columbus Square | Columbus Square | Studio | 0703 Danika Mountains Apt. 362
Mohrland, AL 56839-5028 | Kyle | 1-724-982-9507x640 row 6 : 532 | Avalon Park | Avalon Park | Duplex | 6827 Kessler Parkway Suite 908
Ahmedberg, WI 48788 | Albert | 376-017-3538 row 7 : 556 | Peter Cooper Village | Peter Cooper Village | Flat | 861 Narciso Glens Suite 392
East Ottis, ND 73970 | Darlene | 1-224-619-0295x13195 row 8 : 624 | Stuyvesant Town | Stuyvesant Town | Studio | 101 Queenie Mountains Suite 619
New Korbinmouth, KS 88726-1376 | Marie | (145)411-6406 row 9 : 644 | The Anthem | The Anthem | Flat | 50804 Mason Isle Suite 844
West Whitney, ID 66511 | Ewald | (909)086-5221x3455 row 10 : 673 | Barclay Tower | Barclay Tower | Flat | 1579 Runte Forges Apt. 548
Leuschkeland, OK 12009-8683 | Rogers | 1-326-267-3386x613 row 11 : 734 | Windsor Court | Windsor Court | Studio | 601 Graham Roads
Port Luz, VA 29660-6703 | Olaf | (480)480-7401 row 12 : 744 | Silver Towers | Silver Towers | Flat | 1844 Armstrong Stravenue Suite 853
Myrnatown, CT 13528 | Claude | 1-667-728-2287x3158 row 13 : 790 | Biltmore Plaza | Biltmore Plaza | Duplex | 489 Josh Orchard Apt. 998
Sipesview, DE 69053 | Sydni | 544-148-5565x2847 row 14 : 808 | Petersfield | Petersfield | Studio | 54686 Christopher Circles Apt. 321
Daytonland, ID 88081-3991 | Juvenal | 318-398-8140 row 15 : 968 | The Clinton | The Clinton | Flat | 012 Arnoldo Mountain
Gerholdland, ID 23342 | Holly | 1-605-511-1973x25011 | col : building_address | building_phone row 1 : 354 Otto Villages
Charliefort, VT 71664 | 915-617-2408x832 |
SELECT building_full_name FROM Apartment_Buildings WHERE building_full_name LIKE "%court%" | [
"Apartment_Buildings"
] | [
"{\"columns\":[\"building_id\",\"building_short_name\",\"building_full_name\",\"building_description\",\"building_address\",\"building_manager\",\"building_phone\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],\"data\":[[133,\"Normandie Court\",\"Normandie Court\",\"Studio\",\"7950 Casper Vista Apt. 176\\nMarquiseberg, CA 70496\",\"Emma\",\"(948)040-1064x387\"],[153,\"Mercedes House\",\"Mercedes House\",\"Studio\",\"354 Otto Villages\\nCharliefort, VT 71664\",\"Brenden\",\"915-617-2408x832\"],[191,\"The Eugene\",\"The Eugene\",\"Flat\",\"71537 Gorczany Inlet\\nWisozkburgh, AL 08256\",\"Melyssa\",\"(609)946-0491\"],[196,\"VIA 57 WEST\",\"VIA 57 WEST\",\"Studio\",\"959 Ethel Viaduct\\nWest Efrainburgh, DE 40074\",\"Kathlyn\",\"681.772.2454\"],[225,\"Columbus Square\",\"Columbus Square\",\"Studio\",\"0703 Danika Mountains Apt. 362\\nMohrland, AL 56839-5028\",\"Kyle\",\"1-724-982-9507x640\"],[532,\"Avalon Park\",\"Avalon Park\",\"Duplex\",\"6827 Kessler Parkway Suite 908\\nAhmedberg, WI 48788\",\"Albert\",\"376-017-3538\"],[556,\"Peter Cooper Village\",\"Peter Cooper Village\",\"Flat\",\"861 Narciso Glens Suite 392\\nEast Ottis, ND 73970\",\"Darlene\",\"1-224-619-0295x13195\"],[624,\"Stuyvesant Town\",\"Stuyvesant Town\",\"Studio\",\"101 Queenie Mountains Suite 619\\nNew Korbinmouth, KS 88726-1376\",\"Marie\",\"(145)411-6406\"],[644,\"The Anthem\",\"The Anthem\",\"Flat\",\"50804 Mason Isle Suite 844\\nWest Whitney, ID 66511\",\"Ewald\",\"(909)086-5221x3455\"],[673,\"Barclay Tower\",\"Barclay Tower\",\"Flat\",\"1579 Runte Forges Apt. 548\\nLeuschkeland, OK 12009-8683\",\"Rogers\",\"1-326-267-3386x613\"],[734,\"Windsor Court\",\"Windsor Court\",\"Studio\",\"601 Graham Roads\\nPort Luz, VA 29660-6703\",\"Olaf\",\"(480)480-7401\"],[744,\"Silver Towers\",\"Silver Towers\",\"Flat\",\"1844 Armstrong Stravenue Suite 853\\nMyrnatown, CT 13528\",\"Claude\",\"1-667-728-2287x3158\"],[790,\"Biltmore Plaza\",\"Biltmore Plaza\",\"Duplex\",\"489 Josh Orchard Apt. 998\\nSipesview, DE 69053\",\"Sydni\",\"544-148-5565x2847\"],[808,\"Petersfield\",\"Petersfield\",\"Studio\",\"54686 Christopher Circles Apt. 321\\nDaytonland, ID 88081-3991\",\"Juvenal\",\"318-398-8140\"],[968,\"The Clinton\",\"The Clinton\",\"Flat\",\"012 Arnoldo Mountain\\nGerholdland, ID 23342\",\"Holly\",\"1-605-511-1973x25011\"]]}"
] | {"columns":["building_full_name"],"index":[0,1],"data":[["Normandie Court"],["Windsor Court"]]} | SELECT building_full_name FROM Apartment_Buildings WHERE building_full_name LIKE "%court%" <table_name> : Apartment_Buildings col : building_id | building_short_name | building_full_name | building_description | building_address | building_manager | building_phone row 1 : 133 | Normandie Court | Normandie Court | Studio | 7950 Casper Vista Apt. 176
Marquiseberg, CA 70496 | Emma | (948)040-1064x387 row 2 : 153 | Mercedes House | Mercedes House | Studio | 354 Otto Villages
Charliefort, VT 71664 | Brenden | 915-617-2408x832 row 3 : 191 | The Eugene | The Eugene | Flat | 71537 Gorczany Inlet
Wisozkburgh, AL 08256 | Melyssa | (609)946-0491 row 4 : 196 | VIA 57 WEST | VIA 57 WEST | Studio | 959 Ethel Viaduct
West Efrainburgh, DE 40074 | Kathlyn | 681.772.2454 row 5 : 225 | Columbus Square | Columbus Square | Studio | 0703 Danika Mountains Apt. 362
Mohrland, AL 56839-5028 | Kyle | 1-724-982-9507x640 row 6 : 532 | Avalon Park | Avalon Park | Duplex | 6827 Kessler Parkway Suite 908
Ahmedberg, WI 48788 | Albert | 376-017-3538 row 7 : 556 | Peter Cooper Village | Peter Cooper Village | Flat | 861 Narciso Glens Suite 392
East Ottis, ND 73970 | Darlene | 1-224-619-0295x13195 row 8 : 624 | Stuyvesant Town | Stuyvesant Town | Studio | 101 Queenie Mountains Suite 619
New Korbinmouth, KS 88726-1376 | Marie | (145)411-6406 row 9 : 644 | The Anthem | The Anthem | Flat | 50804 Mason Isle Suite 844
West Whitney, ID 66511 | Ewald | (909)086-5221x3455 row 10 : 673 | Barclay Tower | Barclay Tower | Flat | 1579 Runte Forges Apt. 548
Leuschkeland, OK 12009-8683 | Rogers | 1-326-267-3386x613 row 11 : 734 | Windsor Court | Windsor Court | Studio | 601 Graham Roads
Port Luz, VA 29660-6703 | Olaf | (480)480-7401 row 12 : 744 | Silver Towers | Silver Towers | Flat | 1844 Armstrong Stravenue Suite 853
Myrnatown, CT 13528 | Claude | 1-667-728-2287x3158 row 13 : 790 | Biltmore Plaza | Biltmore Plaza | Duplex | 489 Josh Orchard Apt. 998
Sipesview, DE 69053 | Sydni | 544-148-5565x2847 row 14 : 808 | Petersfield | Petersfield | Studio | 54686 Christopher Circles Apt. 321
Daytonland, ID 88081-3991 | Juvenal | 318-398-8140 row 15 : 968 | The Clinton | The Clinton | Flat | 012 Arnoldo Mountain
Gerholdland, ID 23342 | Holly | 1-605-511-1973x25011 | col : building_full_name row 1 : Normandie Court row 2 : Windsor Court |
SELECT min(bathroom_count) , max(bathroom_count) FROM Apartments | [
"Apartments"
] | [
"{\"columns\":[\"apt_id\",\"building_id\",\"apt_type_code\",\"apt_number\",\"bathroom_count\",\"bedroom_count\",\"room_count\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],\"data\":[[1,808,\"Flat\",\"Suite 645\",1,3,\"7\"],[2,624,\"Flat\",\"Apt. 585\",2,4,\"5\"],[3,225,\"Studio\",\"Apt. 908\",1,6,\"7\"],[4,225,\"Duplex\",\"Suite 749\",1,5,\"8\"],[5,744,\"Flat\",\"Suite 307\",2,4,\"9\"],[6,191,\"Studio\",\"Apt. 187\",3,5,\"9\"],[7,790,\"Studio\",\"Suite 088\",2,4,\"6\"],[8,153,\"Flat\",\"Suite 693\",2,3,\"9\"],[9,624,\"Studio\",\"Apt. 940\",1,4,\"8\"],[10,225,\"Duplex\",\"Apt. 859\",2,3,\"6\"],[11,734,\"Flat\",\"Apt. 794\",1,5,\"3\"],[12,673,\"Duplex\",\"Apt. 477\",2,6,\"3\"],[13,744,\"Duplex\",\"Apt. 411\",2,5,\"9\"],[14,225,\"Flat\",\"Apt. 837\",2,4,\"8\"],[15,790,\"Duplex\",\"Suite 634\",3,6,\"8\"]]}"
] | {"columns":["min(bathroom_count)","max(bathroom_count)"],"index":[0],"data":[[1,3]]} | SELECT min(bathroom_count) , max(bathroom_count) FROM Apartments <table_name> : Apartments col : apt_id | building_id | apt_type_code | apt_number | bathroom_count | bedroom_count | room_count row 1 : 1 | 808 | Flat | Suite 645 | 1 | 3 | 7 row 2 : 2 | 624 | Flat | Apt. 585 | 2 | 4 | 5 row 3 : 3 | 225 | Studio | Apt. 908 | 1 | 6 | 7 row 4 : 4 | 225 | Duplex | Suite 749 | 1 | 5 | 8 row 5 : 5 | 744 | Flat | Suite 307 | 2 | 4 | 9 row 6 : 6 | 191 | Studio | Apt. 187 | 3 | 5 | 9 row 7 : 7 | 790 | Studio | Suite 088 | 2 | 4 | 6 row 8 : 8 | 153 | Flat | Suite 693 | 2 | 3 | 9 row 9 : 9 | 624 | Studio | Apt. 940 | 1 | 4 | 8 row 10 : 10 | 225 | Duplex | Apt. 859 | 2 | 3 | 6 row 11 : 11 | 734 | Flat | Apt. 794 | 1 | 5 | 3 row 12 : 12 | 673 | Duplex | Apt. 477 | 2 | 6 | 3 row 13 : 13 | 744 | Duplex | Apt. 411 | 2 | 5 | 9 row 14 : 14 | 225 | Flat | Apt. 837 | 2 | 4 | 8 row 15 : 15 | 790 | Duplex | Suite 634 | 3 | 6 | 8 | col : min(bathroom_count) | max(bathroom_count) row 1 : 1 | 3 |
SELECT avg(bedroom_count) FROM Apartments | [
"Apartments"
] | [
"{\"columns\":[\"apt_id\",\"building_id\",\"apt_type_code\",\"apt_number\",\"bathroom_count\",\"bedroom_count\",\"room_count\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],\"data\":[[1,808,\"Flat\",\"Suite 645\",1,3,\"7\"],[2,624,\"Flat\",\"Apt. 585\",2,4,\"5\"],[3,225,\"Studio\",\"Apt. 908\",1,6,\"7\"],[4,225,\"Duplex\",\"Suite 749\",1,5,\"8\"],[5,744,\"Flat\",\"Suite 307\",2,4,\"9\"],[6,191,\"Studio\",\"Apt. 187\",3,5,\"9\"],[7,790,\"Studio\",\"Suite 088\",2,4,\"6\"],[8,153,\"Flat\",\"Suite 693\",2,3,\"9\"],[9,624,\"Studio\",\"Apt. 940\",1,4,\"8\"],[10,225,\"Duplex\",\"Apt. 859\",2,3,\"6\"],[11,734,\"Flat\",\"Apt. 794\",1,5,\"3\"],[12,673,\"Duplex\",\"Apt. 477\",2,6,\"3\"],[13,744,\"Duplex\",\"Apt. 411\",2,5,\"9\"],[14,225,\"Flat\",\"Apt. 837\",2,4,\"8\"],[15,790,\"Duplex\",\"Suite 634\",3,6,\"8\"]]}"
] | {"columns":["avg(bedroom_count)"],"index":[0],"data":[[4.4666666667]]} | SELECT avg(bedroom_count) FROM Apartments <table_name> : Apartments col : apt_id | building_id | apt_type_code | apt_number | bathroom_count | bedroom_count | room_count row 1 : 1 | 808 | Flat | Suite 645 | 1 | 3 | 7 row 2 : 2 | 624 | Flat | Apt. 585 | 2 | 4 | 5 row 3 : 3 | 225 | Studio | Apt. 908 | 1 | 6 | 7 row 4 : 4 | 225 | Duplex | Suite 749 | 1 | 5 | 8 row 5 : 5 | 744 | Flat | Suite 307 | 2 | 4 | 9 row 6 : 6 | 191 | Studio | Apt. 187 | 3 | 5 | 9 row 7 : 7 | 790 | Studio | Suite 088 | 2 | 4 | 6 row 8 : 8 | 153 | Flat | Suite 693 | 2 | 3 | 9 row 9 : 9 | 624 | Studio | Apt. 940 | 1 | 4 | 8 row 10 : 10 | 225 | Duplex | Apt. 859 | 2 | 3 | 6 row 11 : 11 | 734 | Flat | Apt. 794 | 1 | 5 | 3 row 12 : 12 | 673 | Duplex | Apt. 477 | 2 | 6 | 3 row 13 : 13 | 744 | Duplex | Apt. 411 | 2 | 5 | 9 row 14 : 14 | 225 | Flat | Apt. 837 | 2 | 4 | 8 row 15 : 15 | 790 | Duplex | Suite 634 | 3 | 6 | 8 | col : avg(bedroom_count) row 1 : 4.4666666667 |
SELECT apt_number , room_count FROM Apartments | [
"Apartments"
] | [
"{\"columns\":[\"apt_id\",\"building_id\",\"apt_type_code\",\"apt_number\",\"bathroom_count\",\"bedroom_count\",\"room_count\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],\"data\":[[1,808,\"Flat\",\"Suite 645\",1,3,\"7\"],[2,624,\"Flat\",\"Apt. 585\",2,4,\"5\"],[3,225,\"Studio\",\"Apt. 908\",1,6,\"7\"],[4,225,\"Duplex\",\"Suite 749\",1,5,\"8\"],[5,744,\"Flat\",\"Suite 307\",2,4,\"9\"],[6,191,\"Studio\",\"Apt. 187\",3,5,\"9\"],[7,790,\"Studio\",\"Suite 088\",2,4,\"6\"],[8,153,\"Flat\",\"Suite 693\",2,3,\"9\"],[9,624,\"Studio\",\"Apt. 940\",1,4,\"8\"],[10,225,\"Duplex\",\"Apt. 859\",2,3,\"6\"],[11,734,\"Flat\",\"Apt. 794\",1,5,\"3\"],[12,673,\"Duplex\",\"Apt. 477\",2,6,\"3\"],[13,744,\"Duplex\",\"Apt. 411\",2,5,\"9\"],[14,225,\"Flat\",\"Apt. 837\",2,4,\"8\"],[15,790,\"Duplex\",\"Suite 634\",3,6,\"8\"]]}"
] | {"columns":["apt_number","room_count"],"index":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],"data":[["Suite 645","7"],["Apt. 585","5"],["Apt. 908","7"],["Suite 749","8"],["Suite 307","9"],["Apt. 187","9"],["Suite 088","6"],["Suite 693","9"],["Apt. 940","8"],["Apt. 859","6"],["Apt. 794","3"],["Apt. 477","3"],["Apt. 411","9"],["Apt. 837","8"],["Suite 634","8"]]} | SELECT apt_number , room_count FROM Apartments <table_name> : Apartments col : apt_id | building_id | apt_type_code | apt_number | bathroom_count | bedroom_count | room_count row 1 : 1 | 808 | Flat | Suite 645 | 1 | 3 | 7 row 2 : 2 | 624 | Flat | Apt. 585 | 2 | 4 | 5 row 3 : 3 | 225 | Studio | Apt. 908 | 1 | 6 | 7 row 4 : 4 | 225 | Duplex | Suite 749 | 1 | 5 | 8 row 5 : 5 | 744 | Flat | Suite 307 | 2 | 4 | 9 row 6 : 6 | 191 | Studio | Apt. 187 | 3 | 5 | 9 row 7 : 7 | 790 | Studio | Suite 088 | 2 | 4 | 6 row 8 : 8 | 153 | Flat | Suite 693 | 2 | 3 | 9 row 9 : 9 | 624 | Studio | Apt. 940 | 1 | 4 | 8 row 10 : 10 | 225 | Duplex | Apt. 859 | 2 | 3 | 6 row 11 : 11 | 734 | Flat | Apt. 794 | 1 | 5 | 3 row 12 : 12 | 673 | Duplex | Apt. 477 | 2 | 6 | 3 row 13 : 13 | 744 | Duplex | Apt. 411 | 2 | 5 | 9 row 14 : 14 | 225 | Flat | Apt. 837 | 2 | 4 | 8 row 15 : 15 | 790 | Duplex | Suite 634 | 3 | 6 | 8 | col : apt_number | room_count row 1 : Suite 645 | 7 row 2 : Apt. 585 | 5 row 3 : Apt. 908 | 7 row 4 : Suite 749 | 8 row 5 : Suite 307 | 9 row 6 : Apt. 187 | 9 row 7 : Suite 088 | 6 row 8 : Suite 693 | 9 row 9 : Apt. 940 | 8 row 10 : Apt. 859 | 6 row 11 : Apt. 794 | 3 row 12 : Apt. 477 | 3 row 13 : Apt. 411 | 9 row 14 : Apt. 837 | 8 row 15 : Suite 634 | 8 |
SELECT avg(room_count) FROM Apartments WHERE apt_type_code = "Studio" | [
"Apartments"
] | [
"{\"columns\":[\"apt_id\",\"building_id\",\"apt_type_code\",\"apt_number\",\"bathroom_count\",\"bedroom_count\",\"room_count\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],\"data\":[[1,808,\"Flat\",\"Suite 645\",1,3,\"7\"],[2,624,\"Flat\",\"Apt. 585\",2,4,\"5\"],[3,225,\"Studio\",\"Apt. 908\",1,6,\"7\"],[4,225,\"Duplex\",\"Suite 749\",1,5,\"8\"],[5,744,\"Flat\",\"Suite 307\",2,4,\"9\"],[6,191,\"Studio\",\"Apt. 187\",3,5,\"9\"],[7,790,\"Studio\",\"Suite 088\",2,4,\"6\"],[8,153,\"Flat\",\"Suite 693\",2,3,\"9\"],[9,624,\"Studio\",\"Apt. 940\",1,4,\"8\"],[10,225,\"Duplex\",\"Apt. 859\",2,3,\"6\"],[11,734,\"Flat\",\"Apt. 794\",1,5,\"3\"],[12,673,\"Duplex\",\"Apt. 477\",2,6,\"3\"],[13,744,\"Duplex\",\"Apt. 411\",2,5,\"9\"],[14,225,\"Flat\",\"Apt. 837\",2,4,\"8\"],[15,790,\"Duplex\",\"Suite 634\",3,6,\"8\"]]}"
] | {"columns":["avg(room_count)"],"index":[0],"data":[[7.5]]} | SELECT avg(room_count) FROM Apartments WHERE apt_type_code = "Studio" <table_name> : Apartments col : apt_id | building_id | apt_type_code | apt_number | bathroom_count | bedroom_count | room_count row 1 : 1 | 808 | Flat | Suite 645 | 1 | 3 | 7 row 2 : 2 | 624 | Flat | Apt. 585 | 2 | 4 | 5 row 3 : 3 | 225 | Studio | Apt. 908 | 1 | 6 | 7 row 4 : 4 | 225 | Duplex | Suite 749 | 1 | 5 | 8 row 5 : 5 | 744 | Flat | Suite 307 | 2 | 4 | 9 row 6 : 6 | 191 | Studio | Apt. 187 | 3 | 5 | 9 row 7 : 7 | 790 | Studio | Suite 088 | 2 | 4 | 6 row 8 : 8 | 153 | Flat | Suite 693 | 2 | 3 | 9 row 9 : 9 | 624 | Studio | Apt. 940 | 1 | 4 | 8 row 10 : 10 | 225 | Duplex | Apt. 859 | 2 | 3 | 6 row 11 : 11 | 734 | Flat | Apt. 794 | 1 | 5 | 3 row 12 : 12 | 673 | Duplex | Apt. 477 | 2 | 6 | 3 row 13 : 13 | 744 | Duplex | Apt. 411 | 2 | 5 | 9 row 14 : 14 | 225 | Flat | Apt. 837 | 2 | 4 | 8 row 15 : 15 | 790 | Duplex | Suite 634 | 3 | 6 | 8 | col : avg(room_count) row 1 : 7.5 |
SELECT apt_number FROM Apartments WHERE apt_type_code = "Flat" | [
"Apartments"
] | [
"{\"columns\":[\"apt_id\",\"building_id\",\"apt_type_code\",\"apt_number\",\"bathroom_count\",\"bedroom_count\",\"room_count\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],\"data\":[[1,808,\"Flat\",\"Suite 645\",1,3,\"7\"],[2,624,\"Flat\",\"Apt. 585\",2,4,\"5\"],[3,225,\"Studio\",\"Apt. 908\",1,6,\"7\"],[4,225,\"Duplex\",\"Suite 749\",1,5,\"8\"],[5,744,\"Flat\",\"Suite 307\",2,4,\"9\"],[6,191,\"Studio\",\"Apt. 187\",3,5,\"9\"],[7,790,\"Studio\",\"Suite 088\",2,4,\"6\"],[8,153,\"Flat\",\"Suite 693\",2,3,\"9\"],[9,624,\"Studio\",\"Apt. 940\",1,4,\"8\"],[10,225,\"Duplex\",\"Apt. 859\",2,3,\"6\"],[11,734,\"Flat\",\"Apt. 794\",1,5,\"3\"],[12,673,\"Duplex\",\"Apt. 477\",2,6,\"3\"],[13,744,\"Duplex\",\"Apt. 411\",2,5,\"9\"],[14,225,\"Flat\",\"Apt. 837\",2,4,\"8\"],[15,790,\"Duplex\",\"Suite 634\",3,6,\"8\"]]}"
] | {"columns":["apt_number"],"index":[0,1,2,3,4,5],"data":[["Suite 645"],["Apt. 585"],["Suite 307"],["Suite 693"],["Apt. 794"],["Apt. 837"]]} | SELECT apt_number FROM Apartments WHERE apt_type_code = "Flat" <table_name> : Apartments col : apt_id | building_id | apt_type_code | apt_number | bathroom_count | bedroom_count | room_count row 1 : 1 | 808 | Flat | Suite 645 | 1 | 3 | 7 row 2 : 2 | 624 | Flat | Apt. 585 | 2 | 4 | 5 row 3 : 3 | 225 | Studio | Apt. 908 | 1 | 6 | 7 row 4 : 4 | 225 | Duplex | Suite 749 | 1 | 5 | 8 row 5 : 5 | 744 | Flat | Suite 307 | 2 | 4 | 9 row 6 : 6 | 191 | Studio | Apt. 187 | 3 | 5 | 9 row 7 : 7 | 790 | Studio | Suite 088 | 2 | 4 | 6 row 8 : 8 | 153 | Flat | Suite 693 | 2 | 3 | 9 row 9 : 9 | 624 | Studio | Apt. 940 | 1 | 4 | 8 row 10 : 10 | 225 | Duplex | Apt. 859 | 2 | 3 | 6 row 11 : 11 | 734 | Flat | Apt. 794 | 1 | 5 | 3 row 12 : 12 | 673 | Duplex | Apt. 477 | 2 | 6 | 3 row 13 : 13 | 744 | Duplex | Apt. 411 | 2 | 5 | 9 row 14 : 14 | 225 | Flat | Apt. 837 | 2 | 4 | 8 row 15 : 15 | 790 | Duplex | Suite 634 | 3 | 6 | 8 | col : apt_number row 1 : Suite 645 row 2 : Apt. 585 row 3 : Suite 307 row 4 : Suite 693 row 5 : Apt. 794 row 6 : Apt. 837 |
SELECT guest_first_name , guest_last_name FROM Guests | [
"Guests"
] | [
"{\"columns\":[\"guest_id\",\"gender_code\",\"guest_first_name\",\"guest_last_name\",\"date_of_birth\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],\"data\":[[1,\"Male\",\"Kip\",\"DuBuque\",\"1995-11-04 07:09:57\"],[2,\"Unknown\",\"Rebeca\",\"Runolfsdottir\",\"1974-05-12 21:53:58\"],[3,\"Female\",\"Keon\",\"Treutel\",\"1974-08-20 09:28:05\"],[4,\"Female\",\"Gabe\",\"Bode\",\"2007-09-11 19:01:39\"],[5,\"Female\",\"Lou\",\"Grady\",\"1997-01-15 17:37:40\"],[6,\"Unknown\",\"Josefina\",\"Jerde\",\"1978-03-08 04:43:04\"],[7,\"Female\",\"Mozell\",\"Toy\",\"1997-01-20 17:11:31\"],[8,\"Unknown\",\"Keith\",\"Hoeger\",\"2001-06-18 20:05:55\"],[9,\"Female\",\"Crystal\",\"Runolfsson\",\"1971-01-04 04:22:58\"],[10,\"Female\",\"Nikki\",\"Lehner\",\"1980-06-20 18:15:39\"],[11,\"Male\",\"Gregoria\",\"Schowalter\",\"2015-02-03 23:34:13\"],[12,\"Male\",\"Louvenia\",\"Crona\",\"1983-08-26 15:45:08\"],[13,\"Female\",\"Else\",\"Roberts\",\"1971-11-02 01:51:56\"],[14,\"Female\",\"Juvenal\",\"Kautzer\",\"2003-07-29 22:08:15\"],[15,\"Female\",\"Tamia\",\"Mante\",\"2013-02-22 11:26:22\"]]}"
] | {"columns":["guest_first_name","guest_last_name"],"index":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],"data":[["Kip","DuBuque"],["Rebeca","Runolfsdottir"],["Keon","Treutel"],["Gabe","Bode"],["Lou","Grady"],["Josefina","Jerde"],["Mozell","Toy"],["Keith","Hoeger"],["Crystal","Runolfsson"],["Nikki","Lehner"],["Gregoria","Schowalter"],["Louvenia","Crona"],["Else","Roberts"],["Juvenal","Kautzer"],["Tamia","Mante"]]} | SELECT guest_first_name , guest_last_name FROM Guests <table_name> : Guests col : guest_id | gender_code | guest_first_name | guest_last_name | date_of_birth row 1 : 1 | Male | Kip | DuBuque | 1995-11-04 07:09:57 row 2 : 2 | Unknown | Rebeca | Runolfsdottir | 1974-05-12 21:53:58 row 3 : 3 | Female | Keon | Treutel | 1974-08-20 09:28:05 row 4 : 4 | Female | Gabe | Bode | 2007-09-11 19:01:39 row 5 : 5 | Female | Lou | Grady | 1997-01-15 17:37:40 row 6 : 6 | Unknown | Josefina | Jerde | 1978-03-08 04:43:04 row 7 : 7 | Female | Mozell | Toy | 1997-01-20 17:11:31 row 8 : 8 | Unknown | Keith | Hoeger | 2001-06-18 20:05:55 row 9 : 9 | Female | Crystal | Runolfsson | 1971-01-04 04:22:58 row 10 : 10 | Female | Nikki | Lehner | 1980-06-20 18:15:39 row 11 : 11 | Male | Gregoria | Schowalter | 2015-02-03 23:34:13 row 12 : 12 | Male | Louvenia | Crona | 1983-08-26 15:45:08 row 13 : 13 | Female | Else | Roberts | 1971-11-02 01:51:56 row 14 : 14 | Female | Juvenal | Kautzer | 2003-07-29 22:08:15 row 15 : 15 | Female | Tamia | Mante | 2013-02-22 11:26:22 | col : guest_first_name | guest_last_name row 1 : Kip | DuBuque row 2 : Rebeca | Runolfsdottir row 3 : Keon | Treutel row 4 : Gabe | Bode row 5 : Lou | Grady row 6 : Josefina | Jerde row 7 : Mozell | Toy row 8 : Keith | Hoeger row 9 : Crystal | Runolfsson row 10 : Nikki | Lehner row 11 : Gregoria | Schowalter row 12 : Louvenia | Crona row 13 : Else | Roberts row 14 : Juvenal | Kautzer row 15 : Tamia | Mante |
SELECT date_of_birth FROM Guests WHERE gender_code = "Male" | [
"Guests"
] | [
"{\"columns\":[\"guest_id\",\"gender_code\",\"guest_first_name\",\"guest_last_name\",\"date_of_birth\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],\"data\":[[1,\"Male\",\"Kip\",\"DuBuque\",\"1995-11-04 07:09:57\"],[2,\"Unknown\",\"Rebeca\",\"Runolfsdottir\",\"1974-05-12 21:53:58\"],[3,\"Female\",\"Keon\",\"Treutel\",\"1974-08-20 09:28:05\"],[4,\"Female\",\"Gabe\",\"Bode\",\"2007-09-11 19:01:39\"],[5,\"Female\",\"Lou\",\"Grady\",\"1997-01-15 17:37:40\"],[6,\"Unknown\",\"Josefina\",\"Jerde\",\"1978-03-08 04:43:04\"],[7,\"Female\",\"Mozell\",\"Toy\",\"1997-01-20 17:11:31\"],[8,\"Unknown\",\"Keith\",\"Hoeger\",\"2001-06-18 20:05:55\"],[9,\"Female\",\"Crystal\",\"Runolfsson\",\"1971-01-04 04:22:58\"],[10,\"Female\",\"Nikki\",\"Lehner\",\"1980-06-20 18:15:39\"],[11,\"Male\",\"Gregoria\",\"Schowalter\",\"2015-02-03 23:34:13\"],[12,\"Male\",\"Louvenia\",\"Crona\",\"1983-08-26 15:45:08\"],[13,\"Female\",\"Else\",\"Roberts\",\"1971-11-02 01:51:56\"],[14,\"Female\",\"Juvenal\",\"Kautzer\",\"2003-07-29 22:08:15\"],[15,\"Female\",\"Tamia\",\"Mante\",\"2013-02-22 11:26:22\"]]}"
] | {"columns":["date_of_birth"],"index":[0,1,2],"data":[["1995-11-04 07:09:57"],["2015-02-03 23:34:13"],["1983-08-26 15:45:08"]]} | SELECT date_of_birth FROM Guests WHERE gender_code = "Male" <table_name> : Guests col : guest_id | gender_code | guest_first_name | guest_last_name | date_of_birth row 1 : 1 | Male | Kip | DuBuque | 1995-11-04 07:09:57 row 2 : 2 | Unknown | Rebeca | Runolfsdottir | 1974-05-12 21:53:58 row 3 : 3 | Female | Keon | Treutel | 1974-08-20 09:28:05 row 4 : 4 | Female | Gabe | Bode | 2007-09-11 19:01:39 row 5 : 5 | Female | Lou | Grady | 1997-01-15 17:37:40 row 6 : 6 | Unknown | Josefina | Jerde | 1978-03-08 04:43:04 row 7 : 7 | Female | Mozell | Toy | 1997-01-20 17:11:31 row 8 : 8 | Unknown | Keith | Hoeger | 2001-06-18 20:05:55 row 9 : 9 | Female | Crystal | Runolfsson | 1971-01-04 04:22:58 row 10 : 10 | Female | Nikki | Lehner | 1980-06-20 18:15:39 row 11 : 11 | Male | Gregoria | Schowalter | 2015-02-03 23:34:13 row 12 : 12 | Male | Louvenia | Crona | 1983-08-26 15:45:08 row 13 : 13 | Female | Else | Roberts | 1971-11-02 01:51:56 row 14 : 14 | Female | Juvenal | Kautzer | 2003-07-29 22:08:15 row 15 : 15 | Female | Tamia | Mante | 2013-02-22 11:26:22 | col : date_of_birth row 1 : 1995-11-04 07:09:57 row 2 : 2015-02-03 23:34:13 row 3 : 1983-08-26 15:45:08 |
SELECT T2.apt_number , T1.booking_start_date , T1.booking_start_date FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id | [
"Apartments",
"Apartment_Bookings"
] | [
"{\"columns\":[\"apt_id\",\"building_id\",\"apt_type_code\",\"apt_number\",\"bathroom_count\",\"bedroom_count\",\"room_count\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],\"data\":[[1,808,\"Flat\",\"Suite 645\",1,3,\"7\"],[2,624,\"Flat\",\"Apt. 585\",2,4,\"5\"],[3,225,\"Studio\",\"Apt. 908\",1,6,\"7\"],[4,225,\"Duplex\",\"Suite 749\",1,5,\"8\"],[5,744,\"Flat\",\"Suite 307\",2,4,\"9\"],[6,191,\"Studio\",\"Apt. 187\",3,5,\"9\"],[7,790,\"Studio\",\"Suite 088\",2,4,\"6\"],[8,153,\"Flat\",\"Suite 693\",2,3,\"9\"],[9,624,\"Studio\",\"Apt. 940\",1,4,\"8\"],[10,225,\"Duplex\",\"Apt. 859\",2,3,\"6\"],[11,734,\"Flat\",\"Apt. 794\",1,5,\"3\"],[12,673,\"Duplex\",\"Apt. 477\",2,6,\"3\"],[13,744,\"Duplex\",\"Apt. 411\",2,5,\"9\"],[14,225,\"Flat\",\"Apt. 837\",2,4,\"8\"],[15,790,\"Duplex\",\"Suite 634\",3,6,\"8\"]]}",
"{\"columns\":[\"apt_booking_id\",\"apt_id\",\"guest_id\",\"booking_status_code\",\"booking_start_date\",\"booking_end_date\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],\"data\":[[258,10,2,\"Provisional\",\"2016-09-26 17:13:49\",\"2017-10-07 11:38:48\"],[279,15,15,\"Provisional\",\"2016-04-01 06:28:08\",\"2017-10-25 11:08:42\"],[337,8,5,\"Provisional\",\"2017-03-13 16:20:14\",\"2018-02-19 16:59:08\"],[343,4,13,\"Confirmed\",\"2016-08-04 10:33:00\",\"2017-09-29 12:43:50\"],[365,9,12,\"Confirmed\",\"2017-02-11 14:34:14\",\"2017-10-07 20:47:19\"],[401,7,14,\"Provisional\",\"2016-05-24 20:09:38\",\"2017-10-03 01:56:21\"],[497,10,8,\"Confirmed\",\"2016-07-25 02:57:04\",\"2017-09-28 11:08:15\"],[526,8,7,\"Confirmed\",\"2016-11-26 05:04:31\",\"2018-02-25 15:15:37\"],[575,6,3,\"Provisional\",\"2017-05-13 18:17:20\",\"2017-10-06 11:15:58\"],[577,12,2,\"Provisional\",\"2017-03-04 02:23:49\",\"2018-02-06 16:57:05\"],[623,4,5,\"Provisional\",\"2016-06-07 05:05:18\",\"2017-11-13 13:59:45\"],[807,11,2,\"Provisional\",\"2016-04-17 12:53:59\",\"2018-03-20 17:32:58\"],[889,10,4,\"Confirmed\",\"2016-09-28 05:00:50\",\"2017-09-30 18:41:04\"],[920,2,2,\"Confirmed\",\"2017-04-07 04:53:27\",\"2017-11-29 12:59:42\"],[924,8,3,\"Confirmed\",\"2017-07-03 14:15:56\",\"2017-11-12 01:05:09\"]]}"
] | {"columns":["apt_number","booking_start_date","booking_start_date"],"index":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],"data":[["Apt. 859","2016-09-26 17:13:49","2016-09-26 17:13:49"],["Suite 634","2016-04-01 06:28:08","2016-04-01 06:28:08"],["Suite 693","2017-03-13 16:20:14","2017-03-13 16:20:14"],["Suite 749","2016-08-04 10:33:00","2016-08-04 10:33:00"],["Apt. 940","2017-02-11 14:34:14","2017-02-11 14:34:14"],["Suite 088","2016-05-24 20:09:38","2016-05-24 20:09:38"],["Apt. 859","2016-07-25 02:57:04","2016-07-25 02:57:04"],["Suite 693","2016-11-26 05:04:31","2016-11-26 05:04:31"],["Apt. 187","2017-05-13 18:17:20","2017-05-13 18:17:20"],["Apt. 477","2017-03-04 02:23:49","2017-03-04 02:23:49"],["Suite 749","2016-06-07 05:05:18","2016-06-07 05:05:18"],["Apt. 794","2016-04-17 12:53:59","2016-04-17 12:53:59"],["Apt. 859","2016-09-28 05:00:50","2016-09-28 05:00:50"],["Apt. 585","2017-04-07 04:53:27","2017-04-07 04:53:27"],["Suite 693","2017-07-03 14:15:56","2017-07-03 14:15:56"]]} | SELECT T2.apt_number , T1.booking_start_date , T1.booking_start_date FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id <table_name> : Apartments col : apt_id | building_id | apt_type_code | apt_number | bathroom_count | bedroom_count | room_count row 1 : 1 | 808 | Flat | Suite 645 | 1 | 3 | 7 row 2 : 2 | 624 | Flat | Apt. 585 | 2 | 4 | 5 row 3 : 3 | 225 | Studio | Apt. 908 | 1 | 6 | 7 row 4 : 4 | 225 | Duplex | Suite 749 | 1 | 5 | 8 row 5 : 5 | 744 | Flat | Suite 307 | 2 | 4 | 9 row 6 : 6 | 191 | Studio | Apt. 187 | 3 | 5 | 9 row 7 : 7 | 790 | Studio | Suite 088 | 2 | 4 | 6 row 8 : 8 | 153 | Flat | Suite 693 | 2 | 3 | 9 row 9 : 9 | 624 | Studio | Apt. 940 | 1 | 4 | 8 row 10 : 10 | 225 | Duplex | Apt. 859 | 2 | 3 | 6 row 11 : 11 | 734 | Flat | Apt. 794 | 1 | 5 | 3 row 12 : 12 | 673 | Duplex | Apt. 477 | 2 | 6 | 3 row 13 : 13 | 744 | Duplex | Apt. 411 | 2 | 5 | 9 row 14 : 14 | 225 | Flat | Apt. 837 | 2 | 4 | 8 row 15 : 15 | 790 | Duplex | Suite 634 | 3 | 6 | 8 <table_name> : Apartment_Bookings col : apt_booking_id | apt_id | guest_id | booking_status_code | booking_start_date | booking_end_date row 1 : 258 | 10 | 2 | Provisional | 2016-09-26 17:13:49 | 2017-10-07 11:38:48 row 2 : 279 | 15 | 15 | Provisional | 2016-04-01 06:28:08 | 2017-10-25 11:08:42 row 3 : 337 | 8 | 5 | Provisional | 2017-03-13 16:20:14 | 2018-02-19 16:59:08 row 4 : 343 | 4 | 13 | Confirmed | 2016-08-04 10:33:00 | 2017-09-29 12:43:50 row 5 : 365 | 9 | 12 | Confirmed | 2017-02-11 14:34:14 | 2017-10-07 20:47:19 row 6 : 401 | 7 | 14 | Provisional | 2016-05-24 20:09:38 | 2017-10-03 01:56:21 row 7 : 497 | 10 | 8 | Confirmed | 2016-07-25 02:57:04 | 2017-09-28 11:08:15 row 8 : 526 | 8 | 7 | Confirmed | 2016-11-26 05:04:31 | 2018-02-25 15:15:37 row 9 : 575 | 6 | 3 | Provisional | 2017-05-13 18:17:20 | 2017-10-06 11:15:58 row 10 : 577 | 12 | 2 | Provisional | 2017-03-04 02:23:49 | 2018-02-06 16:57:05 row 11 : 623 | 4 | 5 | Provisional | 2016-06-07 05:05:18 | 2017-11-13 13:59:45 row 12 : 807 | 11 | 2 | Provisional | 2016-04-17 12:53:59 | 2018-03-20 17:32:58 row 13 : 889 | 10 | 4 | Confirmed | 2016-09-28 05:00:50 | 2017-09-30 18:41:04 row 14 : 920 | 2 | 2 | Confirmed | 2017-04-07 04:53:27 | 2017-11-29 12:59:42 row 15 : 924 | 8 | 3 | Confirmed | 2017-07-03 14:15:56 | 2017-11-12 01:05:09 | col : apt_number | booking_start_date -1 | booking_start_date -2 row 1 : Apt. 859 | 2016-09-26 17:13:49 | 2016-09-26 17:13:49 row 2 : Suite 634 | 2016-04-01 06:28:08 | 2016-04-01 06:28:08 row 3 : Suite 693 | 2017-03-13 16:20:14 | 2017-03-13 16:20:14 row 4 : Suite 749 | 2016-08-04 10:33:00 | 2016-08-04 10:33:00 row 5 : Apt. 940 | 2017-02-11 14:34:14 | 2017-02-11 14:34:14 row 6 : Suite 088 | 2016-05-24 20:09:38 | 2016-05-24 20:09:38 row 7 : Apt. 859 | 2016-07-25 02:57:04 | 2016-07-25 02:57:04 row 8 : Suite 693 | 2016-11-26 05:04:31 | 2016-11-26 05:04:31 row 9 : Apt. 187 | 2017-05-13 18:17:20 | 2017-05-13 18:17:20 row 10 : Apt. 477 | 2017-03-04 02:23:49 | 2017-03-04 02:23:49 row 11 : Suite 749 | 2016-06-07 05:05:18 | 2016-06-07 05:05:18 row 12 : Apt. 794 | 2016-04-17 12:53:59 | 2016-04-17 12:53:59 row 13 : Apt. 859 | 2016-09-28 05:00:50 | 2016-09-28 05:00:50 row 14 : Apt. 585 | 2017-04-07 04:53:27 | 2017-04-07 04:53:27 row 15 : Suite 693 | 2017-07-03 14:15:56 | 2017-07-03 14:15:56 |
SELECT T1.booking_start_date , T1.booking_start_date FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id WHERE T2.apt_type_code = "Duplex" | [
"Apartments",
"Apartment_Bookings"
] | [
"{\"columns\":[\"apt_id\",\"building_id\",\"apt_type_code\",\"apt_number\",\"bathroom_count\",\"bedroom_count\",\"room_count\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],\"data\":[[1,808,\"Flat\",\"Suite 645\",1,3,\"7\"],[2,624,\"Flat\",\"Apt. 585\",2,4,\"5\"],[3,225,\"Studio\",\"Apt. 908\",1,6,\"7\"],[4,225,\"Duplex\",\"Suite 749\",1,5,\"8\"],[5,744,\"Flat\",\"Suite 307\",2,4,\"9\"],[6,191,\"Studio\",\"Apt. 187\",3,5,\"9\"],[7,790,\"Studio\",\"Suite 088\",2,4,\"6\"],[8,153,\"Flat\",\"Suite 693\",2,3,\"9\"],[9,624,\"Studio\",\"Apt. 940\",1,4,\"8\"],[10,225,\"Duplex\",\"Apt. 859\",2,3,\"6\"],[11,734,\"Flat\",\"Apt. 794\",1,5,\"3\"],[12,673,\"Duplex\",\"Apt. 477\",2,6,\"3\"],[13,744,\"Duplex\",\"Apt. 411\",2,5,\"9\"],[14,225,\"Flat\",\"Apt. 837\",2,4,\"8\"],[15,790,\"Duplex\",\"Suite 634\",3,6,\"8\"]]}",
"{\"columns\":[\"apt_booking_id\",\"apt_id\",\"guest_id\",\"booking_status_code\",\"booking_start_date\",\"booking_end_date\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],\"data\":[[258,10,2,\"Provisional\",\"2016-09-26 17:13:49\",\"2017-10-07 11:38:48\"],[279,15,15,\"Provisional\",\"2016-04-01 06:28:08\",\"2017-10-25 11:08:42\"],[337,8,5,\"Provisional\",\"2017-03-13 16:20:14\",\"2018-02-19 16:59:08\"],[343,4,13,\"Confirmed\",\"2016-08-04 10:33:00\",\"2017-09-29 12:43:50\"],[365,9,12,\"Confirmed\",\"2017-02-11 14:34:14\",\"2017-10-07 20:47:19\"],[401,7,14,\"Provisional\",\"2016-05-24 20:09:38\",\"2017-10-03 01:56:21\"],[497,10,8,\"Confirmed\",\"2016-07-25 02:57:04\",\"2017-09-28 11:08:15\"],[526,8,7,\"Confirmed\",\"2016-11-26 05:04:31\",\"2018-02-25 15:15:37\"],[575,6,3,\"Provisional\",\"2017-05-13 18:17:20\",\"2017-10-06 11:15:58\"],[577,12,2,\"Provisional\",\"2017-03-04 02:23:49\",\"2018-02-06 16:57:05\"],[623,4,5,\"Provisional\",\"2016-06-07 05:05:18\",\"2017-11-13 13:59:45\"],[807,11,2,\"Provisional\",\"2016-04-17 12:53:59\",\"2018-03-20 17:32:58\"],[889,10,4,\"Confirmed\",\"2016-09-28 05:00:50\",\"2017-09-30 18:41:04\"],[920,2,2,\"Confirmed\",\"2017-04-07 04:53:27\",\"2017-11-29 12:59:42\"],[924,8,3,\"Confirmed\",\"2017-07-03 14:15:56\",\"2017-11-12 01:05:09\"]]}"
] | {"columns":["booking_start_date","booking_start_date"],"index":[0,1,2,3,4,5,6],"data":[["2016-09-26 17:13:49","2016-09-26 17:13:49"],["2016-04-01 06:28:08","2016-04-01 06:28:08"],["2016-08-04 10:33:00","2016-08-04 10:33:00"],["2016-07-25 02:57:04","2016-07-25 02:57:04"],["2017-03-04 02:23:49","2017-03-04 02:23:49"],["2016-06-07 05:05:18","2016-06-07 05:05:18"],["2016-09-28 05:00:50","2016-09-28 05:00:50"]]} | SELECT T1.booking_start_date , T1.booking_start_date FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id WHERE T2.apt_type_code = "Duplex" <table_name> : Apartments col : apt_id | building_id | apt_type_code | apt_number | bathroom_count | bedroom_count | room_count row 1 : 1 | 808 | Flat | Suite 645 | 1 | 3 | 7 row 2 : 2 | 624 | Flat | Apt. 585 | 2 | 4 | 5 row 3 : 3 | 225 | Studio | Apt. 908 | 1 | 6 | 7 row 4 : 4 | 225 | Duplex | Suite 749 | 1 | 5 | 8 row 5 : 5 | 744 | Flat | Suite 307 | 2 | 4 | 9 row 6 : 6 | 191 | Studio | Apt. 187 | 3 | 5 | 9 row 7 : 7 | 790 | Studio | Suite 088 | 2 | 4 | 6 row 8 : 8 | 153 | Flat | Suite 693 | 2 | 3 | 9 row 9 : 9 | 624 | Studio | Apt. 940 | 1 | 4 | 8 row 10 : 10 | 225 | Duplex | Apt. 859 | 2 | 3 | 6 row 11 : 11 | 734 | Flat | Apt. 794 | 1 | 5 | 3 row 12 : 12 | 673 | Duplex | Apt. 477 | 2 | 6 | 3 row 13 : 13 | 744 | Duplex | Apt. 411 | 2 | 5 | 9 row 14 : 14 | 225 | Flat | Apt. 837 | 2 | 4 | 8 row 15 : 15 | 790 | Duplex | Suite 634 | 3 | 6 | 8 <table_name> : Apartment_Bookings col : apt_booking_id | apt_id | guest_id | booking_status_code | booking_start_date | booking_end_date row 1 : 258 | 10 | 2 | Provisional | 2016-09-26 17:13:49 | 2017-10-07 11:38:48 row 2 : 279 | 15 | 15 | Provisional | 2016-04-01 06:28:08 | 2017-10-25 11:08:42 row 3 : 337 | 8 | 5 | Provisional | 2017-03-13 16:20:14 | 2018-02-19 16:59:08 row 4 : 343 | 4 | 13 | Confirmed | 2016-08-04 10:33:00 | 2017-09-29 12:43:50 row 5 : 365 | 9 | 12 | Confirmed | 2017-02-11 14:34:14 | 2017-10-07 20:47:19 row 6 : 401 | 7 | 14 | Provisional | 2016-05-24 20:09:38 | 2017-10-03 01:56:21 row 7 : 497 | 10 | 8 | Confirmed | 2016-07-25 02:57:04 | 2017-09-28 11:08:15 row 8 : 526 | 8 | 7 | Confirmed | 2016-11-26 05:04:31 | 2018-02-25 15:15:37 row 9 : 575 | 6 | 3 | Provisional | 2017-05-13 18:17:20 | 2017-10-06 11:15:58 row 10 : 577 | 12 | 2 | Provisional | 2017-03-04 02:23:49 | 2018-02-06 16:57:05 row 11 : 623 | 4 | 5 | Provisional | 2016-06-07 05:05:18 | 2017-11-13 13:59:45 row 12 : 807 | 11 | 2 | Provisional | 2016-04-17 12:53:59 | 2018-03-20 17:32:58 row 13 : 889 | 10 | 4 | Confirmed | 2016-09-28 05:00:50 | 2017-09-30 18:41:04 row 14 : 920 | 2 | 2 | Confirmed | 2017-04-07 04:53:27 | 2017-11-29 12:59:42 row 15 : 924 | 8 | 3 | Confirmed | 2017-07-03 14:15:56 | 2017-11-12 01:05:09 | col : booking_start_date -1 | booking_start_date -2 row 1 : 2016-09-26 17:13:49 | 2016-09-26 17:13:49 row 2 : 2016-04-01 06:28:08 | 2016-04-01 06:28:08 row 3 : 2016-08-04 10:33:00 | 2016-08-04 10:33:00 row 4 : 2016-07-25 02:57:04 | 2016-07-25 02:57:04 row 5 : 2017-03-04 02:23:49 | 2017-03-04 02:23:49 row 6 : 2016-06-07 05:05:18 | 2016-06-07 05:05:18 row 7 : 2016-09-28 05:00:50 | 2016-09-28 05:00:50 |
SELECT T1.booking_start_date , T1.booking_start_date FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id WHERE T2.bedroom_count > 2 | [
"Apartments",
"Apartment_Bookings"
] | [
"{\"columns\":[\"apt_id\",\"building_id\",\"apt_type_code\",\"apt_number\",\"bathroom_count\",\"bedroom_count\",\"room_count\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],\"data\":[[1,808,\"Flat\",\"Suite 645\",1,3,\"7\"],[2,624,\"Flat\",\"Apt. 585\",2,4,\"5\"],[3,225,\"Studio\",\"Apt. 908\",1,6,\"7\"],[4,225,\"Duplex\",\"Suite 749\",1,5,\"8\"],[5,744,\"Flat\",\"Suite 307\",2,4,\"9\"],[6,191,\"Studio\",\"Apt. 187\",3,5,\"9\"],[7,790,\"Studio\",\"Suite 088\",2,4,\"6\"],[8,153,\"Flat\",\"Suite 693\",2,3,\"9\"],[9,624,\"Studio\",\"Apt. 940\",1,4,\"8\"],[10,225,\"Duplex\",\"Apt. 859\",2,3,\"6\"],[11,734,\"Flat\",\"Apt. 794\",1,5,\"3\"],[12,673,\"Duplex\",\"Apt. 477\",2,6,\"3\"],[13,744,\"Duplex\",\"Apt. 411\",2,5,\"9\"],[14,225,\"Flat\",\"Apt. 837\",2,4,\"8\"],[15,790,\"Duplex\",\"Suite 634\",3,6,\"8\"]]}",
"{\"columns\":[\"apt_booking_id\",\"apt_id\",\"guest_id\",\"booking_status_code\",\"booking_start_date\",\"booking_end_date\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],\"data\":[[258,10,2,\"Provisional\",\"2016-09-26 17:13:49\",\"2017-10-07 11:38:48\"],[279,15,15,\"Provisional\",\"2016-04-01 06:28:08\",\"2017-10-25 11:08:42\"],[337,8,5,\"Provisional\",\"2017-03-13 16:20:14\",\"2018-02-19 16:59:08\"],[343,4,13,\"Confirmed\",\"2016-08-04 10:33:00\",\"2017-09-29 12:43:50\"],[365,9,12,\"Confirmed\",\"2017-02-11 14:34:14\",\"2017-10-07 20:47:19\"],[401,7,14,\"Provisional\",\"2016-05-24 20:09:38\",\"2017-10-03 01:56:21\"],[497,10,8,\"Confirmed\",\"2016-07-25 02:57:04\",\"2017-09-28 11:08:15\"],[526,8,7,\"Confirmed\",\"2016-11-26 05:04:31\",\"2018-02-25 15:15:37\"],[575,6,3,\"Provisional\",\"2017-05-13 18:17:20\",\"2017-10-06 11:15:58\"],[577,12,2,\"Provisional\",\"2017-03-04 02:23:49\",\"2018-02-06 16:57:05\"],[623,4,5,\"Provisional\",\"2016-06-07 05:05:18\",\"2017-11-13 13:59:45\"],[807,11,2,\"Provisional\",\"2016-04-17 12:53:59\",\"2018-03-20 17:32:58\"],[889,10,4,\"Confirmed\",\"2016-09-28 05:00:50\",\"2017-09-30 18:41:04\"],[920,2,2,\"Confirmed\",\"2017-04-07 04:53:27\",\"2017-11-29 12:59:42\"],[924,8,3,\"Confirmed\",\"2017-07-03 14:15:56\",\"2017-11-12 01:05:09\"]]}"
] | {"columns":["booking_start_date","booking_start_date"],"index":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],"data":[["2016-09-26 17:13:49","2016-09-26 17:13:49"],["2016-04-01 06:28:08","2016-04-01 06:28:08"],["2017-03-13 16:20:14","2017-03-13 16:20:14"],["2016-08-04 10:33:00","2016-08-04 10:33:00"],["2017-02-11 14:34:14","2017-02-11 14:34:14"],["2016-05-24 20:09:38","2016-05-24 20:09:38"],["2016-07-25 02:57:04","2016-07-25 02:57:04"],["2016-11-26 05:04:31","2016-11-26 05:04:31"],["2017-05-13 18:17:20","2017-05-13 18:17:20"],["2017-03-04 02:23:49","2017-03-04 02:23:49"],["2016-06-07 05:05:18","2016-06-07 05:05:18"],["2016-04-17 12:53:59","2016-04-17 12:53:59"],["2016-09-28 05:00:50","2016-09-28 05:00:50"],["2017-04-07 04:53:27","2017-04-07 04:53:27"],["2017-07-03 14:15:56","2017-07-03 14:15:56"]]} | SELECT T1.booking_start_date , T1.booking_start_date FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id WHERE T2.bedroom_count > 2 <table_name> : Apartments col : apt_id | building_id | apt_type_code | apt_number | bathroom_count | bedroom_count | room_count row 1 : 1 | 808 | Flat | Suite 645 | 1 | 3 | 7 row 2 : 2 | 624 | Flat | Apt. 585 | 2 | 4 | 5 row 3 : 3 | 225 | Studio | Apt. 908 | 1 | 6 | 7 row 4 : 4 | 225 | Duplex | Suite 749 | 1 | 5 | 8 row 5 : 5 | 744 | Flat | Suite 307 | 2 | 4 | 9 row 6 : 6 | 191 | Studio | Apt. 187 | 3 | 5 | 9 row 7 : 7 | 790 | Studio | Suite 088 | 2 | 4 | 6 row 8 : 8 | 153 | Flat | Suite 693 | 2 | 3 | 9 row 9 : 9 | 624 | Studio | Apt. 940 | 1 | 4 | 8 row 10 : 10 | 225 | Duplex | Apt. 859 | 2 | 3 | 6 row 11 : 11 | 734 | Flat | Apt. 794 | 1 | 5 | 3 row 12 : 12 | 673 | Duplex | Apt. 477 | 2 | 6 | 3 row 13 : 13 | 744 | Duplex | Apt. 411 | 2 | 5 | 9 row 14 : 14 | 225 | Flat | Apt. 837 | 2 | 4 | 8 row 15 : 15 | 790 | Duplex | Suite 634 | 3 | 6 | 8 <table_name> : Apartment_Bookings col : apt_booking_id | apt_id | guest_id | booking_status_code | booking_start_date | booking_end_date row 1 : 258 | 10 | 2 | Provisional | 2016-09-26 17:13:49 | 2017-10-07 11:38:48 row 2 : 279 | 15 | 15 | Provisional | 2016-04-01 06:28:08 | 2017-10-25 11:08:42 row 3 : 337 | 8 | 5 | Provisional | 2017-03-13 16:20:14 | 2018-02-19 16:59:08 row 4 : 343 | 4 | 13 | Confirmed | 2016-08-04 10:33:00 | 2017-09-29 12:43:50 row 5 : 365 | 9 | 12 | Confirmed | 2017-02-11 14:34:14 | 2017-10-07 20:47:19 row 6 : 401 | 7 | 14 | Provisional | 2016-05-24 20:09:38 | 2017-10-03 01:56:21 row 7 : 497 | 10 | 8 | Confirmed | 2016-07-25 02:57:04 | 2017-09-28 11:08:15 row 8 : 526 | 8 | 7 | Confirmed | 2016-11-26 05:04:31 | 2018-02-25 15:15:37 row 9 : 575 | 6 | 3 | Provisional | 2017-05-13 18:17:20 | 2017-10-06 11:15:58 row 10 : 577 | 12 | 2 | Provisional | 2017-03-04 02:23:49 | 2018-02-06 16:57:05 row 11 : 623 | 4 | 5 | Provisional | 2016-06-07 05:05:18 | 2017-11-13 13:59:45 row 12 : 807 | 11 | 2 | Provisional | 2016-04-17 12:53:59 | 2018-03-20 17:32:58 row 13 : 889 | 10 | 4 | Confirmed | 2016-09-28 05:00:50 | 2017-09-30 18:41:04 row 14 : 920 | 2 | 2 | Confirmed | 2017-04-07 04:53:27 | 2017-11-29 12:59:42 row 15 : 924 | 8 | 3 | Confirmed | 2017-07-03 14:15:56 | 2017-11-12 01:05:09 | col : booking_start_date -1 | booking_start_date -2 row 1 : 2016-09-26 17:13:49 | 2016-09-26 17:13:49 row 2 : 2016-04-01 06:28:08 | 2016-04-01 06:28:08 row 3 : 2017-03-13 16:20:14 | 2017-03-13 16:20:14 row 4 : 2016-08-04 10:33:00 | 2016-08-04 10:33:00 row 5 : 2017-02-11 14:34:14 | 2017-02-11 14:34:14 row 6 : 2016-05-24 20:09:38 | 2016-05-24 20:09:38 row 7 : 2016-07-25 02:57:04 | 2016-07-25 02:57:04 row 8 : 2016-11-26 05:04:31 | 2016-11-26 05:04:31 row 9 : 2017-05-13 18:17:20 | 2017-05-13 18:17:20 row 10 : 2017-03-04 02:23:49 | 2017-03-04 02:23:49 row 11 : 2016-06-07 05:05:18 | 2016-06-07 05:05:18 row 12 : 2016-04-17 12:53:59 | 2016-04-17 12:53:59 row 13 : 2016-09-28 05:00:50 | 2016-09-28 05:00:50 row 14 : 2017-04-07 04:53:27 | 2017-04-07 04:53:27 row 15 : 2017-07-03 14:15:56 | 2017-07-03 14:15:56 |
SELECT T1.booking_status_code FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id WHERE T2.apt_number = "Suite 634" | [
"Apartments",
"Apartment_Bookings"
] | [
"{\"columns\":[\"apt_id\",\"building_id\",\"apt_type_code\",\"apt_number\",\"bathroom_count\",\"bedroom_count\",\"room_count\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],\"data\":[[1,808,\"Flat\",\"Suite 645\",1,3,\"7\"],[2,624,\"Flat\",\"Apt. 585\",2,4,\"5\"],[3,225,\"Studio\",\"Apt. 908\",1,6,\"7\"],[4,225,\"Duplex\",\"Suite 749\",1,5,\"8\"],[5,744,\"Flat\",\"Suite 307\",2,4,\"9\"],[6,191,\"Studio\",\"Apt. 187\",3,5,\"9\"],[7,790,\"Studio\",\"Suite 088\",2,4,\"6\"],[8,153,\"Flat\",\"Suite 693\",2,3,\"9\"],[9,624,\"Studio\",\"Apt. 940\",1,4,\"8\"],[10,225,\"Duplex\",\"Apt. 859\",2,3,\"6\"],[11,734,\"Flat\",\"Apt. 794\",1,5,\"3\"],[12,673,\"Duplex\",\"Apt. 477\",2,6,\"3\"],[13,744,\"Duplex\",\"Apt. 411\",2,5,\"9\"],[14,225,\"Flat\",\"Apt. 837\",2,4,\"8\"],[15,790,\"Duplex\",\"Suite 634\",3,6,\"8\"]]}",
"{\"columns\":[\"apt_booking_id\",\"apt_id\",\"guest_id\",\"booking_status_code\",\"booking_start_date\",\"booking_end_date\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],\"data\":[[258,10,2,\"Provisional\",\"2016-09-26 17:13:49\",\"2017-10-07 11:38:48\"],[279,15,15,\"Provisional\",\"2016-04-01 06:28:08\",\"2017-10-25 11:08:42\"],[337,8,5,\"Provisional\",\"2017-03-13 16:20:14\",\"2018-02-19 16:59:08\"],[343,4,13,\"Confirmed\",\"2016-08-04 10:33:00\",\"2017-09-29 12:43:50\"],[365,9,12,\"Confirmed\",\"2017-02-11 14:34:14\",\"2017-10-07 20:47:19\"],[401,7,14,\"Provisional\",\"2016-05-24 20:09:38\",\"2017-10-03 01:56:21\"],[497,10,8,\"Confirmed\",\"2016-07-25 02:57:04\",\"2017-09-28 11:08:15\"],[526,8,7,\"Confirmed\",\"2016-11-26 05:04:31\",\"2018-02-25 15:15:37\"],[575,6,3,\"Provisional\",\"2017-05-13 18:17:20\",\"2017-10-06 11:15:58\"],[577,12,2,\"Provisional\",\"2017-03-04 02:23:49\",\"2018-02-06 16:57:05\"],[623,4,5,\"Provisional\",\"2016-06-07 05:05:18\",\"2017-11-13 13:59:45\"],[807,11,2,\"Provisional\",\"2016-04-17 12:53:59\",\"2018-03-20 17:32:58\"],[889,10,4,\"Confirmed\",\"2016-09-28 05:00:50\",\"2017-09-30 18:41:04\"],[920,2,2,\"Confirmed\",\"2017-04-07 04:53:27\",\"2017-11-29 12:59:42\"],[924,8,3,\"Confirmed\",\"2017-07-03 14:15:56\",\"2017-11-12 01:05:09\"]]}"
] | {"columns":["booking_status_code"],"index":[0],"data":[["Provisional"]]} | SELECT T1.booking_status_code FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id WHERE T2.apt_number = "Suite 634" <table_name> : Apartments col : apt_id | building_id | apt_type_code | apt_number | bathroom_count | bedroom_count | room_count row 1 : 1 | 808 | Flat | Suite 645 | 1 | 3 | 7 row 2 : 2 | 624 | Flat | Apt. 585 | 2 | 4 | 5 row 3 : 3 | 225 | Studio | Apt. 908 | 1 | 6 | 7 row 4 : 4 | 225 | Duplex | Suite 749 | 1 | 5 | 8 row 5 : 5 | 744 | Flat | Suite 307 | 2 | 4 | 9 row 6 : 6 | 191 | Studio | Apt. 187 | 3 | 5 | 9 row 7 : 7 | 790 | Studio | Suite 088 | 2 | 4 | 6 row 8 : 8 | 153 | Flat | Suite 693 | 2 | 3 | 9 row 9 : 9 | 624 | Studio | Apt. 940 | 1 | 4 | 8 row 10 : 10 | 225 | Duplex | Apt. 859 | 2 | 3 | 6 row 11 : 11 | 734 | Flat | Apt. 794 | 1 | 5 | 3 row 12 : 12 | 673 | Duplex | Apt. 477 | 2 | 6 | 3 row 13 : 13 | 744 | Duplex | Apt. 411 | 2 | 5 | 9 row 14 : 14 | 225 | Flat | Apt. 837 | 2 | 4 | 8 row 15 : 15 | 790 | Duplex | Suite 634 | 3 | 6 | 8 <table_name> : Apartment_Bookings col : apt_booking_id | apt_id | guest_id | booking_status_code | booking_start_date | booking_end_date row 1 : 258 | 10 | 2 | Provisional | 2016-09-26 17:13:49 | 2017-10-07 11:38:48 row 2 : 279 | 15 | 15 | Provisional | 2016-04-01 06:28:08 | 2017-10-25 11:08:42 row 3 : 337 | 8 | 5 | Provisional | 2017-03-13 16:20:14 | 2018-02-19 16:59:08 row 4 : 343 | 4 | 13 | Confirmed | 2016-08-04 10:33:00 | 2017-09-29 12:43:50 row 5 : 365 | 9 | 12 | Confirmed | 2017-02-11 14:34:14 | 2017-10-07 20:47:19 row 6 : 401 | 7 | 14 | Provisional | 2016-05-24 20:09:38 | 2017-10-03 01:56:21 row 7 : 497 | 10 | 8 | Confirmed | 2016-07-25 02:57:04 | 2017-09-28 11:08:15 row 8 : 526 | 8 | 7 | Confirmed | 2016-11-26 05:04:31 | 2018-02-25 15:15:37 row 9 : 575 | 6 | 3 | Provisional | 2017-05-13 18:17:20 | 2017-10-06 11:15:58 row 10 : 577 | 12 | 2 | Provisional | 2017-03-04 02:23:49 | 2018-02-06 16:57:05 row 11 : 623 | 4 | 5 | Provisional | 2016-06-07 05:05:18 | 2017-11-13 13:59:45 row 12 : 807 | 11 | 2 | Provisional | 2016-04-17 12:53:59 | 2018-03-20 17:32:58 row 13 : 889 | 10 | 4 | Confirmed | 2016-09-28 05:00:50 | 2017-09-30 18:41:04 row 14 : 920 | 2 | 2 | Confirmed | 2017-04-07 04:53:27 | 2017-11-29 12:59:42 row 15 : 924 | 8 | 3 | Confirmed | 2017-07-03 14:15:56 | 2017-11-12 01:05:09 | col : booking_status_code row 1 : Provisional |
SELECT DISTINCT T2.apt_number FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id WHERE T1.booking_status_code = "Confirmed" | [
"Apartments",
"Apartment_Bookings"
] | [
"{\"columns\":[\"apt_id\",\"building_id\",\"apt_type_code\",\"apt_number\",\"bathroom_count\",\"bedroom_count\",\"room_count\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],\"data\":[[1,808,\"Flat\",\"Suite 645\",1,3,\"7\"],[2,624,\"Flat\",\"Apt. 585\",2,4,\"5\"],[3,225,\"Studio\",\"Apt. 908\",1,6,\"7\"],[4,225,\"Duplex\",\"Suite 749\",1,5,\"8\"],[5,744,\"Flat\",\"Suite 307\",2,4,\"9\"],[6,191,\"Studio\",\"Apt. 187\",3,5,\"9\"],[7,790,\"Studio\",\"Suite 088\",2,4,\"6\"],[8,153,\"Flat\",\"Suite 693\",2,3,\"9\"],[9,624,\"Studio\",\"Apt. 940\",1,4,\"8\"],[10,225,\"Duplex\",\"Apt. 859\",2,3,\"6\"],[11,734,\"Flat\",\"Apt. 794\",1,5,\"3\"],[12,673,\"Duplex\",\"Apt. 477\",2,6,\"3\"],[13,744,\"Duplex\",\"Apt. 411\",2,5,\"9\"],[14,225,\"Flat\",\"Apt. 837\",2,4,\"8\"],[15,790,\"Duplex\",\"Suite 634\",3,6,\"8\"]]}",
"{\"columns\":[\"apt_booking_id\",\"apt_id\",\"guest_id\",\"booking_status_code\",\"booking_start_date\",\"booking_end_date\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],\"data\":[[258,10,2,\"Provisional\",\"2016-09-26 17:13:49\",\"2017-10-07 11:38:48\"],[279,15,15,\"Provisional\",\"2016-04-01 06:28:08\",\"2017-10-25 11:08:42\"],[337,8,5,\"Provisional\",\"2017-03-13 16:20:14\",\"2018-02-19 16:59:08\"],[343,4,13,\"Confirmed\",\"2016-08-04 10:33:00\",\"2017-09-29 12:43:50\"],[365,9,12,\"Confirmed\",\"2017-02-11 14:34:14\",\"2017-10-07 20:47:19\"],[401,7,14,\"Provisional\",\"2016-05-24 20:09:38\",\"2017-10-03 01:56:21\"],[497,10,8,\"Confirmed\",\"2016-07-25 02:57:04\",\"2017-09-28 11:08:15\"],[526,8,7,\"Confirmed\",\"2016-11-26 05:04:31\",\"2018-02-25 15:15:37\"],[575,6,3,\"Provisional\",\"2017-05-13 18:17:20\",\"2017-10-06 11:15:58\"],[577,12,2,\"Provisional\",\"2017-03-04 02:23:49\",\"2018-02-06 16:57:05\"],[623,4,5,\"Provisional\",\"2016-06-07 05:05:18\",\"2017-11-13 13:59:45\"],[807,11,2,\"Provisional\",\"2016-04-17 12:53:59\",\"2018-03-20 17:32:58\"],[889,10,4,\"Confirmed\",\"2016-09-28 05:00:50\",\"2017-09-30 18:41:04\"],[920,2,2,\"Confirmed\",\"2017-04-07 04:53:27\",\"2017-11-29 12:59:42\"],[924,8,3,\"Confirmed\",\"2017-07-03 14:15:56\",\"2017-11-12 01:05:09\"]]}"
] | {"columns":["apt_number"],"index":[0,1,2,3,4],"data":[["Suite 749"],["Apt. 940"],["Apt. 859"],["Suite 693"],["Apt. 585"]]} | SELECT DISTINCT T2.apt_number FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id WHERE T1.booking_status_code = "Confirmed" <table_name> : Apartments col : apt_id | building_id | apt_type_code | apt_number | bathroom_count | bedroom_count | room_count row 1 : 1 | 808 | Flat | Suite 645 | 1 | 3 | 7 row 2 : 2 | 624 | Flat | Apt. 585 | 2 | 4 | 5 row 3 : 3 | 225 | Studio | Apt. 908 | 1 | 6 | 7 row 4 : 4 | 225 | Duplex | Suite 749 | 1 | 5 | 8 row 5 : 5 | 744 | Flat | Suite 307 | 2 | 4 | 9 row 6 : 6 | 191 | Studio | Apt. 187 | 3 | 5 | 9 row 7 : 7 | 790 | Studio | Suite 088 | 2 | 4 | 6 row 8 : 8 | 153 | Flat | Suite 693 | 2 | 3 | 9 row 9 : 9 | 624 | Studio | Apt. 940 | 1 | 4 | 8 row 10 : 10 | 225 | Duplex | Apt. 859 | 2 | 3 | 6 row 11 : 11 | 734 | Flat | Apt. 794 | 1 | 5 | 3 row 12 : 12 | 673 | Duplex | Apt. 477 | 2 | 6 | 3 row 13 : 13 | 744 | Duplex | Apt. 411 | 2 | 5 | 9 row 14 : 14 | 225 | Flat | Apt. 837 | 2 | 4 | 8 row 15 : 15 | 790 | Duplex | Suite 634 | 3 | 6 | 8 <table_name> : Apartment_Bookings col : apt_booking_id | apt_id | guest_id | booking_status_code | booking_start_date | booking_end_date row 1 : 258 | 10 | 2 | Provisional | 2016-09-26 17:13:49 | 2017-10-07 11:38:48 row 2 : 279 | 15 | 15 | Provisional | 2016-04-01 06:28:08 | 2017-10-25 11:08:42 row 3 : 337 | 8 | 5 | Provisional | 2017-03-13 16:20:14 | 2018-02-19 16:59:08 row 4 : 343 | 4 | 13 | Confirmed | 2016-08-04 10:33:00 | 2017-09-29 12:43:50 row 5 : 365 | 9 | 12 | Confirmed | 2017-02-11 14:34:14 | 2017-10-07 20:47:19 row 6 : 401 | 7 | 14 | Provisional | 2016-05-24 20:09:38 | 2017-10-03 01:56:21 row 7 : 497 | 10 | 8 | Confirmed | 2016-07-25 02:57:04 | 2017-09-28 11:08:15 row 8 : 526 | 8 | 7 | Confirmed | 2016-11-26 05:04:31 | 2018-02-25 15:15:37 row 9 : 575 | 6 | 3 | Provisional | 2017-05-13 18:17:20 | 2017-10-06 11:15:58 row 10 : 577 | 12 | 2 | Provisional | 2017-03-04 02:23:49 | 2018-02-06 16:57:05 row 11 : 623 | 4 | 5 | Provisional | 2016-06-07 05:05:18 | 2017-11-13 13:59:45 row 12 : 807 | 11 | 2 | Provisional | 2016-04-17 12:53:59 | 2018-03-20 17:32:58 row 13 : 889 | 10 | 4 | Confirmed | 2016-09-28 05:00:50 | 2017-09-30 18:41:04 row 14 : 920 | 2 | 2 | Confirmed | 2017-04-07 04:53:27 | 2017-11-29 12:59:42 row 15 : 924 | 8 | 3 | Confirmed | 2017-07-03 14:15:56 | 2017-11-12 01:05:09 | col : apt_number row 1 : Suite 749 row 2 : Apt. 940 row 3 : Apt. 859 row 4 : Suite 693 row 5 : Apt. 585 |
SELECT avg(room_count) FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id WHERE T1.booking_status_code = "Provisional" | [
"Apartments",
"Apartment_Bookings"
] | [
"{\"columns\":[\"apt_id\",\"building_id\",\"apt_type_code\",\"apt_number\",\"bathroom_count\",\"bedroom_count\",\"room_count\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],\"data\":[[1,808,\"Flat\",\"Suite 645\",1,3,\"7\"],[2,624,\"Flat\",\"Apt. 585\",2,4,\"5\"],[3,225,\"Studio\",\"Apt. 908\",1,6,\"7\"],[4,225,\"Duplex\",\"Suite 749\",1,5,\"8\"],[5,744,\"Flat\",\"Suite 307\",2,4,\"9\"],[6,191,\"Studio\",\"Apt. 187\",3,5,\"9\"],[7,790,\"Studio\",\"Suite 088\",2,4,\"6\"],[8,153,\"Flat\",\"Suite 693\",2,3,\"9\"],[9,624,\"Studio\",\"Apt. 940\",1,4,\"8\"],[10,225,\"Duplex\",\"Apt. 859\",2,3,\"6\"],[11,734,\"Flat\",\"Apt. 794\",1,5,\"3\"],[12,673,\"Duplex\",\"Apt. 477\",2,6,\"3\"],[13,744,\"Duplex\",\"Apt. 411\",2,5,\"9\"],[14,225,\"Flat\",\"Apt. 837\",2,4,\"8\"],[15,790,\"Duplex\",\"Suite 634\",3,6,\"8\"]]}",
"{\"columns\":[\"apt_booking_id\",\"apt_id\",\"guest_id\",\"booking_status_code\",\"booking_start_date\",\"booking_end_date\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],\"data\":[[258,10,2,\"Provisional\",\"2016-09-26 17:13:49\",\"2017-10-07 11:38:48\"],[279,15,15,\"Provisional\",\"2016-04-01 06:28:08\",\"2017-10-25 11:08:42\"],[337,8,5,\"Provisional\",\"2017-03-13 16:20:14\",\"2018-02-19 16:59:08\"],[343,4,13,\"Confirmed\",\"2016-08-04 10:33:00\",\"2017-09-29 12:43:50\"],[365,9,12,\"Confirmed\",\"2017-02-11 14:34:14\",\"2017-10-07 20:47:19\"],[401,7,14,\"Provisional\",\"2016-05-24 20:09:38\",\"2017-10-03 01:56:21\"],[497,10,8,\"Confirmed\",\"2016-07-25 02:57:04\",\"2017-09-28 11:08:15\"],[526,8,7,\"Confirmed\",\"2016-11-26 05:04:31\",\"2018-02-25 15:15:37\"],[575,6,3,\"Provisional\",\"2017-05-13 18:17:20\",\"2017-10-06 11:15:58\"],[577,12,2,\"Provisional\",\"2017-03-04 02:23:49\",\"2018-02-06 16:57:05\"],[623,4,5,\"Provisional\",\"2016-06-07 05:05:18\",\"2017-11-13 13:59:45\"],[807,11,2,\"Provisional\",\"2016-04-17 12:53:59\",\"2018-03-20 17:32:58\"],[889,10,4,\"Confirmed\",\"2016-09-28 05:00:50\",\"2017-09-30 18:41:04\"],[920,2,2,\"Confirmed\",\"2017-04-07 04:53:27\",\"2017-11-29 12:59:42\"],[924,8,3,\"Confirmed\",\"2017-07-03 14:15:56\",\"2017-11-12 01:05:09\"]]}"
] | {"columns":["avg(room_count)"],"index":[0],"data":[[6.5]]} | SELECT avg(room_count) FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id WHERE T1.booking_status_code = "Provisional" <table_name> : Apartments col : apt_id | building_id | apt_type_code | apt_number | bathroom_count | bedroom_count | room_count row 1 : 1 | 808 | Flat | Suite 645 | 1 | 3 | 7 row 2 : 2 | 624 | Flat | Apt. 585 | 2 | 4 | 5 row 3 : 3 | 225 | Studio | Apt. 908 | 1 | 6 | 7 row 4 : 4 | 225 | Duplex | Suite 749 | 1 | 5 | 8 row 5 : 5 | 744 | Flat | Suite 307 | 2 | 4 | 9 row 6 : 6 | 191 | Studio | Apt. 187 | 3 | 5 | 9 row 7 : 7 | 790 | Studio | Suite 088 | 2 | 4 | 6 row 8 : 8 | 153 | Flat | Suite 693 | 2 | 3 | 9 row 9 : 9 | 624 | Studio | Apt. 940 | 1 | 4 | 8 row 10 : 10 | 225 | Duplex | Apt. 859 | 2 | 3 | 6 row 11 : 11 | 734 | Flat | Apt. 794 | 1 | 5 | 3 row 12 : 12 | 673 | Duplex | Apt. 477 | 2 | 6 | 3 row 13 : 13 | 744 | Duplex | Apt. 411 | 2 | 5 | 9 row 14 : 14 | 225 | Flat | Apt. 837 | 2 | 4 | 8 row 15 : 15 | 790 | Duplex | Suite 634 | 3 | 6 | 8 <table_name> : Apartment_Bookings col : apt_booking_id | apt_id | guest_id | booking_status_code | booking_start_date | booking_end_date row 1 : 258 | 10 | 2 | Provisional | 2016-09-26 17:13:49 | 2017-10-07 11:38:48 row 2 : 279 | 15 | 15 | Provisional | 2016-04-01 06:28:08 | 2017-10-25 11:08:42 row 3 : 337 | 8 | 5 | Provisional | 2017-03-13 16:20:14 | 2018-02-19 16:59:08 row 4 : 343 | 4 | 13 | Confirmed | 2016-08-04 10:33:00 | 2017-09-29 12:43:50 row 5 : 365 | 9 | 12 | Confirmed | 2017-02-11 14:34:14 | 2017-10-07 20:47:19 row 6 : 401 | 7 | 14 | Provisional | 2016-05-24 20:09:38 | 2017-10-03 01:56:21 row 7 : 497 | 10 | 8 | Confirmed | 2016-07-25 02:57:04 | 2017-09-28 11:08:15 row 8 : 526 | 8 | 7 | Confirmed | 2016-11-26 05:04:31 | 2018-02-25 15:15:37 row 9 : 575 | 6 | 3 | Provisional | 2017-05-13 18:17:20 | 2017-10-06 11:15:58 row 10 : 577 | 12 | 2 | Provisional | 2017-03-04 02:23:49 | 2018-02-06 16:57:05 row 11 : 623 | 4 | 5 | Provisional | 2016-06-07 05:05:18 | 2017-11-13 13:59:45 row 12 : 807 | 11 | 2 | Provisional | 2016-04-17 12:53:59 | 2018-03-20 17:32:58 row 13 : 889 | 10 | 4 | Confirmed | 2016-09-28 05:00:50 | 2017-09-30 18:41:04 row 14 : 920 | 2 | 2 | Confirmed | 2017-04-07 04:53:27 | 2017-11-29 12:59:42 row 15 : 924 | 8 | 3 | Confirmed | 2017-07-03 14:15:56 | 2017-11-12 01:05:09 | col : avg(room_count) row 1 : 6.5 |
SELECT T2.guest_first_name , T1.booking_start_date , T1.booking_start_date FROM Apartment_Bookings AS T1 JOIN Guests AS T2 ON T1.guest_id = T2.guest_id | [
"Guests",
"Apartment_Bookings"
] | [
"{\"columns\":[\"guest_id\",\"gender_code\",\"guest_first_name\",\"guest_last_name\",\"date_of_birth\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],\"data\":[[1,\"Male\",\"Kip\",\"DuBuque\",\"1995-11-04 07:09:57\"],[2,\"Unknown\",\"Rebeca\",\"Runolfsdottir\",\"1974-05-12 21:53:58\"],[3,\"Female\",\"Keon\",\"Treutel\",\"1974-08-20 09:28:05\"],[4,\"Female\",\"Gabe\",\"Bode\",\"2007-09-11 19:01:39\"],[5,\"Female\",\"Lou\",\"Grady\",\"1997-01-15 17:37:40\"],[6,\"Unknown\",\"Josefina\",\"Jerde\",\"1978-03-08 04:43:04\"],[7,\"Female\",\"Mozell\",\"Toy\",\"1997-01-20 17:11:31\"],[8,\"Unknown\",\"Keith\",\"Hoeger\",\"2001-06-18 20:05:55\"],[9,\"Female\",\"Crystal\",\"Runolfsson\",\"1971-01-04 04:22:58\"],[10,\"Female\",\"Nikki\",\"Lehner\",\"1980-06-20 18:15:39\"],[11,\"Male\",\"Gregoria\",\"Schowalter\",\"2015-02-03 23:34:13\"],[12,\"Male\",\"Louvenia\",\"Crona\",\"1983-08-26 15:45:08\"],[13,\"Female\",\"Else\",\"Roberts\",\"1971-11-02 01:51:56\"],[14,\"Female\",\"Juvenal\",\"Kautzer\",\"2003-07-29 22:08:15\"],[15,\"Female\",\"Tamia\",\"Mante\",\"2013-02-22 11:26:22\"]]}",
"{\"columns\":[\"apt_booking_id\",\"apt_id\",\"guest_id\",\"booking_status_code\",\"booking_start_date\",\"booking_end_date\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],\"data\":[[258,10,2,\"Provisional\",\"2016-09-26 17:13:49\",\"2017-10-07 11:38:48\"],[279,15,15,\"Provisional\",\"2016-04-01 06:28:08\",\"2017-10-25 11:08:42\"],[337,8,5,\"Provisional\",\"2017-03-13 16:20:14\",\"2018-02-19 16:59:08\"],[343,4,13,\"Confirmed\",\"2016-08-04 10:33:00\",\"2017-09-29 12:43:50\"],[365,9,12,\"Confirmed\",\"2017-02-11 14:34:14\",\"2017-10-07 20:47:19\"],[401,7,14,\"Provisional\",\"2016-05-24 20:09:38\",\"2017-10-03 01:56:21\"],[497,10,8,\"Confirmed\",\"2016-07-25 02:57:04\",\"2017-09-28 11:08:15\"],[526,8,7,\"Confirmed\",\"2016-11-26 05:04:31\",\"2018-02-25 15:15:37\"],[575,6,3,\"Provisional\",\"2017-05-13 18:17:20\",\"2017-10-06 11:15:58\"],[577,12,2,\"Provisional\",\"2017-03-04 02:23:49\",\"2018-02-06 16:57:05\"],[623,4,5,\"Provisional\",\"2016-06-07 05:05:18\",\"2017-11-13 13:59:45\"],[807,11,2,\"Provisional\",\"2016-04-17 12:53:59\",\"2018-03-20 17:32:58\"],[889,10,4,\"Confirmed\",\"2016-09-28 05:00:50\",\"2017-09-30 18:41:04\"],[920,2,2,\"Confirmed\",\"2017-04-07 04:53:27\",\"2017-11-29 12:59:42\"],[924,8,3,\"Confirmed\",\"2017-07-03 14:15:56\",\"2017-11-12 01:05:09\"]]}"
] | {"columns":["guest_first_name","booking_start_date","booking_start_date"],"index":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],"data":[["Rebeca","2016-09-26 17:13:49","2016-09-26 17:13:49"],["Tamia","2016-04-01 06:28:08","2016-04-01 06:28:08"],["Lou","2017-03-13 16:20:14","2017-03-13 16:20:14"],["Else","2016-08-04 10:33:00","2016-08-04 10:33:00"],["Louvenia","2017-02-11 14:34:14","2017-02-11 14:34:14"],["Juvenal","2016-05-24 20:09:38","2016-05-24 20:09:38"],["Keith","2016-07-25 02:57:04","2016-07-25 02:57:04"],["Mozell","2016-11-26 05:04:31","2016-11-26 05:04:31"],["Keon","2017-05-13 18:17:20","2017-05-13 18:17:20"],["Rebeca","2017-03-04 02:23:49","2017-03-04 02:23:49"],["Lou","2016-06-07 05:05:18","2016-06-07 05:05:18"],["Rebeca","2016-04-17 12:53:59","2016-04-17 12:53:59"],["Gabe","2016-09-28 05:00:50","2016-09-28 05:00:50"],["Rebeca","2017-04-07 04:53:27","2017-04-07 04:53:27"],["Keon","2017-07-03 14:15:56","2017-07-03 14:15:56"]]} | SELECT T2.guest_first_name , T1.booking_start_date , T1.booking_start_date FROM Apartment_Bookings AS T1 JOIN Guests AS T2 ON T1.guest_id = T2.guest_id <table_name> : Guests col : guest_id | gender_code | guest_first_name | guest_last_name | date_of_birth row 1 : 1 | Male | Kip | DuBuque | 1995-11-04 07:09:57 row 2 : 2 | Unknown | Rebeca | Runolfsdottir | 1974-05-12 21:53:58 row 3 : 3 | Female | Keon | Treutel | 1974-08-20 09:28:05 row 4 : 4 | Female | Gabe | Bode | 2007-09-11 19:01:39 row 5 : 5 | Female | Lou | Grady | 1997-01-15 17:37:40 row 6 : 6 | Unknown | Josefina | Jerde | 1978-03-08 04:43:04 row 7 : 7 | Female | Mozell | Toy | 1997-01-20 17:11:31 row 8 : 8 | Unknown | Keith | Hoeger | 2001-06-18 20:05:55 row 9 : 9 | Female | Crystal | Runolfsson | 1971-01-04 04:22:58 row 10 : 10 | Female | Nikki | Lehner | 1980-06-20 18:15:39 row 11 : 11 | Male | Gregoria | Schowalter | 2015-02-03 23:34:13 row 12 : 12 | Male | Louvenia | Crona | 1983-08-26 15:45:08 row 13 : 13 | Female | Else | Roberts | 1971-11-02 01:51:56 row 14 : 14 | Female | Juvenal | Kautzer | 2003-07-29 22:08:15 row 15 : 15 | Female | Tamia | Mante | 2013-02-22 11:26:22 <table_name> : Apartment_Bookings col : apt_booking_id | apt_id | guest_id | booking_status_code | booking_start_date | booking_end_date row 1 : 258 | 10 | 2 | Provisional | 2016-09-26 17:13:49 | 2017-10-07 11:38:48 row 2 : 279 | 15 | 15 | Provisional | 2016-04-01 06:28:08 | 2017-10-25 11:08:42 row 3 : 337 | 8 | 5 | Provisional | 2017-03-13 16:20:14 | 2018-02-19 16:59:08 row 4 : 343 | 4 | 13 | Confirmed | 2016-08-04 10:33:00 | 2017-09-29 12:43:50 row 5 : 365 | 9 | 12 | Confirmed | 2017-02-11 14:34:14 | 2017-10-07 20:47:19 row 6 : 401 | 7 | 14 | Provisional | 2016-05-24 20:09:38 | 2017-10-03 01:56:21 row 7 : 497 | 10 | 8 | Confirmed | 2016-07-25 02:57:04 | 2017-09-28 11:08:15 row 8 : 526 | 8 | 7 | Confirmed | 2016-11-26 05:04:31 | 2018-02-25 15:15:37 row 9 : 575 | 6 | 3 | Provisional | 2017-05-13 18:17:20 | 2017-10-06 11:15:58 row 10 : 577 | 12 | 2 | Provisional | 2017-03-04 02:23:49 | 2018-02-06 16:57:05 row 11 : 623 | 4 | 5 | Provisional | 2016-06-07 05:05:18 | 2017-11-13 13:59:45 row 12 : 807 | 11 | 2 | Provisional | 2016-04-17 12:53:59 | 2018-03-20 17:32:58 row 13 : 889 | 10 | 4 | Confirmed | 2016-09-28 05:00:50 | 2017-09-30 18:41:04 row 14 : 920 | 2 | 2 | Confirmed | 2017-04-07 04:53:27 | 2017-11-29 12:59:42 row 15 : 924 | 8 | 3 | Confirmed | 2017-07-03 14:15:56 | 2017-11-12 01:05:09 | col : guest_first_name | booking_start_date -1 | booking_start_date -2 row 1 : Rebeca | 2016-09-26 17:13:49 | 2016-09-26 17:13:49 row 2 : Tamia | 2016-04-01 06:28:08 | 2016-04-01 06:28:08 row 3 : Lou | 2017-03-13 16:20:14 | 2017-03-13 16:20:14 row 4 : Else | 2016-08-04 10:33:00 | 2016-08-04 10:33:00 row 5 : Louvenia | 2017-02-11 14:34:14 | 2017-02-11 14:34:14 row 6 : Juvenal | 2016-05-24 20:09:38 | 2016-05-24 20:09:38 row 7 : Keith | 2016-07-25 02:57:04 | 2016-07-25 02:57:04 row 8 : Mozell | 2016-11-26 05:04:31 | 2016-11-26 05:04:31 row 9 : Keon | 2017-05-13 18:17:20 | 2017-05-13 18:17:20 row 10 : Rebeca | 2017-03-04 02:23:49 | 2017-03-04 02:23:49 row 11 : Lou | 2016-06-07 05:05:18 | 2016-06-07 05:05:18 row 12 : Rebeca | 2016-04-17 12:53:59 | 2016-04-17 12:53:59 row 13 : Gabe | 2016-09-28 05:00:50 | 2016-09-28 05:00:50 row 14 : Rebeca | 2017-04-07 04:53:27 | 2017-04-07 04:53:27 row 15 : Keon | 2017-07-03 14:15:56 | 2017-07-03 14:15:56 |
SELECT T1.booking_start_date , T1.booking_start_date FROM Apartment_Bookings AS T1 JOIN Guests AS T2 ON T1.guest_id = T2.guest_id WHERE T2.gender_code = "Female" | [
"Guests",
"Apartment_Bookings"
] | [
"{\"columns\":[\"guest_id\",\"gender_code\",\"guest_first_name\",\"guest_last_name\",\"date_of_birth\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],\"data\":[[1,\"Male\",\"Kip\",\"DuBuque\",\"1995-11-04 07:09:57\"],[2,\"Unknown\",\"Rebeca\",\"Runolfsdottir\",\"1974-05-12 21:53:58\"],[3,\"Female\",\"Keon\",\"Treutel\",\"1974-08-20 09:28:05\"],[4,\"Female\",\"Gabe\",\"Bode\",\"2007-09-11 19:01:39\"],[5,\"Female\",\"Lou\",\"Grady\",\"1997-01-15 17:37:40\"],[6,\"Unknown\",\"Josefina\",\"Jerde\",\"1978-03-08 04:43:04\"],[7,\"Female\",\"Mozell\",\"Toy\",\"1997-01-20 17:11:31\"],[8,\"Unknown\",\"Keith\",\"Hoeger\",\"2001-06-18 20:05:55\"],[9,\"Female\",\"Crystal\",\"Runolfsson\",\"1971-01-04 04:22:58\"],[10,\"Female\",\"Nikki\",\"Lehner\",\"1980-06-20 18:15:39\"],[11,\"Male\",\"Gregoria\",\"Schowalter\",\"2015-02-03 23:34:13\"],[12,\"Male\",\"Louvenia\",\"Crona\",\"1983-08-26 15:45:08\"],[13,\"Female\",\"Else\",\"Roberts\",\"1971-11-02 01:51:56\"],[14,\"Female\",\"Juvenal\",\"Kautzer\",\"2003-07-29 22:08:15\"],[15,\"Female\",\"Tamia\",\"Mante\",\"2013-02-22 11:26:22\"]]}",
"{\"columns\":[\"apt_booking_id\",\"apt_id\",\"guest_id\",\"booking_status_code\",\"booking_start_date\",\"booking_end_date\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],\"data\":[[258,10,2,\"Provisional\",\"2016-09-26 17:13:49\",\"2017-10-07 11:38:48\"],[279,15,15,\"Provisional\",\"2016-04-01 06:28:08\",\"2017-10-25 11:08:42\"],[337,8,5,\"Provisional\",\"2017-03-13 16:20:14\",\"2018-02-19 16:59:08\"],[343,4,13,\"Confirmed\",\"2016-08-04 10:33:00\",\"2017-09-29 12:43:50\"],[365,9,12,\"Confirmed\",\"2017-02-11 14:34:14\",\"2017-10-07 20:47:19\"],[401,7,14,\"Provisional\",\"2016-05-24 20:09:38\",\"2017-10-03 01:56:21\"],[497,10,8,\"Confirmed\",\"2016-07-25 02:57:04\",\"2017-09-28 11:08:15\"],[526,8,7,\"Confirmed\",\"2016-11-26 05:04:31\",\"2018-02-25 15:15:37\"],[575,6,3,\"Provisional\",\"2017-05-13 18:17:20\",\"2017-10-06 11:15:58\"],[577,12,2,\"Provisional\",\"2017-03-04 02:23:49\",\"2018-02-06 16:57:05\"],[623,4,5,\"Provisional\",\"2016-06-07 05:05:18\",\"2017-11-13 13:59:45\"],[807,11,2,\"Provisional\",\"2016-04-17 12:53:59\",\"2018-03-20 17:32:58\"],[889,10,4,\"Confirmed\",\"2016-09-28 05:00:50\",\"2017-09-30 18:41:04\"],[920,2,2,\"Confirmed\",\"2017-04-07 04:53:27\",\"2017-11-29 12:59:42\"],[924,8,3,\"Confirmed\",\"2017-07-03 14:15:56\",\"2017-11-12 01:05:09\"]]}"
] | {"columns":["booking_start_date","booking_start_date"],"index":[0,1,2,3,4,5,6,7,8],"data":[["2016-04-01 06:28:08","2016-04-01 06:28:08"],["2017-03-13 16:20:14","2017-03-13 16:20:14"],["2016-08-04 10:33:00","2016-08-04 10:33:00"],["2016-05-24 20:09:38","2016-05-24 20:09:38"],["2016-11-26 05:04:31","2016-11-26 05:04:31"],["2017-05-13 18:17:20","2017-05-13 18:17:20"],["2016-06-07 05:05:18","2016-06-07 05:05:18"],["2016-09-28 05:00:50","2016-09-28 05:00:50"],["2017-07-03 14:15:56","2017-07-03 14:15:56"]]} | SELECT T1.booking_start_date , T1.booking_start_date FROM Apartment_Bookings AS T1 JOIN Guests AS T2 ON T1.guest_id = T2.guest_id WHERE T2.gender_code = "Female" <table_name> : Guests col : guest_id | gender_code | guest_first_name | guest_last_name | date_of_birth row 1 : 1 | Male | Kip | DuBuque | 1995-11-04 07:09:57 row 2 : 2 | Unknown | Rebeca | Runolfsdottir | 1974-05-12 21:53:58 row 3 : 3 | Female | Keon | Treutel | 1974-08-20 09:28:05 row 4 : 4 | Female | Gabe | Bode | 2007-09-11 19:01:39 row 5 : 5 | Female | Lou | Grady | 1997-01-15 17:37:40 row 6 : 6 | Unknown | Josefina | Jerde | 1978-03-08 04:43:04 row 7 : 7 | Female | Mozell | Toy | 1997-01-20 17:11:31 row 8 : 8 | Unknown | Keith | Hoeger | 2001-06-18 20:05:55 row 9 : 9 | Female | Crystal | Runolfsson | 1971-01-04 04:22:58 row 10 : 10 | Female | Nikki | Lehner | 1980-06-20 18:15:39 row 11 : 11 | Male | Gregoria | Schowalter | 2015-02-03 23:34:13 row 12 : 12 | Male | Louvenia | Crona | 1983-08-26 15:45:08 row 13 : 13 | Female | Else | Roberts | 1971-11-02 01:51:56 row 14 : 14 | Female | Juvenal | Kautzer | 2003-07-29 22:08:15 row 15 : 15 | Female | Tamia | Mante | 2013-02-22 11:26:22 <table_name> : Apartment_Bookings col : apt_booking_id | apt_id | guest_id | booking_status_code | booking_start_date | booking_end_date row 1 : 258 | 10 | 2 | Provisional | 2016-09-26 17:13:49 | 2017-10-07 11:38:48 row 2 : 279 | 15 | 15 | Provisional | 2016-04-01 06:28:08 | 2017-10-25 11:08:42 row 3 : 337 | 8 | 5 | Provisional | 2017-03-13 16:20:14 | 2018-02-19 16:59:08 row 4 : 343 | 4 | 13 | Confirmed | 2016-08-04 10:33:00 | 2017-09-29 12:43:50 row 5 : 365 | 9 | 12 | Confirmed | 2017-02-11 14:34:14 | 2017-10-07 20:47:19 row 6 : 401 | 7 | 14 | Provisional | 2016-05-24 20:09:38 | 2017-10-03 01:56:21 row 7 : 497 | 10 | 8 | Confirmed | 2016-07-25 02:57:04 | 2017-09-28 11:08:15 row 8 : 526 | 8 | 7 | Confirmed | 2016-11-26 05:04:31 | 2018-02-25 15:15:37 row 9 : 575 | 6 | 3 | Provisional | 2017-05-13 18:17:20 | 2017-10-06 11:15:58 row 10 : 577 | 12 | 2 | Provisional | 2017-03-04 02:23:49 | 2018-02-06 16:57:05 row 11 : 623 | 4 | 5 | Provisional | 2016-06-07 05:05:18 | 2017-11-13 13:59:45 row 12 : 807 | 11 | 2 | Provisional | 2016-04-17 12:53:59 | 2018-03-20 17:32:58 row 13 : 889 | 10 | 4 | Confirmed | 2016-09-28 05:00:50 | 2017-09-30 18:41:04 row 14 : 920 | 2 | 2 | Confirmed | 2017-04-07 04:53:27 | 2017-11-29 12:59:42 row 15 : 924 | 8 | 3 | Confirmed | 2017-07-03 14:15:56 | 2017-11-12 01:05:09 | col : booking_start_date -1 | booking_start_date -2 row 1 : 2016-04-01 06:28:08 | 2016-04-01 06:28:08 row 2 : 2017-03-13 16:20:14 | 2017-03-13 16:20:14 row 3 : 2016-08-04 10:33:00 | 2016-08-04 10:33:00 row 4 : 2016-05-24 20:09:38 | 2016-05-24 20:09:38 row 5 : 2016-11-26 05:04:31 | 2016-11-26 05:04:31 row 6 : 2017-05-13 18:17:20 | 2017-05-13 18:17:20 row 7 : 2016-06-07 05:05:18 | 2016-06-07 05:05:18 row 8 : 2016-09-28 05:00:50 | 2016-09-28 05:00:50 row 9 : 2017-07-03 14:15:56 | 2017-07-03 14:15:56 |
SELECT T2.guest_first_name , T2.guest_last_name FROM Apartment_Bookings AS T1 JOIN Guests AS T2 ON T1.guest_id = T2.guest_id WHERE T1.booking_status_code = "Confirmed" | [
"Guests",
"Apartment_Bookings"
] | [
"{\"columns\":[\"guest_id\",\"gender_code\",\"guest_first_name\",\"guest_last_name\",\"date_of_birth\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],\"data\":[[1,\"Male\",\"Kip\",\"DuBuque\",\"1995-11-04 07:09:57\"],[2,\"Unknown\",\"Rebeca\",\"Runolfsdottir\",\"1974-05-12 21:53:58\"],[3,\"Female\",\"Keon\",\"Treutel\",\"1974-08-20 09:28:05\"],[4,\"Female\",\"Gabe\",\"Bode\",\"2007-09-11 19:01:39\"],[5,\"Female\",\"Lou\",\"Grady\",\"1997-01-15 17:37:40\"],[6,\"Unknown\",\"Josefina\",\"Jerde\",\"1978-03-08 04:43:04\"],[7,\"Female\",\"Mozell\",\"Toy\",\"1997-01-20 17:11:31\"],[8,\"Unknown\",\"Keith\",\"Hoeger\",\"2001-06-18 20:05:55\"],[9,\"Female\",\"Crystal\",\"Runolfsson\",\"1971-01-04 04:22:58\"],[10,\"Female\",\"Nikki\",\"Lehner\",\"1980-06-20 18:15:39\"],[11,\"Male\",\"Gregoria\",\"Schowalter\",\"2015-02-03 23:34:13\"],[12,\"Male\",\"Louvenia\",\"Crona\",\"1983-08-26 15:45:08\"],[13,\"Female\",\"Else\",\"Roberts\",\"1971-11-02 01:51:56\"],[14,\"Female\",\"Juvenal\",\"Kautzer\",\"2003-07-29 22:08:15\"],[15,\"Female\",\"Tamia\",\"Mante\",\"2013-02-22 11:26:22\"]]}",
"{\"columns\":[\"apt_booking_id\",\"apt_id\",\"guest_id\",\"booking_status_code\",\"booking_start_date\",\"booking_end_date\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],\"data\":[[258,10,2,\"Provisional\",\"2016-09-26 17:13:49\",\"2017-10-07 11:38:48\"],[279,15,15,\"Provisional\",\"2016-04-01 06:28:08\",\"2017-10-25 11:08:42\"],[337,8,5,\"Provisional\",\"2017-03-13 16:20:14\",\"2018-02-19 16:59:08\"],[343,4,13,\"Confirmed\",\"2016-08-04 10:33:00\",\"2017-09-29 12:43:50\"],[365,9,12,\"Confirmed\",\"2017-02-11 14:34:14\",\"2017-10-07 20:47:19\"],[401,7,14,\"Provisional\",\"2016-05-24 20:09:38\",\"2017-10-03 01:56:21\"],[497,10,8,\"Confirmed\",\"2016-07-25 02:57:04\",\"2017-09-28 11:08:15\"],[526,8,7,\"Confirmed\",\"2016-11-26 05:04:31\",\"2018-02-25 15:15:37\"],[575,6,3,\"Provisional\",\"2017-05-13 18:17:20\",\"2017-10-06 11:15:58\"],[577,12,2,\"Provisional\",\"2017-03-04 02:23:49\",\"2018-02-06 16:57:05\"],[623,4,5,\"Provisional\",\"2016-06-07 05:05:18\",\"2017-11-13 13:59:45\"],[807,11,2,\"Provisional\",\"2016-04-17 12:53:59\",\"2018-03-20 17:32:58\"],[889,10,4,\"Confirmed\",\"2016-09-28 05:00:50\",\"2017-09-30 18:41:04\"],[920,2,2,\"Confirmed\",\"2017-04-07 04:53:27\",\"2017-11-29 12:59:42\"],[924,8,3,\"Confirmed\",\"2017-07-03 14:15:56\",\"2017-11-12 01:05:09\"]]}"
] | {"columns":["guest_first_name","guest_last_name"],"index":[0,1,2,3,4,5,6],"data":[["Else","Roberts"],["Louvenia","Crona"],["Keith","Hoeger"],["Mozell","Toy"],["Gabe","Bode"],["Rebeca","Runolfsdottir"],["Keon","Treutel"]]} | SELECT T2.guest_first_name , T2.guest_last_name FROM Apartment_Bookings AS T1 JOIN Guests AS T2 ON T1.guest_id = T2.guest_id WHERE T1.booking_status_code = "Confirmed" <table_name> : Guests col : guest_id | gender_code | guest_first_name | guest_last_name | date_of_birth row 1 : 1 | Male | Kip | DuBuque | 1995-11-04 07:09:57 row 2 : 2 | Unknown | Rebeca | Runolfsdottir | 1974-05-12 21:53:58 row 3 : 3 | Female | Keon | Treutel | 1974-08-20 09:28:05 row 4 : 4 | Female | Gabe | Bode | 2007-09-11 19:01:39 row 5 : 5 | Female | Lou | Grady | 1997-01-15 17:37:40 row 6 : 6 | Unknown | Josefina | Jerde | 1978-03-08 04:43:04 row 7 : 7 | Female | Mozell | Toy | 1997-01-20 17:11:31 row 8 : 8 | Unknown | Keith | Hoeger | 2001-06-18 20:05:55 row 9 : 9 | Female | Crystal | Runolfsson | 1971-01-04 04:22:58 row 10 : 10 | Female | Nikki | Lehner | 1980-06-20 18:15:39 row 11 : 11 | Male | Gregoria | Schowalter | 2015-02-03 23:34:13 row 12 : 12 | Male | Louvenia | Crona | 1983-08-26 15:45:08 row 13 : 13 | Female | Else | Roberts | 1971-11-02 01:51:56 row 14 : 14 | Female | Juvenal | Kautzer | 2003-07-29 22:08:15 row 15 : 15 | Female | Tamia | Mante | 2013-02-22 11:26:22 <table_name> : Apartment_Bookings col : apt_booking_id | apt_id | guest_id | booking_status_code | booking_start_date | booking_end_date row 1 : 258 | 10 | 2 | Provisional | 2016-09-26 17:13:49 | 2017-10-07 11:38:48 row 2 : 279 | 15 | 15 | Provisional | 2016-04-01 06:28:08 | 2017-10-25 11:08:42 row 3 : 337 | 8 | 5 | Provisional | 2017-03-13 16:20:14 | 2018-02-19 16:59:08 row 4 : 343 | 4 | 13 | Confirmed | 2016-08-04 10:33:00 | 2017-09-29 12:43:50 row 5 : 365 | 9 | 12 | Confirmed | 2017-02-11 14:34:14 | 2017-10-07 20:47:19 row 6 : 401 | 7 | 14 | Provisional | 2016-05-24 20:09:38 | 2017-10-03 01:56:21 row 7 : 497 | 10 | 8 | Confirmed | 2016-07-25 02:57:04 | 2017-09-28 11:08:15 row 8 : 526 | 8 | 7 | Confirmed | 2016-11-26 05:04:31 | 2018-02-25 15:15:37 row 9 : 575 | 6 | 3 | Provisional | 2017-05-13 18:17:20 | 2017-10-06 11:15:58 row 10 : 577 | 12 | 2 | Provisional | 2017-03-04 02:23:49 | 2018-02-06 16:57:05 row 11 : 623 | 4 | 5 | Provisional | 2016-06-07 05:05:18 | 2017-11-13 13:59:45 row 12 : 807 | 11 | 2 | Provisional | 2016-04-17 12:53:59 | 2018-03-20 17:32:58 row 13 : 889 | 10 | 4 | Confirmed | 2016-09-28 05:00:50 | 2017-09-30 18:41:04 row 14 : 920 | 2 | 2 | Confirmed | 2017-04-07 04:53:27 | 2017-11-29 12:59:42 row 15 : 924 | 8 | 3 | Confirmed | 2017-07-03 14:15:56 | 2017-11-12 01:05:09 | col : guest_first_name | guest_last_name row 1 : Else | Roberts row 2 : Louvenia | Crona row 3 : Keith | Hoeger row 4 : Mozell | Toy row 5 : Gabe | Bode row 6 : Rebeca | Runolfsdottir row 7 : Keon | Treutel |
SELECT T1.facility_code FROM Apartment_Facilities AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id WHERE T2.bedroom_count > 4 | [
"Apartments",
"Apartment_Facilities"
] | [
"{\"columns\":[\"apt_id\",\"building_id\",\"apt_type_code\",\"apt_number\",\"bathroom_count\",\"bedroom_count\",\"room_count\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],\"data\":[[1,808,\"Flat\",\"Suite 645\",1,3,\"7\"],[2,624,\"Flat\",\"Apt. 585\",2,4,\"5\"],[3,225,\"Studio\",\"Apt. 908\",1,6,\"7\"],[4,225,\"Duplex\",\"Suite 749\",1,5,\"8\"],[5,744,\"Flat\",\"Suite 307\",2,4,\"9\"],[6,191,\"Studio\",\"Apt. 187\",3,5,\"9\"],[7,790,\"Studio\",\"Suite 088\",2,4,\"6\"],[8,153,\"Flat\",\"Suite 693\",2,3,\"9\"],[9,624,\"Studio\",\"Apt. 940\",1,4,\"8\"],[10,225,\"Duplex\",\"Apt. 859\",2,3,\"6\"],[11,734,\"Flat\",\"Apt. 794\",1,5,\"3\"],[12,673,\"Duplex\",\"Apt. 477\",2,6,\"3\"],[13,744,\"Duplex\",\"Apt. 411\",2,5,\"9\"],[14,225,\"Flat\",\"Apt. 837\",2,4,\"8\"],[15,790,\"Duplex\",\"Suite 634\",3,6,\"8\"]]}",
"{\"columns\":[\"apt_id\",\"facility_code\"],\"index\":[0,1,2,3,4,5,6],\"data\":[[1,\"Boardband\"],[2,\"Boardband\"],[3,\"Gym\"],[5,\"Swimming Pool\"],[6,\"Cable TV\"],[9,\"Boardband\"],[15,\"Gym\"]]}"
] | {"columns":["facility_code"],"index":[0,1,2],"data":[["Gym"],["Cable TV"],["Gym"]]} | SELECT T1.facility_code FROM Apartment_Facilities AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id WHERE T2.bedroom_count > 4 <table_name> : Apartments col : apt_id | building_id | apt_type_code | apt_number | bathroom_count | bedroom_count | room_count row 1 : 1 | 808 | Flat | Suite 645 | 1 | 3 | 7 row 2 : 2 | 624 | Flat | Apt. 585 | 2 | 4 | 5 row 3 : 3 | 225 | Studio | Apt. 908 | 1 | 6 | 7 row 4 : 4 | 225 | Duplex | Suite 749 | 1 | 5 | 8 row 5 : 5 | 744 | Flat | Suite 307 | 2 | 4 | 9 row 6 : 6 | 191 | Studio | Apt. 187 | 3 | 5 | 9 row 7 : 7 | 790 | Studio | Suite 088 | 2 | 4 | 6 row 8 : 8 | 153 | Flat | Suite 693 | 2 | 3 | 9 row 9 : 9 | 624 | Studio | Apt. 940 | 1 | 4 | 8 row 10 : 10 | 225 | Duplex | Apt. 859 | 2 | 3 | 6 row 11 : 11 | 734 | Flat | Apt. 794 | 1 | 5 | 3 row 12 : 12 | 673 | Duplex | Apt. 477 | 2 | 6 | 3 row 13 : 13 | 744 | Duplex | Apt. 411 | 2 | 5 | 9 row 14 : 14 | 225 | Flat | Apt. 837 | 2 | 4 | 8 row 15 : 15 | 790 | Duplex | Suite 634 | 3 | 6 | 8 <table_name> : Apartment_Facilities col : apt_id | facility_code row 1 : 1 | Boardband row 2 : 2 | Boardband row 3 : 3 | Gym row 4 : 5 | Swimming Pool row 5 : 6 | Cable TV row 6 : 9 | Boardband row 7 : 15 | Gym | col : facility_code row 1 : Gym row 2 : Cable TV row 3 : Gym |
SELECT sum(T2.room_count) FROM Apartment_Facilities AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id WHERE T1.facility_code = "Gym" | [
"Apartments",
"Apartment_Facilities"
] | [
"{\"columns\":[\"apt_id\",\"building_id\",\"apt_type_code\",\"apt_number\",\"bathroom_count\",\"bedroom_count\",\"room_count\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],\"data\":[[1,808,\"Flat\",\"Suite 645\",1,3,\"7\"],[2,624,\"Flat\",\"Apt. 585\",2,4,\"5\"],[3,225,\"Studio\",\"Apt. 908\",1,6,\"7\"],[4,225,\"Duplex\",\"Suite 749\",1,5,\"8\"],[5,744,\"Flat\",\"Suite 307\",2,4,\"9\"],[6,191,\"Studio\",\"Apt. 187\",3,5,\"9\"],[7,790,\"Studio\",\"Suite 088\",2,4,\"6\"],[8,153,\"Flat\",\"Suite 693\",2,3,\"9\"],[9,624,\"Studio\",\"Apt. 940\",1,4,\"8\"],[10,225,\"Duplex\",\"Apt. 859\",2,3,\"6\"],[11,734,\"Flat\",\"Apt. 794\",1,5,\"3\"],[12,673,\"Duplex\",\"Apt. 477\",2,6,\"3\"],[13,744,\"Duplex\",\"Apt. 411\",2,5,\"9\"],[14,225,\"Flat\",\"Apt. 837\",2,4,\"8\"],[15,790,\"Duplex\",\"Suite 634\",3,6,\"8\"]]}",
"{\"columns\":[\"apt_id\",\"facility_code\"],\"index\":[0,1,2,3,4,5,6],\"data\":[[1,\"Boardband\"],[2,\"Boardband\"],[3,\"Gym\"],[5,\"Swimming Pool\"],[6,\"Cable TV\"],[9,\"Boardband\"],[15,\"Gym\"]]}"
] | {"columns":["sum(T2.room_count)"],"index":[0],"data":[[15]]} | SELECT sum(T2.room_count) FROM Apartment_Facilities AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id WHERE T1.facility_code = "Gym" <table_name> : Apartments col : apt_id | building_id | apt_type_code | apt_number | bathroom_count | bedroom_count | room_count row 1 : 1 | 808 | Flat | Suite 645 | 1 | 3 | 7 row 2 : 2 | 624 | Flat | Apt. 585 | 2 | 4 | 5 row 3 : 3 | 225 | Studio | Apt. 908 | 1 | 6 | 7 row 4 : 4 | 225 | Duplex | Suite 749 | 1 | 5 | 8 row 5 : 5 | 744 | Flat | Suite 307 | 2 | 4 | 9 row 6 : 6 | 191 | Studio | Apt. 187 | 3 | 5 | 9 row 7 : 7 | 790 | Studio | Suite 088 | 2 | 4 | 6 row 8 : 8 | 153 | Flat | Suite 693 | 2 | 3 | 9 row 9 : 9 | 624 | Studio | Apt. 940 | 1 | 4 | 8 row 10 : 10 | 225 | Duplex | Apt. 859 | 2 | 3 | 6 row 11 : 11 | 734 | Flat | Apt. 794 | 1 | 5 | 3 row 12 : 12 | 673 | Duplex | Apt. 477 | 2 | 6 | 3 row 13 : 13 | 744 | Duplex | Apt. 411 | 2 | 5 | 9 row 14 : 14 | 225 | Flat | Apt. 837 | 2 | 4 | 8 row 15 : 15 | 790 | Duplex | Suite 634 | 3 | 6 | 8 <table_name> : Apartment_Facilities col : apt_id | facility_code row 1 : 1 | Boardband row 2 : 2 | Boardband row 3 : 3 | Gym row 4 : 5 | Swimming Pool row 5 : 6 | Cable TV row 6 : 9 | Boardband row 7 : 15 | Gym | col : sum(T2.room_count) row 1 : 15 |
SELECT sum(T2.room_count) FROM Apartment_Buildings AS T1 JOIN Apartments AS T2 ON T1.building_id = T2.building_id WHERE T1.building_short_name = "Columbus Square" | [
"Apartment_Buildings",
"Apartments"
] | [
"{\"columns\":[\"building_id\",\"building_short_name\",\"building_full_name\",\"building_description\",\"building_address\",\"building_manager\",\"building_phone\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],\"data\":[[133,\"Normandie Court\",\"Normandie Court\",\"Studio\",\"7950 Casper Vista Apt. 176\\nMarquiseberg, CA 70496\",\"Emma\",\"(948)040-1064x387\"],[153,\"Mercedes House\",\"Mercedes House\",\"Studio\",\"354 Otto Villages\\nCharliefort, VT 71664\",\"Brenden\",\"915-617-2408x832\"],[191,\"The Eugene\",\"The Eugene\",\"Flat\",\"71537 Gorczany Inlet\\nWisozkburgh, AL 08256\",\"Melyssa\",\"(609)946-0491\"],[196,\"VIA 57 WEST\",\"VIA 57 WEST\",\"Studio\",\"959 Ethel Viaduct\\nWest Efrainburgh, DE 40074\",\"Kathlyn\",\"681.772.2454\"],[225,\"Columbus Square\",\"Columbus Square\",\"Studio\",\"0703 Danika Mountains Apt. 362\\nMohrland, AL 56839-5028\",\"Kyle\",\"1-724-982-9507x640\"],[532,\"Avalon Park\",\"Avalon Park\",\"Duplex\",\"6827 Kessler Parkway Suite 908\\nAhmedberg, WI 48788\",\"Albert\",\"376-017-3538\"],[556,\"Peter Cooper Village\",\"Peter Cooper Village\",\"Flat\",\"861 Narciso Glens Suite 392\\nEast Ottis, ND 73970\",\"Darlene\",\"1-224-619-0295x13195\"],[624,\"Stuyvesant Town\",\"Stuyvesant Town\",\"Studio\",\"101 Queenie Mountains Suite 619\\nNew Korbinmouth, KS 88726-1376\",\"Marie\",\"(145)411-6406\"],[644,\"The Anthem\",\"The Anthem\",\"Flat\",\"50804 Mason Isle Suite 844\\nWest Whitney, ID 66511\",\"Ewald\",\"(909)086-5221x3455\"],[673,\"Barclay Tower\",\"Barclay Tower\",\"Flat\",\"1579 Runte Forges Apt. 548\\nLeuschkeland, OK 12009-8683\",\"Rogers\",\"1-326-267-3386x613\"],[734,\"Windsor Court\",\"Windsor Court\",\"Studio\",\"601 Graham Roads\\nPort Luz, VA 29660-6703\",\"Olaf\",\"(480)480-7401\"],[744,\"Silver Towers\",\"Silver Towers\",\"Flat\",\"1844 Armstrong Stravenue Suite 853\\nMyrnatown, CT 13528\",\"Claude\",\"1-667-728-2287x3158\"],[790,\"Biltmore Plaza\",\"Biltmore Plaza\",\"Duplex\",\"489 Josh Orchard Apt. 998\\nSipesview, DE 69053\",\"Sydni\",\"544-148-5565x2847\"],[808,\"Petersfield\",\"Petersfield\",\"Studio\",\"54686 Christopher Circles Apt. 321\\nDaytonland, ID 88081-3991\",\"Juvenal\",\"318-398-8140\"],[968,\"The Clinton\",\"The Clinton\",\"Flat\",\"012 Arnoldo Mountain\\nGerholdland, ID 23342\",\"Holly\",\"1-605-511-1973x25011\"]]}",
"{\"columns\":[\"apt_id\",\"building_id\",\"apt_type_code\",\"apt_number\",\"bathroom_count\",\"bedroom_count\",\"room_count\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],\"data\":[[1,808,\"Flat\",\"Suite 645\",1,3,\"7\"],[2,624,\"Flat\",\"Apt. 585\",2,4,\"5\"],[3,225,\"Studio\",\"Apt. 908\",1,6,\"7\"],[4,225,\"Duplex\",\"Suite 749\",1,5,\"8\"],[5,744,\"Flat\",\"Suite 307\",2,4,\"9\"],[6,191,\"Studio\",\"Apt. 187\",3,5,\"9\"],[7,790,\"Studio\",\"Suite 088\",2,4,\"6\"],[8,153,\"Flat\",\"Suite 693\",2,3,\"9\"],[9,624,\"Studio\",\"Apt. 940\",1,4,\"8\"],[10,225,\"Duplex\",\"Apt. 859\",2,3,\"6\"],[11,734,\"Flat\",\"Apt. 794\",1,5,\"3\"],[12,673,\"Duplex\",\"Apt. 477\",2,6,\"3\"],[13,744,\"Duplex\",\"Apt. 411\",2,5,\"9\"],[14,225,\"Flat\",\"Apt. 837\",2,4,\"8\"],[15,790,\"Duplex\",\"Suite 634\",3,6,\"8\"]]}"
] | {"columns":["sum(T2.room_count)"],"index":[0],"data":[[29]]} | SELECT sum(T2.room_count) FROM Apartment_Buildings AS T1 JOIN Apartments AS T2 ON T1.building_id = T2.building_id WHERE T1.building_short_name = "Columbus Square" <table_name> : Apartment_Buildings col : building_id | building_short_name | building_full_name | building_description | building_address | building_manager | building_phone row 1 : 133 | Normandie Court | Normandie Court | Studio | 7950 Casper Vista Apt. 176
Marquiseberg, CA 70496 | Emma | (948)040-1064x387 row 2 : 153 | Mercedes House | Mercedes House | Studio | 354 Otto Villages
Charliefort, VT 71664 | Brenden | 915-617-2408x832 row 3 : 191 | The Eugene | The Eugene | Flat | 71537 Gorczany Inlet
Wisozkburgh, AL 08256 | Melyssa | (609)946-0491 row 4 : 196 | VIA 57 WEST | VIA 57 WEST | Studio | 959 Ethel Viaduct
West Efrainburgh, DE 40074 | Kathlyn | 681.772.2454 row 5 : 225 | Columbus Square | Columbus Square | Studio | 0703 Danika Mountains Apt. 362
Mohrland, AL 56839-5028 | Kyle | 1-724-982-9507x640 row 6 : 532 | Avalon Park | Avalon Park | Duplex | 6827 Kessler Parkway Suite 908
Ahmedberg, WI 48788 | Albert | 376-017-3538 row 7 : 556 | Peter Cooper Village | Peter Cooper Village | Flat | 861 Narciso Glens Suite 392
East Ottis, ND 73970 | Darlene | 1-224-619-0295x13195 row 8 : 624 | Stuyvesant Town | Stuyvesant Town | Studio | 101 Queenie Mountains Suite 619
New Korbinmouth, KS 88726-1376 | Marie | (145)411-6406 row 9 : 644 | The Anthem | The Anthem | Flat | 50804 Mason Isle Suite 844
West Whitney, ID 66511 | Ewald | (909)086-5221x3455 row 10 : 673 | Barclay Tower | Barclay Tower | Flat | 1579 Runte Forges Apt. 548
Leuschkeland, OK 12009-8683 | Rogers | 1-326-267-3386x613 row 11 : 734 | Windsor Court | Windsor Court | Studio | 601 Graham Roads
Port Luz, VA 29660-6703 | Olaf | (480)480-7401 row 12 : 744 | Silver Towers | Silver Towers | Flat | 1844 Armstrong Stravenue Suite 853
Myrnatown, CT 13528 | Claude | 1-667-728-2287x3158 row 13 : 790 | Biltmore Plaza | Biltmore Plaza | Duplex | 489 Josh Orchard Apt. 998
Sipesview, DE 69053 | Sydni | 544-148-5565x2847 row 14 : 808 | Petersfield | Petersfield | Studio | 54686 Christopher Circles Apt. 321
Daytonland, ID 88081-3991 | Juvenal | 318-398-8140 row 15 : 968 | The Clinton | The Clinton | Flat | 012 Arnoldo Mountain
Gerholdland, ID 23342 | Holly | 1-605-511-1973x25011 <table_name> : Apartments col : apt_id | building_id | apt_type_code | apt_number | bathroom_count | bedroom_count | room_count row 1 : 1 | 808 | Flat | Suite 645 | 1 | 3 | 7 row 2 : 2 | 624 | Flat | Apt. 585 | 2 | 4 | 5 row 3 : 3 | 225 | Studio | Apt. 908 | 1 | 6 | 7 row 4 : 4 | 225 | Duplex | Suite 749 | 1 | 5 | 8 row 5 : 5 | 744 | Flat | Suite 307 | 2 | 4 | 9 row 6 : 6 | 191 | Studio | Apt. 187 | 3 | 5 | 9 row 7 : 7 | 790 | Studio | Suite 088 | 2 | 4 | 6 row 8 : 8 | 153 | Flat | Suite 693 | 2 | 3 | 9 row 9 : 9 | 624 | Studio | Apt. 940 | 1 | 4 | 8 row 10 : 10 | 225 | Duplex | Apt. 859 | 2 | 3 | 6 row 11 : 11 | 734 | Flat | Apt. 794 | 1 | 5 | 3 row 12 : 12 | 673 | Duplex | Apt. 477 | 2 | 6 | 3 row 13 : 13 | 744 | Duplex | Apt. 411 | 2 | 5 | 9 row 14 : 14 | 225 | Flat | Apt. 837 | 2 | 4 | 8 row 15 : 15 | 790 | Duplex | Suite 634 | 3 | 6 | 8 | col : sum(T2.room_count) row 1 : 29 |
SELECT T1.building_address FROM Apartment_Buildings AS T1 JOIN Apartments AS T2 ON T1.building_id = T2.building_id WHERE T2.bathroom_count > 2 | [
"Apartment_Buildings",
"Apartments"
] | [
"{\"columns\":[\"building_id\",\"building_short_name\",\"building_full_name\",\"building_description\",\"building_address\",\"building_manager\",\"building_phone\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],\"data\":[[133,\"Normandie Court\",\"Normandie Court\",\"Studio\",\"7950 Casper Vista Apt. 176\\nMarquiseberg, CA 70496\",\"Emma\",\"(948)040-1064x387\"],[153,\"Mercedes House\",\"Mercedes House\",\"Studio\",\"354 Otto Villages\\nCharliefort, VT 71664\",\"Brenden\",\"915-617-2408x832\"],[191,\"The Eugene\",\"The Eugene\",\"Flat\",\"71537 Gorczany Inlet\\nWisozkburgh, AL 08256\",\"Melyssa\",\"(609)946-0491\"],[196,\"VIA 57 WEST\",\"VIA 57 WEST\",\"Studio\",\"959 Ethel Viaduct\\nWest Efrainburgh, DE 40074\",\"Kathlyn\",\"681.772.2454\"],[225,\"Columbus Square\",\"Columbus Square\",\"Studio\",\"0703 Danika Mountains Apt. 362\\nMohrland, AL 56839-5028\",\"Kyle\",\"1-724-982-9507x640\"],[532,\"Avalon Park\",\"Avalon Park\",\"Duplex\",\"6827 Kessler Parkway Suite 908\\nAhmedberg, WI 48788\",\"Albert\",\"376-017-3538\"],[556,\"Peter Cooper Village\",\"Peter Cooper Village\",\"Flat\",\"861 Narciso Glens Suite 392\\nEast Ottis, ND 73970\",\"Darlene\",\"1-224-619-0295x13195\"],[624,\"Stuyvesant Town\",\"Stuyvesant Town\",\"Studio\",\"101 Queenie Mountains Suite 619\\nNew Korbinmouth, KS 88726-1376\",\"Marie\",\"(145)411-6406\"],[644,\"The Anthem\",\"The Anthem\",\"Flat\",\"50804 Mason Isle Suite 844\\nWest Whitney, ID 66511\",\"Ewald\",\"(909)086-5221x3455\"],[673,\"Barclay Tower\",\"Barclay Tower\",\"Flat\",\"1579 Runte Forges Apt. 548\\nLeuschkeland, OK 12009-8683\",\"Rogers\",\"1-326-267-3386x613\"],[734,\"Windsor Court\",\"Windsor Court\",\"Studio\",\"601 Graham Roads\\nPort Luz, VA 29660-6703\",\"Olaf\",\"(480)480-7401\"],[744,\"Silver Towers\",\"Silver Towers\",\"Flat\",\"1844 Armstrong Stravenue Suite 853\\nMyrnatown, CT 13528\",\"Claude\",\"1-667-728-2287x3158\"],[790,\"Biltmore Plaza\",\"Biltmore Plaza\",\"Duplex\",\"489 Josh Orchard Apt. 998\\nSipesview, DE 69053\",\"Sydni\",\"544-148-5565x2847\"],[808,\"Petersfield\",\"Petersfield\",\"Studio\",\"54686 Christopher Circles Apt. 321\\nDaytonland, ID 88081-3991\",\"Juvenal\",\"318-398-8140\"],[968,\"The Clinton\",\"The Clinton\",\"Flat\",\"012 Arnoldo Mountain\\nGerholdland, ID 23342\",\"Holly\",\"1-605-511-1973x25011\"]]}",
"{\"columns\":[\"apt_id\",\"building_id\",\"apt_type_code\",\"apt_number\",\"bathroom_count\",\"bedroom_count\",\"room_count\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],\"data\":[[1,808,\"Flat\",\"Suite 645\",1,3,\"7\"],[2,624,\"Flat\",\"Apt. 585\",2,4,\"5\"],[3,225,\"Studio\",\"Apt. 908\",1,6,\"7\"],[4,225,\"Duplex\",\"Suite 749\",1,5,\"8\"],[5,744,\"Flat\",\"Suite 307\",2,4,\"9\"],[6,191,\"Studio\",\"Apt. 187\",3,5,\"9\"],[7,790,\"Studio\",\"Suite 088\",2,4,\"6\"],[8,153,\"Flat\",\"Suite 693\",2,3,\"9\"],[9,624,\"Studio\",\"Apt. 940\",1,4,\"8\"],[10,225,\"Duplex\",\"Apt. 859\",2,3,\"6\"],[11,734,\"Flat\",\"Apt. 794\",1,5,\"3\"],[12,673,\"Duplex\",\"Apt. 477\",2,6,\"3\"],[13,744,\"Duplex\",\"Apt. 411\",2,5,\"9\"],[14,225,\"Flat\",\"Apt. 837\",2,4,\"8\"],[15,790,\"Duplex\",\"Suite 634\",3,6,\"8\"]]}"
] | {"columns":["building_address"],"index":[0,1],"data":[["71537 Gorczany Inlet\nWisozkburgh, AL 08256"],["489 Josh Orchard Apt. 998\nSipesview, DE 69053"]]} | SELECT T1.building_address FROM Apartment_Buildings AS T1 JOIN Apartments AS T2 ON T1.building_id = T2.building_id WHERE T2.bathroom_count > 2 <table_name> : Apartment_Buildings col : building_id | building_short_name | building_full_name | building_description | building_address | building_manager | building_phone row 1 : 133 | Normandie Court | Normandie Court | Studio | 7950 Casper Vista Apt. 176
Marquiseberg, CA 70496 | Emma | (948)040-1064x387 row 2 : 153 | Mercedes House | Mercedes House | Studio | 354 Otto Villages
Charliefort, VT 71664 | Brenden | 915-617-2408x832 row 3 : 191 | The Eugene | The Eugene | Flat | 71537 Gorczany Inlet
Wisozkburgh, AL 08256 | Melyssa | (609)946-0491 row 4 : 196 | VIA 57 WEST | VIA 57 WEST | Studio | 959 Ethel Viaduct
West Efrainburgh, DE 40074 | Kathlyn | 681.772.2454 row 5 : 225 | Columbus Square | Columbus Square | Studio | 0703 Danika Mountains Apt. 362
Mohrland, AL 56839-5028 | Kyle | 1-724-982-9507x640 row 6 : 532 | Avalon Park | Avalon Park | Duplex | 6827 Kessler Parkway Suite 908
Ahmedberg, WI 48788 | Albert | 376-017-3538 row 7 : 556 | Peter Cooper Village | Peter Cooper Village | Flat | 861 Narciso Glens Suite 392
East Ottis, ND 73970 | Darlene | 1-224-619-0295x13195 row 8 : 624 | Stuyvesant Town | Stuyvesant Town | Studio | 101 Queenie Mountains Suite 619
New Korbinmouth, KS 88726-1376 | Marie | (145)411-6406 row 9 : 644 | The Anthem | The Anthem | Flat | 50804 Mason Isle Suite 844
West Whitney, ID 66511 | Ewald | (909)086-5221x3455 row 10 : 673 | Barclay Tower | Barclay Tower | Flat | 1579 Runte Forges Apt. 548
Leuschkeland, OK 12009-8683 | Rogers | 1-326-267-3386x613 row 11 : 734 | Windsor Court | Windsor Court | Studio | 601 Graham Roads
Port Luz, VA 29660-6703 | Olaf | (480)480-7401 row 12 : 744 | Silver Towers | Silver Towers | Flat | 1844 Armstrong Stravenue Suite 853
Myrnatown, CT 13528 | Claude | 1-667-728-2287x3158 row 13 : 790 | Biltmore Plaza | Biltmore Plaza | Duplex | 489 Josh Orchard Apt. 998
Sipesview, DE 69053 | Sydni | 544-148-5565x2847 row 14 : 808 | Petersfield | Petersfield | Studio | 54686 Christopher Circles Apt. 321
Daytonland, ID 88081-3991 | Juvenal | 318-398-8140 row 15 : 968 | The Clinton | The Clinton | Flat | 012 Arnoldo Mountain
Gerholdland, ID 23342 | Holly | 1-605-511-1973x25011 <table_name> : Apartments col : apt_id | building_id | apt_type_code | apt_number | bathroom_count | bedroom_count | room_count row 1 : 1 | 808 | Flat | Suite 645 | 1 | 3 | 7 row 2 : 2 | 624 | Flat | Apt. 585 | 2 | 4 | 5 row 3 : 3 | 225 | Studio | Apt. 908 | 1 | 6 | 7 row 4 : 4 | 225 | Duplex | Suite 749 | 1 | 5 | 8 row 5 : 5 | 744 | Flat | Suite 307 | 2 | 4 | 9 row 6 : 6 | 191 | Studio | Apt. 187 | 3 | 5 | 9 row 7 : 7 | 790 | Studio | Suite 088 | 2 | 4 | 6 row 8 : 8 | 153 | Flat | Suite 693 | 2 | 3 | 9 row 9 : 9 | 624 | Studio | Apt. 940 | 1 | 4 | 8 row 10 : 10 | 225 | Duplex | Apt. 859 | 2 | 3 | 6 row 11 : 11 | 734 | Flat | Apt. 794 | 1 | 5 | 3 row 12 : 12 | 673 | Duplex | Apt. 477 | 2 | 6 | 3 row 13 : 13 | 744 | Duplex | Apt. 411 | 2 | 5 | 9 row 14 : 14 | 225 | Flat | Apt. 837 | 2 | 4 | 8 row 15 : 15 | 790 | Duplex | Suite 634 | 3 | 6 | 8 | col : building_address row 1 : 71537 Gorczany Inlet
Wisozkburgh, AL 08256 row 2 : 489 Josh Orchard Apt. 998
Sipesview, DE 69053 |
SELECT T2.apt_type_code , T2.apt_number FROM Apartment_Buildings AS T1 JOIN Apartments AS T2 ON T1.building_id = T2.building_id WHERE T1.building_manager = "Kyle" | [
"Apartment_Buildings",
"Apartments"
] | [
"{\"columns\":[\"building_id\",\"building_short_name\",\"building_full_name\",\"building_description\",\"building_address\",\"building_manager\",\"building_phone\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],\"data\":[[133,\"Normandie Court\",\"Normandie Court\",\"Studio\",\"7950 Casper Vista Apt. 176\\nMarquiseberg, CA 70496\",\"Emma\",\"(948)040-1064x387\"],[153,\"Mercedes House\",\"Mercedes House\",\"Studio\",\"354 Otto Villages\\nCharliefort, VT 71664\",\"Brenden\",\"915-617-2408x832\"],[191,\"The Eugene\",\"The Eugene\",\"Flat\",\"71537 Gorczany Inlet\\nWisozkburgh, AL 08256\",\"Melyssa\",\"(609)946-0491\"],[196,\"VIA 57 WEST\",\"VIA 57 WEST\",\"Studio\",\"959 Ethel Viaduct\\nWest Efrainburgh, DE 40074\",\"Kathlyn\",\"681.772.2454\"],[225,\"Columbus Square\",\"Columbus Square\",\"Studio\",\"0703 Danika Mountains Apt. 362\\nMohrland, AL 56839-5028\",\"Kyle\",\"1-724-982-9507x640\"],[532,\"Avalon Park\",\"Avalon Park\",\"Duplex\",\"6827 Kessler Parkway Suite 908\\nAhmedberg, WI 48788\",\"Albert\",\"376-017-3538\"],[556,\"Peter Cooper Village\",\"Peter Cooper Village\",\"Flat\",\"861 Narciso Glens Suite 392\\nEast Ottis, ND 73970\",\"Darlene\",\"1-224-619-0295x13195\"],[624,\"Stuyvesant Town\",\"Stuyvesant Town\",\"Studio\",\"101 Queenie Mountains Suite 619\\nNew Korbinmouth, KS 88726-1376\",\"Marie\",\"(145)411-6406\"],[644,\"The Anthem\",\"The Anthem\",\"Flat\",\"50804 Mason Isle Suite 844\\nWest Whitney, ID 66511\",\"Ewald\",\"(909)086-5221x3455\"],[673,\"Barclay Tower\",\"Barclay Tower\",\"Flat\",\"1579 Runte Forges Apt. 548\\nLeuschkeland, OK 12009-8683\",\"Rogers\",\"1-326-267-3386x613\"],[734,\"Windsor Court\",\"Windsor Court\",\"Studio\",\"601 Graham Roads\\nPort Luz, VA 29660-6703\",\"Olaf\",\"(480)480-7401\"],[744,\"Silver Towers\",\"Silver Towers\",\"Flat\",\"1844 Armstrong Stravenue Suite 853\\nMyrnatown, CT 13528\",\"Claude\",\"1-667-728-2287x3158\"],[790,\"Biltmore Plaza\",\"Biltmore Plaza\",\"Duplex\",\"489 Josh Orchard Apt. 998\\nSipesview, DE 69053\",\"Sydni\",\"544-148-5565x2847\"],[808,\"Petersfield\",\"Petersfield\",\"Studio\",\"54686 Christopher Circles Apt. 321\\nDaytonland, ID 88081-3991\",\"Juvenal\",\"318-398-8140\"],[968,\"The Clinton\",\"The Clinton\",\"Flat\",\"012 Arnoldo Mountain\\nGerholdland, ID 23342\",\"Holly\",\"1-605-511-1973x25011\"]]}",
"{\"columns\":[\"apt_id\",\"building_id\",\"apt_type_code\",\"apt_number\",\"bathroom_count\",\"bedroom_count\",\"room_count\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],\"data\":[[1,808,\"Flat\",\"Suite 645\",1,3,\"7\"],[2,624,\"Flat\",\"Apt. 585\",2,4,\"5\"],[3,225,\"Studio\",\"Apt. 908\",1,6,\"7\"],[4,225,\"Duplex\",\"Suite 749\",1,5,\"8\"],[5,744,\"Flat\",\"Suite 307\",2,4,\"9\"],[6,191,\"Studio\",\"Apt. 187\",3,5,\"9\"],[7,790,\"Studio\",\"Suite 088\",2,4,\"6\"],[8,153,\"Flat\",\"Suite 693\",2,3,\"9\"],[9,624,\"Studio\",\"Apt. 940\",1,4,\"8\"],[10,225,\"Duplex\",\"Apt. 859\",2,3,\"6\"],[11,734,\"Flat\",\"Apt. 794\",1,5,\"3\"],[12,673,\"Duplex\",\"Apt. 477\",2,6,\"3\"],[13,744,\"Duplex\",\"Apt. 411\",2,5,\"9\"],[14,225,\"Flat\",\"Apt. 837\",2,4,\"8\"],[15,790,\"Duplex\",\"Suite 634\",3,6,\"8\"]]}"
] | {"columns":["apt_type_code","apt_number"],"index":[0,1,2,3],"data":[["Studio","Apt. 908"],["Duplex","Suite 749"],["Duplex","Apt. 859"],["Flat","Apt. 837"]]} | SELECT T2.apt_type_code , T2.apt_number FROM Apartment_Buildings AS T1 JOIN Apartments AS T2 ON T1.building_id = T2.building_id WHERE T1.building_manager = "Kyle" <table_name> : Apartment_Buildings col : building_id | building_short_name | building_full_name | building_description | building_address | building_manager | building_phone row 1 : 133 | Normandie Court | Normandie Court | Studio | 7950 Casper Vista Apt. 176
Marquiseberg, CA 70496 | Emma | (948)040-1064x387 row 2 : 153 | Mercedes House | Mercedes House | Studio | 354 Otto Villages
Charliefort, VT 71664 | Brenden | 915-617-2408x832 row 3 : 191 | The Eugene | The Eugene | Flat | 71537 Gorczany Inlet
Wisozkburgh, AL 08256 | Melyssa | (609)946-0491 row 4 : 196 | VIA 57 WEST | VIA 57 WEST | Studio | 959 Ethel Viaduct
West Efrainburgh, DE 40074 | Kathlyn | 681.772.2454 row 5 : 225 | Columbus Square | Columbus Square | Studio | 0703 Danika Mountains Apt. 362
Mohrland, AL 56839-5028 | Kyle | 1-724-982-9507x640 row 6 : 532 | Avalon Park | Avalon Park | Duplex | 6827 Kessler Parkway Suite 908
Ahmedberg, WI 48788 | Albert | 376-017-3538 row 7 : 556 | Peter Cooper Village | Peter Cooper Village | Flat | 861 Narciso Glens Suite 392
East Ottis, ND 73970 | Darlene | 1-224-619-0295x13195 row 8 : 624 | Stuyvesant Town | Stuyvesant Town | Studio | 101 Queenie Mountains Suite 619
New Korbinmouth, KS 88726-1376 | Marie | (145)411-6406 row 9 : 644 | The Anthem | The Anthem | Flat | 50804 Mason Isle Suite 844
West Whitney, ID 66511 | Ewald | (909)086-5221x3455 row 10 : 673 | Barclay Tower | Barclay Tower | Flat | 1579 Runte Forges Apt. 548
Leuschkeland, OK 12009-8683 | Rogers | 1-326-267-3386x613 row 11 : 734 | Windsor Court | Windsor Court | Studio | 601 Graham Roads
Port Luz, VA 29660-6703 | Olaf | (480)480-7401 row 12 : 744 | Silver Towers | Silver Towers | Flat | 1844 Armstrong Stravenue Suite 853
Myrnatown, CT 13528 | Claude | 1-667-728-2287x3158 row 13 : 790 | Biltmore Plaza | Biltmore Plaza | Duplex | 489 Josh Orchard Apt. 998
Sipesview, DE 69053 | Sydni | 544-148-5565x2847 row 14 : 808 | Petersfield | Petersfield | Studio | 54686 Christopher Circles Apt. 321
Daytonland, ID 88081-3991 | Juvenal | 318-398-8140 row 15 : 968 | The Clinton | The Clinton | Flat | 012 Arnoldo Mountain
Gerholdland, ID 23342 | Holly | 1-605-511-1973x25011 <table_name> : Apartments col : apt_id | building_id | apt_type_code | apt_number | bathroom_count | bedroom_count | room_count row 1 : 1 | 808 | Flat | Suite 645 | 1 | 3 | 7 row 2 : 2 | 624 | Flat | Apt. 585 | 2 | 4 | 5 row 3 : 3 | 225 | Studio | Apt. 908 | 1 | 6 | 7 row 4 : 4 | 225 | Duplex | Suite 749 | 1 | 5 | 8 row 5 : 5 | 744 | Flat | Suite 307 | 2 | 4 | 9 row 6 : 6 | 191 | Studio | Apt. 187 | 3 | 5 | 9 row 7 : 7 | 790 | Studio | Suite 088 | 2 | 4 | 6 row 8 : 8 | 153 | Flat | Suite 693 | 2 | 3 | 9 row 9 : 9 | 624 | Studio | Apt. 940 | 1 | 4 | 8 row 10 : 10 | 225 | Duplex | Apt. 859 | 2 | 3 | 6 row 11 : 11 | 734 | Flat | Apt. 794 | 1 | 5 | 3 row 12 : 12 | 673 | Duplex | Apt. 477 | 2 | 6 | 3 row 13 : 13 | 744 | Duplex | Apt. 411 | 2 | 5 | 9 row 14 : 14 | 225 | Flat | Apt. 837 | 2 | 4 | 8 row 15 : 15 | 790 | Duplex | Suite 634 | 3 | 6 | 8 | col : apt_type_code | apt_number row 1 : Studio | Apt. 908 row 2 : Duplex | Suite 749 row 3 : Duplex | Apt. 859 row 4 : Flat | Apt. 837 |
SELECT booking_status_code , COUNT(*) FROM Apartment_Bookings GROUP BY booking_status_code | [
"Apartment_Bookings"
] | [
"{\"columns\":[\"apt_booking_id\",\"apt_id\",\"guest_id\",\"booking_status_code\",\"booking_start_date\",\"booking_end_date\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14],\"data\":[[258,10,2,\"Provisional\",\"2016-09-26 17:13:49\",\"2017-10-07 11:38:48\"],[279,15,15,\"Provisional\",\"2016-04-01 06:28:08\",\"2017-10-25 11:08:42\"],[337,8,5,\"Provisional\",\"2017-03-13 16:20:14\",\"2018-02-19 16:59:08\"],[343,4,13,\"Confirmed\",\"2016-08-04 10:33:00\",\"2017-09-29 12:43:50\"],[365,9,12,\"Confirmed\",\"2017-02-11 14:34:14\",\"2017-10-07 20:47:19\"],[401,7,14,\"Provisional\",\"2016-05-24 20:09:38\",\"2017-10-03 01:56:21\"],[497,10,8,\"Confirmed\",\"2016-07-25 02:57:04\",\"2017-09-28 11:08:15\"],[526,8,7,\"Confirmed\",\"2016-11-26 05:04:31\",\"2018-02-25 15:15:37\"],[575,6,3,\"Provisional\",\"2017-05-13 18:17:20\",\"2017-10-06 11:15:58\"],[577,12,2,\"Provisional\",\"2017-03-04 02:23:49\",\"2018-02-06 16:57:05\"],[623,4,5,\"Provisional\",\"2016-06-07 05:05:18\",\"2017-11-13 13:59:45\"],[807,11,2,\"Provisional\",\"2016-04-17 12:53:59\",\"2018-03-20 17:32:58\"],[889,10,4,\"Confirmed\",\"2016-09-28 05:00:50\",\"2017-09-30 18:41:04\"],[920,2,2,\"Confirmed\",\"2017-04-07 04:53:27\",\"2017-11-29 12:59:42\"],[924,8,3,\"Confirmed\",\"2017-07-03 14:15:56\",\"2017-11-12 01:05:09\"]]}"
] | {"columns":["booking_status_code","COUNT(*)"],"index":[0,1],"data":[["Confirmed",7],["Provisional",8]]} | SELECT booking_status_code , COUNT(*) FROM Apartment_Bookings GROUP BY booking_status_code <table_name> : Apartment_Bookings col : apt_booking_id | apt_id | guest_id | booking_status_code | booking_start_date | booking_end_date row 1 : 258 | 10 | 2 | Provisional | 2016-09-26 17:13:49 | 2017-10-07 11:38:48 row 2 : 279 | 15 | 15 | Provisional | 2016-04-01 06:28:08 | 2017-10-25 11:08:42 row 3 : 337 | 8 | 5 | Provisional | 2017-03-13 16:20:14 | 2018-02-19 16:59:08 row 4 : 343 | 4 | 13 | Confirmed | 2016-08-04 10:33:00 | 2017-09-29 12:43:50 row 5 : 365 | 9 | 12 | Confirmed | 2017-02-11 14:34:14 | 2017-10-07 20:47:19 row 6 : 401 | 7 | 14 | Provisional | 2016-05-24 20:09:38 | 2017-10-03 01:56:21 row 7 : 497 | 10 | 8 | Confirmed | 2016-07-25 02:57:04 | 2017-09-28 11:08:15 row 8 : 526 | 8 | 7 | Confirmed | 2016-11-26 05:04:31 | 2018-02-25 15:15:37 row 9 : 575 | 6 | 3 | Provisional | 2017-05-13 18:17:20 | 2017-10-06 11:15:58 row 10 : 577 | 12 | 2 | Provisional | 2017-03-04 02:23:49 | 2018-02-06 16:57:05 row 11 : 623 | 4 | 5 | Provisional | 2016-06-07 05:05:18 | 2017-11-13 13:59:45 row 12 : 807 | 11 | 2 | Provisional | 2016-04-17 12:53:59 | 2018-03-20 17:32:58 row 13 : 889 | 10 | 4 | Confirmed | 2016-09-28 05:00:50 | 2017-09-30 18:41:04 row 14 : 920 | 2 | 2 | Confirmed | 2017-04-07 04:53:27 | 2017-11-29 12:59:42 row 15 : 924 | 8 | 3 | Confirmed | 2017-07-03 14:15:56 | 2017-11-12 01:05:09 | col : booking_status_code | COUNT(*) row 1 : Confirmed | 7 row 2 : Provisional | 8 |