Unnamed: 0
int64
0
78.6k
answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
489
translated_answer
stringlengths
12
992
1,000
SELECT T3.Player_name, T2.coach_name FROM player_coach AS T1 JOIN coach AS T2 ON T1.Coach_ID = T2.Coach_ID JOIN player AS T3 ON T1.Player_ID = T3.Player_ID
Show the names of players and names of their coaches.
CREATE TABLE player (Player_name VARCHAR, Player_ID VARCHAR); CREATE TABLE coach (coach_name VARCHAR, Coach_ID VARCHAR); CREATE TABLE player_coach (Coach_ID VARCHAR, Player_ID VARCHAR)
Mostre os nomes dos jogadores e nomes de seus treinadores.
1,001
SELECT T3.Player_name FROM player_coach AS T1 JOIN coach AS T2 ON T1.Coach_ID = T2.Coach_ID JOIN player AS T3 ON T1.Player_ID = T3.Player_ID WHERE T2.Rank = 1
Show the names of players coached by the rank 1 coach.
CREATE TABLE player (Player_name VARCHAR, Player_ID VARCHAR); CREATE TABLE coach (Coach_ID VARCHAR, Rank VARCHAR); CREATE TABLE player_coach (Coach_ID VARCHAR, Player_ID VARCHAR)
Mostre os nomes dos jogadores treinados pelo treinador de primeira linha.
1,002
SELECT T3.Player_name, T3.gender FROM player_coach AS T1 JOIN coach AS T2 ON T1.Coach_ID = T2.Coach_ID JOIN player AS T3 ON T1.Player_ID = T3.Player_ID WHERE T1.Starting_year > 2011
Show the names and genders of players with a coach starting after 2011.
CREATE TABLE player (Player_name VARCHAR, gender VARCHAR, Player_ID VARCHAR); CREATE TABLE player_coach (Coach_ID VARCHAR, Player_ID VARCHAR, Starting_year INTEGER); CREATE TABLE coach (Coach_ID VARCHAR)
Mostre os nomes e gêneros dos jogadores com um treinador a partir de 2011.
1,003
SELECT T3.Player_name, T2.coach_name FROM player_coach AS T1 JOIN coach AS T2 ON T1.Coach_ID = T2.Coach_ID JOIN player AS T3 ON T1.Player_ID = T3.Player_ID ORDER BY T3.Votes DESC
Show the names of players and names of their coaches in descending order of the votes of players.
CREATE TABLE coach (coach_name VARCHAR, Coach_ID VARCHAR); CREATE TABLE player_coach (Coach_ID VARCHAR, Player_ID VARCHAR); CREATE TABLE player (Player_name VARCHAR, Player_ID VARCHAR, Votes VARCHAR)
Mostre os nomes dos jogadores e nomes de seus treinadores em ordem decrescente dos votos dos jogadores.
1,004
SELECT Player_name FROM player WHERE NOT Player_ID IN (SELECT Player_ID FROM player_coach)
List the names of players that do not have coaches.
CREATE TABLE player (Player_name VARCHAR, Player_ID VARCHAR); CREATE TABLE player_coach (Player_name VARCHAR, Player_ID VARCHAR)
Listar os nomes dos jogadores que não têm treinadores.
1,005
SELECT Residence FROM player WHERE gender = "M" INTERSECT SELECT Residence FROM player WHERE gender = "F"
Show the residences that have both a player of gender "M" and a player of gender "F".
CREATE TABLE player (Residence VARCHAR, gender VARCHAR)
Mostre as residências que têm tanto um jogador de gênero "M" quanto um jogador de gênero "F".
1,006
SELECT T1.club_id, T1.club_name, COUNT(*) FROM club AS T1 JOIN coach AS T2 ON T1.club_id = T2.club_id GROUP BY T1.club_id
How many coaches does each club has? List the club id, name and the number of coaches.
CREATE TABLE club (club_id VARCHAR, club_name VARCHAR); CREATE TABLE coach (club_id VARCHAR)
Quantos treinadores cada clube tem? Liste o ID do clube, o nome e o número de treinadores.
1,007
SELECT T1.club_id, T1.gold FROM match_result AS T1 JOIN coach AS T2 ON T1.club_id = T2.club_id GROUP BY T1.club_id ORDER BY COUNT(*) DESC LIMIT 1
How many gold medals has the club with the most coaches won?
CREATE TABLE match_result (club_id VARCHAR, gold VARCHAR); CREATE TABLE coach (club_id VARCHAR)
Quantas medalhas de ouro o clube com mais treinadores ganhou?
1,008
SELECT COUNT(*) FROM gymnast
How many gymnasts are there?
CREATE TABLE gymnast (Id VARCHAR)
Quantos ginastas existem?
1,009
SELECT Total_Points FROM gymnast ORDER BY Total_Points DESC
List the total points of gymnasts in descending order.
CREATE TABLE gymnast (Total_Points VARCHAR)
Liste o total de pontos de ginastas em ordem decrescente.
1,010
SELECT Total_Points FROM gymnast ORDER BY Floor_Exercise_Points DESC
List the total points of gymnasts in descending order of floor exercise points.
CREATE TABLE gymnast (Total_Points VARCHAR, Floor_Exercise_Points VARCHAR)
Liste o total de pontos de ginastas em ordem decrescente de pontos de exercício no chão.
1,011
SELECT AVG(Horizontal_Bar_Points) FROM gymnast
What is the average horizontal bar points for all gymnasts?
CREATE TABLE gymnast (Horizontal_Bar_Points INTEGER)
Quais são os pontos de barra horizontais médios para todas as ginastas?
1,012
SELECT Name FROM People ORDER BY Name
What are the names of people in ascending alphabetical order?
CREATE TABLE People (Name VARCHAR)
Quais são os nomes das pessoas em ordem alfabética ascendente?
1,013
SELECT T2.Name FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID = T2.People_ID
What are the names of gymnasts?
CREATE TABLE gymnast (Gymnast_ID VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR)
Quais são os nomes dos ginastas?
1,014
SELECT T2.Name FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID = T2.People_ID WHERE T2.Hometown <> "Santo Domingo"
What are the names of gymnasts whose hometown is not "Santo Domingo"?
CREATE TABLE gymnast (Gymnast_ID VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR, Hometown VARCHAR)
Quais são os nomes de ginastas cuja cidade natal não é "Santo Domingo"?
1,015
SELECT Age FROM people ORDER BY Height DESC LIMIT 1
What is the age of the tallest person?
CREATE TABLE people (Age VARCHAR, Height VARCHAR)
Qual é a idade da pessoa mais alta?
1,016
SELECT Name FROM People ORDER BY Age DESC LIMIT 5
List the names of the top 5 oldest people.
CREATE TABLE People (Name VARCHAR, Age VARCHAR)
Listar os nomes das 5 pessoas mais velhas.
1,017
SELECT T1.Total_Points FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID = T2.People_ID ORDER BY T2.Age LIMIT 1
What is the total point count of the youngest gymnast?
CREATE TABLE people (People_ID VARCHAR, Age VARCHAR); CREATE TABLE gymnast (Total_Points VARCHAR, Gymnast_ID VARCHAR)
Qual é a contagem total de pontos da ginasta mais jovem?
1,018
SELECT AVG(T2.Age) FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID = T2.People_ID
What is the average age of all gymnasts?
CREATE TABLE people (Age INTEGER, People_ID VARCHAR); CREATE TABLE gymnast (Gymnast_ID VARCHAR)
Qual é a idade média de todas as ginastas?
1,019
SELECT DISTINCT T2.Hometown FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID = T2.People_ID WHERE T1.Total_Points > 57.5
What are the distinct hometowns of gymnasts with total points more than 57.5?
CREATE TABLE gymnast (Gymnast_ID VARCHAR, Total_Points INTEGER); CREATE TABLE people (Hometown VARCHAR, People_ID VARCHAR)
Quais são as diferentes cidades de ginastas com mais de 57,5 pontos?
1,020
SELECT T2.Hometown, COUNT(*) FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID = T2.People_ID GROUP BY T2.Hometown
What are the hometowns of gymnasts and the corresponding number of gymnasts?
CREATE TABLE gymnast (Gymnast_ID VARCHAR); CREATE TABLE people (Hometown VARCHAR, People_ID VARCHAR)
Quais são as cidades das ginastas e o número correspondente de ginastas?
1,021
SELECT T2.Hometown FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID = T2.People_ID GROUP BY T2.Hometown ORDER BY COUNT(*) DESC LIMIT 1
What is the most common hometown of gymnasts?
CREATE TABLE gymnast (Gymnast_ID VARCHAR); CREATE TABLE people (Hometown VARCHAR, People_ID VARCHAR)
Qual é a cidade mais comum de ginastas?
1,022
SELECT T2.Hometown FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID = T2.People_ID GROUP BY T2.Hometown HAVING COUNT(*) >= 2
What are the hometowns that are shared by at least two gymnasts?
CREATE TABLE gymnast (Gymnast_ID VARCHAR); CREATE TABLE people (Hometown VARCHAR, People_ID VARCHAR)
Quais são as cidades que são compartilhadas por pelo menos duas ginastas?
1,023
SELECT T2.Name FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID = T2.People_ID ORDER BY T2.Height
List the names of gymnasts in ascending order by their heights.
CREATE TABLE gymnast (Gymnast_ID VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR, Height VARCHAR)
Liste os nomes dos ginastas em ordem crescente por suas alturas.
1,024
SELECT DISTINCT Hometown FROM people EXCEPT SELECT DISTINCT T2.Hometown FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID = T2.People_ID
List the distinct hometowns that are not associated with any gymnast.
CREATE TABLE gymnast (Gymnast_ID VARCHAR); CREATE TABLE people (Hometown VARCHAR, People_ID VARCHAR); CREATE TABLE people (Hometown VARCHAR)
Liste as diferentes cidades que não estão associadas a nenhum ginasta.
1,025
SELECT Hometown FROM people WHERE Age > 23 INTERSECT SELECT Hometown FROM people WHERE Age < 20
Show the hometowns shared by people older than 23 and younger than 20.
CREATE TABLE people (Hometown VARCHAR, Age INTEGER)
Mostre as cidades compartilhadas por pessoas com mais de 23 anos ou menos de 20 anos.
1,026
SELECT COUNT(DISTINCT Hometown) FROM people
How many distinct hometowns did these people have?
CREATE TABLE people (Hometown VARCHAR)
Quantas cidades diferentes essas pessoas tinham?
1,027
SELECT T2.Age FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID = T2.People_ID ORDER BY T1.Total_Points DESC
Show the ages of gymnasts in descending order of total points.
CREATE TABLE people (Age VARCHAR, People_ID VARCHAR); CREATE TABLE gymnast (Gymnast_ID VARCHAR, Total_Points VARCHAR)
Mostre as idades das ginastas em ordem decrescente de pontos totais.
1,028
SELECT SUM(T2.balance) FROM accounts AS T1 JOIN savings AS T2 ON T1.custid = T2.custid WHERE T1.name <> 'Brown'
Find the total savings balance of all accounts except the account with name ‘Brown’.
CREATE TABLE accounts (custid VARCHAR, name VARCHAR); CREATE TABLE savings (balance INTEGER, custid VARCHAR)
Encontre o saldo total de poupança de todas as contas, exceto a conta com o nome 'Brown'.
1,029
SELECT COUNT(*) FROM accounts
How many accounts are there in total?
CREATE TABLE accounts (Id VARCHAR)
Quantas contas existem no total?
1,030
SELECT SUM(balance) FROM checking
What is the total checking balance in all accounts?
CREATE TABLE checking (balance INTEGER)
Qual é o saldo total de verificação em todas as contas?
1,031
SELECT AVG(balance) FROM checking
Find the average checking balance.
CREATE TABLE checking (balance INTEGER)
Encontre o saldo médio de verificação.
1,032
SELECT COUNT(*) FROM savings WHERE balance > (SELECT AVG(balance) FROM savings)
How many accounts have a savings balance above the average savings balance?
CREATE TABLE savings (balance INTEGER)
Quantas contas têm um saldo de poupança acima do saldo de poupança médio?
1,033
SELECT T1.custid, T1.name FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid WHERE T2.balance < (SELECT MAX(balance) FROM checking)
Find the name and id of accounts whose checking balance is below the maximum checking balance.
CREATE TABLE accounts (custid VARCHAR, name VARCHAR); CREATE TABLE checking (balance INTEGER); CREATE TABLE checking (custid VARCHAR, balance INTEGER)
Encontre o nome e o ID das contas cujo saldo de verificação está abaixo do saldo máximo de verificação.
1,034
SELECT T2.balance FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid WHERE T1.name LIKE '%ee%'
What is the checking balance of the account whose owner’s name contains the substring ‘ee’?
CREATE TABLE checking (balance VARCHAR, custid VARCHAR); CREATE TABLE accounts (custid VARCHAR, name VARCHAR)
Qual é o saldo de verificação da conta cujo nome do proprietário contém a substring 'ee'?
1,035
SELECT T2.balance, T3.balance FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid JOIN savings AS T3 ON T1.custid = T3.custid WHERE T1.name = 'Brown'
Find the checking balance and saving balance in the Brown’s account.
CREATE TABLE checking (balance VARCHAR, custid VARCHAR); CREATE TABLE accounts (custid VARCHAR, name VARCHAR); CREATE TABLE savings (balance VARCHAR, custid VARCHAR)
Encontre o saldo de verificação e o saldo de poupança na conta do Brown.
1,036
SELECT T1.name FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid WHERE T2.balance > (SELECT AVG(balance) FROM checking) INTERSECT SELECT T1.name FROM accounts AS T1 JOIN savings AS T2 ON T1.custid = T2.custid WHERE T2.balance < (SELECT AVG(balance) FROM savings)
Find the names of accounts whose checking balance is above the average checking balance, but savings balance is below the average savings balance.
CREATE TABLE checking (custid VARCHAR, balance INTEGER); CREATE TABLE savings (custid VARCHAR, balance INTEGER); CREATE TABLE savings (balance INTEGER); CREATE TABLE checking (balance INTEGER); CREATE TABLE accounts (name VARCHAR, custid VARCHAR)
Encontre os nomes das contas cujo saldo de verificação está acima do saldo médio de verificação, mas o saldo de poupança está abaixo do saldo médio de poupança.
1,037
SELECT T2.balance FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid WHERE T1.name IN (SELECT T1.name FROM accounts AS T1 JOIN savings AS T2 ON T1.custid = T2.custid WHERE T2.balance > (SELECT AVG(balance) FROM savings))
Find the checking balance of the accounts whose savings balance is higher than the average savings balance.
CREATE TABLE accounts (custid VARCHAR, name VARCHAR); CREATE TABLE checking (balance INTEGER, custid VARCHAR); CREATE TABLE savings (balance INTEGER, custid VARCHAR); CREATE TABLE savings (balance INTEGER)
Encontre o saldo de verificação das contas cujo saldo de poupança é maior do que o saldo de poupança médio.
1,038
SELECT name FROM accounts ORDER BY name
List all customers’ names in the alphabetical order.
CREATE TABLE accounts (name VARCHAR)
Liste todos os nomes dos clientes na ordem alfabética.
1,039
SELECT T1.name FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid JOIN savings AS T3 ON T1.custid = T3.custid ORDER BY T2.balance + T3.balance LIMIT 1
Find the name of account that has the lowest total checking and saving balance.
CREATE TABLE checking (custid VARCHAR, balance VARCHAR); CREATE TABLE savings (custid VARCHAR, balance VARCHAR); CREATE TABLE accounts (name VARCHAR, custid VARCHAR)
Encontre o nome da conta que tem o menor saldo total de verificação e salvamento.
1,040
SELECT T1.name, T2.balance + T3.balance FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid JOIN savings AS T3 ON T1.custid = T3.custid WHERE T3.balance > (SELECT AVG(balance) FROM savings)
Find the names and total checking and savings balances of accounts whose savings balance is higher than the average savings balance.
CREATE TABLE checking (balance INTEGER, custid VARCHAR); CREATE TABLE savings (balance INTEGER, custid VARCHAR); CREATE TABLE savings (balance INTEGER); CREATE TABLE accounts (name VARCHAR, custid VARCHAR)
Encontre os nomes e saldos totais de verificação e poupança de contas cujo saldo de poupança é maior do que o saldo médio de poupança.
1,041
SELECT T1.name, T2.balance FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid JOIN savings AS T3 ON T1.custid = T3.custid ORDER BY T3.balance LIMIT 1
Find the name and checking balance of the account with the lowest savings balance.
CREATE TABLE checking (balance VARCHAR, custid VARCHAR); CREATE TABLE savings (custid VARCHAR, balance VARCHAR); CREATE TABLE accounts (name VARCHAR, custid VARCHAR)
Encontre o nome e o saldo de verificação da conta com o menor saldo de poupança.
1,042
SELECT COUNT(*), T1.name FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid GROUP BY T1.name
Find the number of checking accounts for each account name.
CREATE TABLE checking (custid VARCHAR); CREATE TABLE accounts (name VARCHAR, custid VARCHAR)
Encontre o número de contas correntes para cada nome de conta.
1,043
SELECT SUM(T2.balance), T1.name FROM accounts AS T1 JOIN savings AS T2 ON T1.custid = T2.custid GROUP BY T1.name
Find the total saving balance for each account name.
CREATE TABLE savings (balance INTEGER, custid VARCHAR); CREATE TABLE accounts (name VARCHAR, custid VARCHAR)
Encontre o saldo total de poupança para cada nome de conta.
1,044
SELECT T1.name FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid WHERE T2.balance < (SELECT AVG(balance) FROM checking)
Find the name of accounts whose checking balance is below the average checking balance.
CREATE TABLE accounts (name VARCHAR, custid VARCHAR); CREATE TABLE checking (balance INTEGER); CREATE TABLE checking (custid VARCHAR, balance INTEGER)
Encontre o nome das contas cujo saldo de verificação está abaixo do saldo médio de verificação.
1,045
SELECT T3.balance FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid JOIN savings AS T3 ON T1.custid = T3.custid ORDER BY T2.balance DESC LIMIT 1
Find the saving balance of the account with the highest checking balance.
CREATE TABLE savings (balance VARCHAR, custid VARCHAR); CREATE TABLE checking (custid VARCHAR, balance VARCHAR); CREATE TABLE accounts (custid VARCHAR)
Encontre o saldo de poupança da conta com o saldo de verificação mais alto.
1,046
SELECT T1.balance + T2.balance FROM checking AS T1 JOIN savings AS T2 ON T1.custid = T2.custid ORDER BY T1.balance + T2.balance
Find the total checking and saving balance of all accounts sorted by the total balance in ascending order.
CREATE TABLE checking (balance VARCHAR, custid VARCHAR); CREATE TABLE savings (balance VARCHAR, custid VARCHAR)
Encontre o saldo total de verificação e salvamento de todas as contas classificadas pelo saldo total em ordem crescente.
1,047
SELECT T2.balance, T1.name FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid JOIN savings AS T3 ON T1.custid = T3.custid ORDER BY T3.balance LIMIT 1
Find the name and checking balance of the account with the lowest saving balance.
CREATE TABLE checking (balance VARCHAR, custid VARCHAR); CREATE TABLE savings (custid VARCHAR, balance VARCHAR); CREATE TABLE accounts (name VARCHAR, custid VARCHAR)
Encontre o nome e o saldo de verificação da conta com o menor saldo de poupança.
1,048
SELECT T2.balance, T3.balance, T1.name FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid JOIN savings AS T3 ON T1.custid = T3.custid
Find the name, checking balance and saving balance of all accounts in the bank.
CREATE TABLE checking (balance VARCHAR, custid VARCHAR); CREATE TABLE savings (balance VARCHAR, custid VARCHAR); CREATE TABLE accounts (name VARCHAR, custid VARCHAR)
Encontre o nome, verificando o saldo e salvando o saldo de todas as contas no banco.
1,049
SELECT T2.balance, T3.balance, T1.name FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid JOIN savings AS T3 ON T1.custid = T3.custid ORDER BY T2.balance + T3.balance DESC
Find the name, checking balance and savings balance of all accounts in the bank sorted by their total checking and savings balance in descending order.
CREATE TABLE checking (balance VARCHAR, custid VARCHAR); CREATE TABLE savings (balance VARCHAR, custid VARCHAR); CREATE TABLE accounts (name VARCHAR, custid VARCHAR)
Encontre o nome, saldo de verificação e saldo de poupança de todas as contas no banco classificadas pelo saldo total de verificação e poupança em ordem decrescente.
1,050
SELECT T1.name FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid JOIN savings AS T3 ON T1.custid = T3.custid WHERE T2.balance > T3.balance
Find the name of accounts whose checking balance is higher than corresponding saving balance.
CREATE TABLE savings (custid VARCHAR, balance INTEGER); CREATE TABLE accounts (name VARCHAR, custid VARCHAR); CREATE TABLE checking (custid VARCHAR, balance INTEGER)
Encontre o nome das contas cujo saldo de verificação é maior do que o saldo de poupança correspondente.
1,051
SELECT T1.name, T3.balance + T2.balance FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid JOIN savings AS T3 ON T1.custid = T3.custid WHERE T3.balance < T2.balance
Find the name and total checking and savings balance of the accounts whose savings balance is lower than corresponding checking balance.
CREATE TABLE checking (balance INTEGER, custid VARCHAR); CREATE TABLE savings (balance INTEGER, custid VARCHAR); CREATE TABLE accounts (name VARCHAR, custid VARCHAR)
Encontre o nome e o saldo total de verificação e poupança das contas cujo saldo de poupança é inferior ao saldo de verificação correspondente.
1,052
SELECT T1.name, T2.balance FROM accounts AS T1 JOIN savings AS T2 ON T1.custid = T2.custid ORDER BY T2.balance DESC LIMIT 3
Find the name and savings balance of the top 3 accounts with the highest saving balance sorted by savings balance in descending order.
CREATE TABLE savings (balance VARCHAR, custid VARCHAR); CREATE TABLE accounts (name VARCHAR, custid VARCHAR)
Encontre o nome e o saldo de poupança das 3 principais contas com o saldo de poupança mais elevado classificado por saldo de poupança em ordem decrescente.
1,053
SELECT COUNT(*) FROM browser WHERE market_share >= 5
How many main stream browsers whose market share is at least 5 exist?
CREATE TABLE browser (market_share VARCHAR)
Quantos navegadores de fluxo principal cuja quota de mercado é de pelo menos 5 existem?
1,054
SELECT name FROM browser ORDER BY market_share DESC
List the name of browsers in descending order by market share.
CREATE TABLE browser (name VARCHAR, market_share VARCHAR)
Liste o nome dos navegadores em ordem decrescente por participação de mercado.
1,055
SELECT id, name, market_share FROM browser
List the ids, names and market shares of all browsers.
CREATE TABLE browser (id VARCHAR, name VARCHAR, market_share VARCHAR)
Liste os IDs, nomes e market shares de todos os navegadores.
1,056
SELECT MAX(market_share), MIN(market_share), AVG(market_share) FROM browser
What is the maximum, minimum and average market share of the listed browsers?
CREATE TABLE browser (market_share INTEGER)
Qual é a quota de mercado máxima, mínima e média dos navegadores listados?
1,057
SELECT id, market_share FROM browser WHERE name = 'Safari'
What is the id and market share of the browser Safari?
CREATE TABLE browser (id VARCHAR, market_share VARCHAR, name VARCHAR)
Qual é o ID e a quota de mercado do navegador Safari?
1,058
SELECT name, operating_system FROM web_client_accelerator WHERE CONNECTION <> 'Broadband'
What are the name and os of web client accelerators that do not work with only a 'Broadband' type connection?
CREATE TABLE web_client_accelerator (name VARCHAR, operating_system VARCHAR, CONNECTION VARCHAR)
Quais são o nome e os de aceleradores de clientes web que não funcionam apenas com uma conexão de tipo 'Broadband'?
1,059
SELECT T1.name FROM browser AS T1 JOIN accelerator_compatible_browser AS T2 ON T1.id = T2.browser_id JOIN web_client_accelerator AS T3 ON T2.accelerator_id = T3.id WHERE T3.name = 'CProxy' AND T2.compatible_since_year > 1998
What is the name of the browser that became compatible with the accelerator 'CProxy' after year 1998 ?
CREATE TABLE accelerator_compatible_browser (browser_id VARCHAR, accelerator_id VARCHAR, compatible_since_year VARCHAR); CREATE TABLE web_client_accelerator (id VARCHAR, name VARCHAR); CREATE TABLE browser (name VARCHAR, id VARCHAR)
Qual é o nome do navegador que se tornou compatível com o acelerador 'CProxy' após o ano de 1998?
1,060
SELECT T1.id, T1.Name FROM web_client_accelerator AS T1 JOIN accelerator_compatible_browser AS T2 ON T2.accelerator_id = T1.id GROUP BY T1.id HAVING COUNT(*) >= 2
What are the ids and names of the web accelerators that are compatible with two or more browsers?
CREATE TABLE accelerator_compatible_browser (accelerator_id VARCHAR); CREATE TABLE web_client_accelerator (id VARCHAR, Name VARCHAR)
Quais são os IDs e nomes dos aceleradores da Web compatíveis com dois ou mais navegadores?
1,061
SELECT T1.id, T1.name FROM browser AS T1 JOIN accelerator_compatible_browser AS T2 ON T1.id = T2.browser_id GROUP BY T1.id ORDER BY COUNT(*) DESC LIMIT 1
What is the id and name of the browser that is compatible with the most web accelerators?
CREATE TABLE browser (id VARCHAR, name VARCHAR); CREATE TABLE accelerator_compatible_browser (browser_id VARCHAR)
Qual é o ID e o nome do navegador que é compatível com a maioria dos aceleradores da Web?
1,062
SELECT T1.compatible_since_year FROM accelerator_compatible_browser AS T1 JOIN browser AS T2 ON T1.browser_id = T2.id JOIN web_client_accelerator AS T3 ON T1.accelerator_id = T3.id WHERE T3.name = 'CACHEbox' AND T2.name = 'Internet Explorer'
When did the web accelerator 'CACHEbox' and browser 'Internet Explorer' become compatible?
CREATE TABLE accelerator_compatible_browser (compatible_since_year VARCHAR, browser_id VARCHAR, accelerator_id VARCHAR); CREATE TABLE browser (id VARCHAR, name VARCHAR); CREATE TABLE web_client_accelerator (id VARCHAR, name VARCHAR)
Quando o acelerador web 'CACHEbox' e o navegador 'Internet Explorer' se tornaram compatíveis?
1,063
SELECT COUNT(DISTINCT client) FROM web_client_accelerator
How many different kinds of clients are supported by the web clients accelerators?
CREATE TABLE web_client_accelerator (client VARCHAR)
Quantos tipos diferentes de clientes são suportados pelos aceleradores de clientes da Web?
1,064
SELECT COUNT(*) FROM web_client_accelerator WHERE NOT id IN (SELECT accelerator_id FROM accelerator_compatible_browser)
How many accelerators are not compatible with the browsers listed ?
CREATE TABLE accelerator_compatible_browser (id VARCHAR, accelerator_id VARCHAR); CREATE TABLE web_client_accelerator (id VARCHAR, accelerator_id VARCHAR)
Quantos aceleradores não são compatíveis com os navegadores listados?
1,065
SELECT DISTINCT T1.name FROM web_client_accelerator AS T1 JOIN accelerator_compatible_browser AS T2 ON T2.accelerator_id = T1.id JOIN browser AS T3 ON T2.browser_id = T3.id WHERE T3.market_share > 15
What distinct accelerator names are compatible with the browswers that have market share higher than 15?
CREATE TABLE web_client_accelerator (name VARCHAR, id VARCHAR); CREATE TABLE accelerator_compatible_browser (accelerator_id VARCHAR, browser_id VARCHAR); CREATE TABLE browser (id VARCHAR, market_share INTEGER)
Quais nomes distintos de aceleradores são compatíveis com os browswers que têm participação de mercado superior a 15?
1,066
SELECT T3.name FROM web_client_accelerator AS T1 JOIN accelerator_compatible_browser AS T2 ON T2.accelerator_id = T1.id JOIN browser AS T3 ON T2.browser_id = T3.id WHERE T1.name = 'CACHEbox' INTERSECT SELECT T3.name FROM web_client_accelerator AS T1 JOIN accelerator_compatible_browser AS T2 ON T2.accelerator_id = T1.id JOIN browser AS T3 ON T2.browser_id = T3.id WHERE T1.name = 'Fasterfox'
List the names of the browser that are compatible with both 'CACHEbox' and 'Fasterfox'.
CREATE TABLE accelerator_compatible_browser (accelerator_id VARCHAR, browser_id VARCHAR); CREATE TABLE web_client_accelerator (id VARCHAR, name VARCHAR); CREATE TABLE browser (name VARCHAR, id VARCHAR)
Listar os nomes do navegador que são compatíveis com 'CACHEbox' e 'Fasterfox'.
1,067
SELECT name, operating_system FROM web_client_accelerator EXCEPT SELECT T1.name, T1.operating_system FROM web_client_accelerator AS T1 JOIN accelerator_compatible_browser AS T2 ON T2.accelerator_id = T1.id JOIN browser AS T3 ON T2.browser_id = T3.id WHERE T3.name = 'Opera'
Show the accelerator names and supporting operating systems that are not compatible with the browser named 'Opera'.
CREATE TABLE browser (id VARCHAR, name VARCHAR); CREATE TABLE web_client_accelerator (name VARCHAR, operating_system VARCHAR); CREATE TABLE accelerator_compatible_browser (accelerator_id VARCHAR, browser_id VARCHAR); CREATE TABLE web_client_accelerator (name VARCHAR, operating_system VARCHAR, id VARCHAR)
Mostre os nomes do acelerador e os sistemas operacionais de suporte que não são compatíveis com o navegador chamado 'Opera'.
1,068
SELECT name FROM web_client_accelerator WHERE name LIKE "%Opera%"
Which accelerator name contains substring "Opera"?
CREATE TABLE web_client_accelerator (name VARCHAR)
Qual nome do acelerador contém a substring "Opera"?
1,069
SELECT Operating_system, COUNT(*) FROM web_client_accelerator GROUP BY Operating_system
Find the number of web accelerators used for each Operating system.
CREATE TABLE web_client_accelerator (Operating_system VARCHAR)
Encontre o número de aceleradores da Web usados para cada sistema operacional.
1,070
SELECT T2.name, T3.name FROM accelerator_compatible_browser AS T1 JOIN browser AS T2 ON T1.browser_id = T2.id JOIN web_client_accelerator AS T3 ON T1.accelerator_id = T3.id ORDER BY T1.compatible_since_year DESC
give me names of all compatible browsers and accelerators in the descending order of compatible year
CREATE TABLE accelerator_compatible_browser (browser_id VARCHAR, accelerator_id VARCHAR, compatible_since_year VARCHAR); CREATE TABLE web_client_accelerator (name VARCHAR, id VARCHAR); CREATE TABLE browser (name VARCHAR, id VARCHAR)
me dê nomes de todos os navegadores e aceleradores compatíveis na ordem decrescente do ano compatível
1,071
SELECT COUNT(*) FROM wrestler
How many wrestlers are there?
CREATE TABLE wrestler (Id VARCHAR)
Quantos lutadores existem?
1,072
SELECT Name FROM wrestler ORDER BY Days_held DESC
List the names of wrestlers in descending order of days held.
CREATE TABLE wrestler (Name VARCHAR, Days_held VARCHAR)
Liste os nomes dos lutadores em ordem decrescente de dias.
1,073
SELECT Name FROM wrestler ORDER BY Days_held LIMIT 1
What is the name of the wrestler with the fewest days held?
CREATE TABLE wrestler (Name VARCHAR, Days_held VARCHAR)
Qual é o nome do lutador com o menor número de dias?
1,074
SELECT DISTINCT Reign FROM wrestler WHERE LOCATION <> "Tokyo , Japan"
What are the distinct reigns of wrestlers whose location is not "Tokyo,Japan" ?
CREATE TABLE wrestler (Reign VARCHAR, LOCATION VARCHAR)
Quais são os reinados distintos de lutadores cuja localização não é "Tóquio, Japão" ?
1,075
SELECT Name, LOCATION FROM wrestler
What are the names and location of the wrestlers?
CREATE TABLE wrestler (Name VARCHAR, LOCATION VARCHAR)
Quais são os nomes e a localização dos lutadores?
1,076
SELECT Elimination_Move FROM Elimination WHERE Team = "Team Orton"
What are the elimination moves of wrestlers whose team is "Team Orton"?
CREATE TABLE Elimination (Elimination_Move VARCHAR, Team VARCHAR)
Quais são os movimentos de eliminação de lutadores cuja equipe é "Team Orton"?
1,077
SELECT T2.Name, T1.Elimination_Move FROM elimination AS T1 JOIN wrestler AS T2 ON T1.Wrestler_ID = T2.Wrestler_ID
What are the names of wrestlers and the elimination moves?
CREATE TABLE wrestler (Name VARCHAR, Wrestler_ID VARCHAR); CREATE TABLE elimination (Elimination_Move VARCHAR, Wrestler_ID VARCHAR)
Quais são os nomes dos lutadores e os movimentos de eliminação?
1,078
SELECT T2.Name, T1.Team FROM elimination AS T1 JOIN wrestler AS T2 ON T1.Wrestler_ID = T2.Wrestler_ID ORDER BY T2.Days_held DESC
List the names of wrestlers and the teams in elimination in descending order of days held.
CREATE TABLE elimination (Team VARCHAR, Wrestler_ID VARCHAR); CREATE TABLE wrestler (Name VARCHAR, Wrestler_ID VARCHAR, Days_held VARCHAR)
Liste os nomes dos lutadores e das equipes em eliminação em ordem decrescente de dias.
1,079
SELECT T1.Time FROM elimination AS T1 JOIN wrestler AS T2 ON T1.Wrestler_ID = T2.Wrestler_ID ORDER BY T2.Days_held DESC LIMIT 1
List the time of elimination of the wrestlers with largest days held.
CREATE TABLE wrestler (Wrestler_ID VARCHAR, Days_held VARCHAR); CREATE TABLE elimination (Time VARCHAR, Wrestler_ID VARCHAR)
Liste o tempo de eliminação dos lutadores com os maiores dias realizados.
1,080
SELECT T1.Time FROM elimination AS T1 JOIN wrestler AS T2 ON T1.Wrestler_ID = T2.Wrestler_ID WHERE T2.Days_held > 50
Show times of elimination of wrestlers with days held more than 50.
CREATE TABLE wrestler (Wrestler_ID VARCHAR, Days_held INTEGER); CREATE TABLE elimination (Time VARCHAR, Wrestler_ID VARCHAR)
Show times of elimination of wrestlers with days realizou mais de 50.
1,081
SELECT Team, COUNT(*) FROM elimination GROUP BY Team
Show different teams in eliminations and the number of eliminations from each team.
CREATE TABLE elimination (Team VARCHAR)
Mostrar equipes diferentes em eliminações e o número de eliminações de cada equipe.
1,082
SELECT Team FROM elimination GROUP BY Team HAVING COUNT(*) > 3
Show teams that have suffered more than three eliminations.
CREATE TABLE elimination (Team VARCHAR)
Mostrar equipes que sofreram mais de três eliminações.
1,083
SELECT Reign, Days_held FROM wrestler
Show the reign and days held of wrestlers.
CREATE TABLE wrestler (Reign VARCHAR, Days_held VARCHAR)
Mostre o reinado e os dias dos lutadores.
1,084
SELECT Name FROM wrestler WHERE Days_held < 100
What are the names of wrestlers days held less than 100?
CREATE TABLE wrestler (Name VARCHAR, Days_held INTEGER)
Quais são os nomes dos dias dos lutadores com menos de 100 anos?
1,085
SELECT Reign FROM wrestler GROUP BY Reign ORDER BY COUNT(*) DESC LIMIT 1
Please show the most common reigns of wrestlers.
CREATE TABLE wrestler (Reign VARCHAR)
Por favor, mostre os reinados mais comuns de lutadores.
1,086
SELECT LOCATION FROM wrestler GROUP BY LOCATION HAVING COUNT(*) > 2
List the locations that are shared by more than two wrestlers.
CREATE TABLE wrestler (LOCATION VARCHAR)
Liste os locais que são compartilhados por mais de dois lutadores.
1,087
SELECT Name FROM wrestler WHERE NOT Wrestler_ID IN (SELECT Wrestler_ID FROM elimination)
List the names of wrestlers that have not been eliminated.
CREATE TABLE elimination (Name VARCHAR, Wrestler_ID VARCHAR); CREATE TABLE wrestler (Name VARCHAR, Wrestler_ID VARCHAR)
Liste os nomes dos lutadores que não foram eliminados.
1,088
SELECT Team FROM Elimination WHERE Eliminated_By = "Orton" INTERSECT SELECT Team FROM Elimination WHERE Eliminated_By = "Benjamin"
Show the teams that have both wrestlers eliminated by "Orton" and wrestlers eliminated by "Benjamin".
CREATE TABLE Elimination (Team VARCHAR, Eliminated_By VARCHAR)
Mostre as equipes que têm ambos os lutadores eliminados por "Orton" e lutadores eliminados por "Benjamin".
1,089
SELECT COUNT(DISTINCT team) FROM elimination
What is the number of distinct teams that suffer elimination?
CREATE TABLE elimination (team VARCHAR)
Qual é o número de equipes distintas que sofrem eliminação?
1,090
SELECT TIME FROM elimination WHERE Eliminated_By = "Punk" OR Eliminated_By = "Orton"
Show the times of elimination by "Punk" or "Orton".
CREATE TABLE elimination (TIME VARCHAR, Eliminated_By VARCHAR)
Mostre os tempos de eliminação por "Punk" ou "Orton".
1,091
SELECT COUNT(*) FROM school
How many schools are there?
CREATE TABLE school (Id VARCHAR)
Quantas escolas existem?
1,092
SELECT school_name FROM school ORDER BY school_name
Show all school names in alphabetical order.
CREATE TABLE school (school_name VARCHAR)
Mostre todos os nomes das escolas em ordem alfabética.
1,093
SELECT school_name, LOCATION, mascot FROM school
List the name, location, mascot for all schools.
CREATE TABLE school (school_name VARCHAR, LOCATION VARCHAR, mascot VARCHAR)
Liste o nome, localização, mascote para todas as escolas.
1,094
SELECT SUM(enrollment), AVG(enrollment) FROM school
What are the total and average enrollment of all schools?
CREATE TABLE school (enrollment INTEGER)
Quais são as matrículas totais e médias de todas as escolas?
1,095
SELECT mascot FROM school WHERE enrollment > (SELECT AVG(enrollment) FROM school)
What are the mascots for schools with enrollments above the average?
CREATE TABLE school (mascot VARCHAR, enrollment INTEGER)
Quais são os mascotes para escolas com matrículas acima da média?
1,096
SELECT school_name FROM school ORDER BY enrollment LIMIT 1
List the name of the school with the smallest enrollment.
CREATE TABLE school (school_name VARCHAR, enrollment VARCHAR)
Liste o nome da escola com a menor inscrição.
1,097
SELECT AVG(enrollment), MAX(enrollment), MIN(enrollment) FROM school
Show the average, maximum, minimum enrollment of all schools.
CREATE TABLE school (enrollment INTEGER)
Mostre a matrícula média, máxima e mínima de todas as escolas.
1,098
SELECT county, COUNT(*), SUM(enrollment) FROM school GROUP BY county
Show each county along with the number of schools and total enrollment in each county.
CREATE TABLE school (county VARCHAR, enrollment INTEGER)
Mostrar cada município, juntamente com o número de escolas e matrícula total em cada condado.
1,099
SELECT COUNT(DISTINCT T1.donator_name) FROM endowment AS T1 JOIN school AS T2 ON T1.school_id = T2.school_id WHERE T2.school_name = "Glenn"
How many donors have endowment for school named "Glenn"?
CREATE TABLE school (school_id VARCHAR, school_name VARCHAR); CREATE TABLE endowment (donator_name VARCHAR, school_id VARCHAR)
Quantos doadores têm dotação para a escola chamada "Glenn"?