Chinastark/bird_dataset huggingface dataset:
Database: shipping
Note: "7052 Carroll Road" is the address of customer; 'San Diego' is the city; 'California' is the state;
Question: What is the address of the driver that delivers the shipment for the customer lives at 7052 Carroll Road, San Diego, California?
SQL: SELECT driver.address FROM shipment INNER JOIN customer ON shipment.cust_id = customer.cust_id INNER JOIN driver ON driver.driver_id = shipment.driver_id WHERE customer.address = '7052 Carroll Road' AND customer.city = 'San Diego' AND customer.state = 'CA'
Database: shipping
Note: delivered in 2017 refers to Cast(ship_date AS DATE) = 2017;
Question: Among the shipments delivered by Maria Craft, how many shipments were delivered in 2017?
SQL: SELECT count(*) FROM shipment INNER JOIN driver ON shipment.driver_id = driver.driver_id WHERE driver.first_name = 'Maria' AND driver.last_name = 'Craft' AND strftime('%Y', shipment.ship_date) = '2017'
Database: shipping
Question: What is the truck's model year used to ship the ship ID 1245?
SQL: SELECT truck.model_year FROM truck INNER JOIN shipment ON truck.truck_id = shipment.truck_id WHERE shipment.ship_id = '1245'
Database: shipping
Note: live refers to address;
Question: Where does the driver of ship ID 1127 live?
SQL: SELECT driver.address FROM shipment INNER JOIN driver ON shipment.driver_id = driver.driver_id WHERE shipment.ship_id = '1127'
Database: shipping
Question: Give the annual revenue of the customer of ship ID 1047.
SQL: SELECT customer.annual_revenue FROM shipment INNER JOIN customer ON shipment.cust_id = customer.cust_id WHERE shipment.ship_id = '1047'
Database: shipping
Note: on March 7, 2016 refers to ship_date = '2016-03-07';
Question: What is the weight of the shipment delivered by Andrea Simons on March 7, 2016?
SQL: SELECT shipment.weight FROM shipment INNER JOIN driver ON shipment.driver_id = driver.driver_id WHERE driver.first_name = 'Andrea' AND driver.last_name = 'Simons' AND shipment.ship_date = '2016-03-07'
Database: shipping
Note: January 16, 2017 refers to ship_date = '2017-01-16'; city refers to city_name;
Question: Provide the destination city of the shipment shipped by January 16, 2017.
SQL: SELECT city.city_name FROM shipment INNER JOIN city ON shipment.city_id = city.city_id WHERE shipment.ship_date = '2017-01-16'
Database: shipping
Note: "New York" refers to state = 'NY';
Question: How many shipments were delivered to a customer from New York?
SQL: SELECT count(*) FROM shipment INNER JOIN customer ON shipment.cust_id = customer.cust_id WHERE customer.state = 'NY'
Database: shipping
Note: name of customer refers to cust_name;
Question: What is the name of the customer of ship ID 1147?
SQL: SELECT customer.cust_name FROM shipment INNER JOIN customer ON shipment.cust_id = customer.cust_id WHERE shipment.ship_id = '1147'
Database: shipping
Note: most populated city refers to Max(population);
Question: List the ship ID of shipments shipped to the most populated city.
SQL: SELECT shipment.ship_id FROM shipment INNER JOIN city ON shipment.city_id = city.city_id ORDER BY city.population DESC LIMIT 1
Database: shipping
Note: on February 22, 2016 refers to ship_date = '2016-02-22'; driver's name refers to first_name, last_name;
Question: List the driver's name of the shipment shipped on February 22, 2016.
SQL: SELECT driver.first_name, driver.last_name FROM shipment INNER JOIN driver ON shipment.driver_id = driver.driver_id WHERE shipment.ship_date = '2016-02-22'
Database: shipping
Question: List the weight of the customer's shipment with annual revenue of 39448581.
SQL: SELECT shipment.weight FROM shipment INNER JOIN customer ON shipment.cust_id = customer.cust_id WHERE customer.annual_revenue = 39448581
Database: shipping
Question: What is the customer's address for the shipment with ship ID 1117?
SQL: SELECT customer.address FROM shipment INNER JOIN customer ON shipment.cust_id = customer.cust_id WHERE shipment.ship_id = '1117'
Database: shipping
Note: "Texas" refers to state = 'TX'; shipped in 2017 refers to CAST(ship_date AS DATE) = 2017; percentage = Divide (Count (ship_id where CAST(ship_date AS DATE) = 2017), Count (ship_id)) * 100;
Question: Among the shipments to a customer from Texas, what percentage of the shipments shipped in 2017?
SQL: SELECT cast(sum(CASE WHEN strftime('%Y', shipment.ship_date) = '2017' THEN 1 ELSE 0 END) AS REAL ) * 100 / count(*) FROM shipment INNER JOIN customer ON shipment.cust_id = customer.cust_id WHERE customer.state = 'TX'
Database: shipping
Note: "2005" and "2006" are both model_year of truck; difference = Subtract (Count (ship_id where model_year = 2005), Count(ship_id where model_year = 2006));
Question: Calculate the difference between the number of shipments shipped by the truck with the model year 2005 and model year 2006.
SQL: SELECT sum(CASE WHEN truck.model_year = '2005' THEN 1 ELSE 0 END) - sum(CASE WHEN truck.model_year = '2006' THEN 1 ELSE 0 END) FROM truck INNER JOIN shipment ON truck.truck_id = shipment.truck_id
Database: shipping
Note: weight greater than 95% of average weight refers to weight > Multiply (AVG(weight), 0.95); driver name refers to first_name, last_name;
Question: List the driver's name of the shipment with a weight greater than 95% of the average weight of all shipments.
SQL: SELECT driver.first_name, driver.last_name FROM shipment INNER JOIN driver ON shipment.driver_id = driver.driver_id WHERE shipment.weight * 100 > ( SELECT 95 * avg(weight) FROM shipment )
Database: language_corpus
Note: longest title refers to max(length(title));
Question: Name the longest Catalan language Wikipedia page title and state the number of different words in this page.
SQL: SELECT title, words FROM pages WHERE title = ( SELECT max(length(title)) FROM pages )
Database: language_corpus
Note: less than 10 number of different words refers to words < 10;
Question: List all the Catalan language wikipedia page title with less than 10 number of different words in these pages.
SQL: SELECT title FROM pages WHERE words < 10
Database: language_corpus
Note: containing the word 'Art' refers to title LIKE '% Art %';
Question: List the page number for Catalan language wikipedia pages containing the word 'Art' in the page title.
SQL: SELECT page FROM pages WHERE title LIKE 'Art%' OR title LIKE '%Art%' OR title LIKE '%Art'
Database: language_corpus
Note: revision page id '16203226' refers to revision = 16203226;
Question: What is the title of Catalan language wikipedia page with revision page id '16203226'?
SQL: SELECT title FROM pages WHERE revision = 16203226
Database: language_corpus
Note: from revision page id 106600 to 106700 refers to revision BETWEEN 106600 AND 106700;
Question: List the titles for all Catalan language wikipedia page from revision page id 106600 to 106700.
SQL: SELECT title FROM pages WHERE revision BETWEEN 106600 AND 106700
Database: language_corpus
Note: between 1000 to 2000 number of different words refers to words BETWEEN 1000 AND 2000;
Question: How many Catalan language wikipedia pages have between 1000 to 2000 number of different words?
SQL: SELECT count(pid) FROM pages WHERE words BETWEEN 1000 AND 2000
Database: language_corpus
Note: have the appearance of 'decimal' refers to word = 'decimal';
Question: List the page id of wikipedia about Catalan language which have the appearance of the word 'decimal'?
SQL: SELECT pages_words.pid FROM words INNER JOIN pages_words ON words.wid = pages_words.wid WHERE words.word = 'decimal'
Database: language_corpus
Note: most occurrences refers to max(occurrences);
Question: Which word has the most occurrences within the same page of wikipedia about Catalan language?
SQL: SELECT words.word FROM words INNER JOIN pages_words ON words.wid = pages_words.wid WHERE pages_words.occurrences = ( SELECT max(occurrences) FROM pages_words )
Database: language_corpus
Note: first words refer to w1st.word; second word is 'antic' refers to w2nd.word = 'antic';
Question: List all the first words of the biwords pair where the second word is 'antic'.
SQL: SELECT words.word FROM words INNER JOIN biwords ON words.wid = biwords.w1st WHERE biwords.w2nd = ( SELECT wid FROM words WHERE word = 'antic' )
Database: language_corpus
Note: word 'quipu' appears refers to word = 'quipu';
Question: Show all the title of pages and number of occurences for each page where the word 'quipu' appears.
SQL: SELECT pages.title, pages_words.occurrences FROM pages INNER JOIN pages_words ON pages.pid = pages_words.pid INNER JOIN words ON pages_words.wid = words.wid WHERE words.word = 'quipu'
Database: language_corpus
Note: average word occurrences = divide(sum(occurrences), count(occurrences)); ‘system’ appeared as the first word refers to w1st = 'system';
Question: Calculate the average number of the word occurrences in which ‘system’ appeared as the first word in the pair.
SQL: SELECT avg(biwords.occurrences) FROM words INNER JOIN biwords ON words.wid = biwords.w1st WHERE biwords.w1st = ( SELECT wid FROM words WHERE word = 'sistema' )
Database: language_corpus
Note: total pages refers to sum(pages); Catalan language refers to lang = 'ca';
Question: What is the total pages of Wikipedia in Catalan language?
SQL: SELECT pages FROM langs WHERE lang = 'ca'
Database: language_corpus
Note: biwords pair refers to w1st.word w2nd.word; appeared the most refers to max(occurrences);
Question: In the Catalan language, which biwords pair appeared the most in this language/page?
SQL: SELECT w1st, w2nd FROM biwords WHERE occurrences = ( SELECT max(occurrences) FROM biwords )
Database: language_corpus
Note: word id refers to wid; repeated no more than 10 times refers to occurrences <= 10;
Question: What is the word id of the catalan language that was repeated no more than 10 times in the said language?
SQL: SELECT wid FROM langs_words WHERE occurrences <= 10
Database: language_corpus
Note: highest number of different words refers to max(words);
Question: What is the title of the Catalan language Wikipedia page that has the highest number of different words?
SQL: SELECT title FROM pages WHERE words = ( SELECT max(words) FROM pages )
Database: language_corpus
Note: page id refers to pid; Arqueozoologia refers to title = 'Arqueozoologia';
Question: What is the wikipedia page id of Arqueozoologia?
SQL: SELECT page FROM pages WHERE title = 'Arqueozoologia'
Database: language_corpus
Note: Abadia refers to title = 'Abadia'; word id refers to wid; the highest amount of times refers to max(occurrences);
Question: In Abadia, what is the word id of the of the Catalan language that appeared the highest amount of times? Indicate the how many times did they said word id appeared.
SQL: SELECT pages_words.wid, pages_words.occurrences FROM pages INNER JOIN pages_words ON pages.pid = pages_words.pid WHERE pages.title = 'Abadia' ORDER BY pages_words.occurrences DESC LIMIT 1
Database: language_corpus
Note: least number of different words refers to min(words); word id refers to wid; appeared the most refers to max(occurrences);
Question: What are the titles of the top 5 Catalan language Wikipedia page with the least number of different words? Indicate each title's word id that has appeared the most in the said pages.
SQL: SELECT pages.title FROM pages INNER JOIN pages_words ON pages.pid = pages_words.pid ORDER BY pages.words LIMIT 5
Database: language_corpus
Note: times appeared refers to occurrences; word pair "i" and "a" refers to w1st.word = 'i' w2st.word = 'a';
Question: How many times did the word pair "i" and "a" appeared in the Cataln language/page?
SQL: SELECT sum(occurrences) FROM biwords WHERE w1st = 86 AND w2nd = 109
Database: language_corpus
Note: word pair refers to w1st.word w2nd.word; occured only twice refers to occurrences = 2;
Question: What are the word pairs that occured only twice?
SQL: SELECT words.word, words.word FROM words INNER JOIN biwords ON words.wid = biwords.w1st INNER JOIN words ON words.wid = biwords.w2nd WHERE biwords.occurrences = 2
Database: language_corpus
Note: word pair refers to w1st.word w2nd.word; occurred the highest amount of times refers to max(occurrences); Addicio refers to title = 'Addicio'; times occurred refer to occurrences;
Question: What is the word pair that occured the highest amount of times in Addicio? Indicate how many times such word pair occured.
SQL: SELECT biwords.w1st, biwords.w2nd, biwords.occurrences FROM pages INNER JOIN pages_words ON pages.pid = pages_words.pid INNER JOIN biwords ON pages_words.wid = biwords.w1st OR pages_words.wid = biwords.w2nd WHERE pages.title = 'Addicio' ORDER BY biwords.occurrences DESC LIMIT 1
Database: language_corpus
Note: total word refers to sum(words); title "Adam" and "Acampada" refers to title IN('Adam','Acampada');
Question: What is the total word of title "Adam" and "Acampada"?
SQL: SELECT sum(words) FROM pages WHERE title IN ('Adam', 'Acampada')
Database: language_corpus
Note: title "Aigua dolÃ§a" refers to title LIKE 'Aigua dolÃ§a%';
Question: What is the revision page ID of title "Aigua dolÃ§a"?
SQL: SELECT revision FROM pages WHERE title = 'Aigua dolÃ§a'
Database: language_corpus
Note: most words refers to max(words);
Question: What is the title of corpus with most words?
SQL: SELECT title FROM pages WHERE words = ( SELECT max(words) FROM pages )
Database: language_corpus
Note: average words = avg(words); 10 fewest words refers to words >= 10;
Question: What is the average words of the 10 fewest words title?
SQL: SELECT cast(sum(CASE WHEN words >= 10 THEN words ELSE 0 END) AS REAL) / sum(CASE WHEN words >= 10 THEN 1 ELSE 0 END) FROM pages
Database: language_corpus
Note: single digit word count refers to words < 10;
Question: Among the title with single digit word count, list down 5 revision page ID of these titles.
SQL: SELECT revision FROM pages WHERE words < 10 LIMIT 5
Database: language_corpus
Note: start with alphabet "b" refers to title LIKE 'b%';
Question: List down the page id of titles start with alphabet "b".
SQL: SELECT pid FROM pages WHERE title LIKE 'b%'
Database: language_corpus
Note: This is not;
Question: What is the title of corpus where word "desena" appear?
SQL: SELECT pages.title FROM pages INNER JOIN pages_words ON pages.pid = pages_words.pid INNER JOIN words ON pages_words.wid = words.wid WHERE words.word = 'desena'
Database: language_corpus
Note: word id refers to wid;
Question: What is the word id for title "Sometent"?
SQL: SELECT pages_words.wid FROM pages INNER JOIN pages_words ON pages.pid = pages_words.pid WHERE pages.title = 'Sometent'
Database: language_corpus
Note: word id "88" refers to wid = 88;
Question: Is word id "88" the word id for title "Animals"?
SQL: SELECT CASE WHEN count(pages.pid) > 0 THEN 'YES' ELSE 'NO' END AS yorn FROM pages INNER JOIN pages_words ON pages.pid = pages_words.pid WHERE pages_words.wid = 88 AND pages.title = 'Animals'
Database: language_corpus
Note: This is not;
Question: What are the occurance of word "del" in title "Any anomalÃ­stic"?
SQL: SELECT pages_words.occurrences FROM words INNER JOIN pages_words ON words.wid = pages_words.wid INNER JOIN pages ON pages_words.pid = pages.pid WHERE words.word = 'del' AND pages.title = 'Any anomalÃ­stic'
Database: language_corpus
Note: biword pair refers to w1st.word w2nd.word; occurrence of 4 refers to occurrences = 4;
Question: State one biword pair with occurence of 4.
SQL: SELECT words.word, words.word FROM words INNER JOIN biwords ON words.wid = biwords.w1st INNER JOIN words ON words.wid = biwords.w2nd WHERE biwords.occurrences = 4 LIMIT 1
Database: language_corpus
Note: total occurrence refers to sum(occurrences); paired with "nombre" refers to w1st.word = "nombre" or w2nd.word = "nombre";
Question: What are the total occurence of words that paired with "nombre"?
SQL: SELECT sum(biwords.occurrences) FROM words INNER JOIN biwords ON words.wid = biwords.w1st OR words.wid = biwords.w2nd WHERE biwords.w1st IN (( SELECT wid FROM words WHERE word = 'nombre' ) OR biwords.w2nd IN ( SELECT wid FROM words WHERE word = 'nombre' ))
Database: language_corpus
Note: pair with "John" refers to w1st.word = "John" or w2nd.word = "John";
Question: What are the words that were paired with "John", list down 10 of them.
SQL: SELECT w2nd FROM biwords WHERE w1st = ( SELECT wid FROM words WHERE word = 'john' ) LIMIT 10
Database: language_corpus
Note: page id refers to pid; "fresc" refers to word = 'fresc';
Question: List down the revision page id of titles where "fresc" appears.
SQL: SELECT pages.revision FROM words INNER JOIN pages_words ON words.wid = pages_words.wid INNER JOIN pages ON pages_words.pid = pages.pid WHERE words.word = 'fresc'
Database: language_corpus
Note: word id from 1 to 10 refers to wid BETWEEN 1 AND 10;
Question: List down the words with word id from 1 to 10 and write down a paired word for each of them.
SQL: SELECT words.word AS w1, words.word AS w2 FROM words LEFT JOIN biwords ON words.wid = biwords.w1st LEFT JOIN words ON words.wid = biwords.w2nd WHERE words.wid <= 10 GROUP BY words.wid
Database: language_corpus
Note: total occurrences refers to sum(occurrences);
Question: For corpus title "Atomium", pick 3 words appear in the title and calculate the total occurence of these words.
SQL: SELECT words.word, words.occurrences FROM words INNER JOIN pages_words ON words.wid = pages_words.wid WHERE pages_words.pid = ( SELECT pid FROM pages WHERE title = 'Atomium' ) LIMIT 3
Database: language_corpus
Note: repeated the most times refer to MAX(occurrences);
Question: Indicate which is the word that is repeated the most times.
SQL: SELECT word FROM words WHERE occurrences = ( SELECT max(occurrences) FROM words )
Database: language_corpus
Note: the page id of Wikipedia refers to pid; numeric value contains only numbers, LIKE '%0%' OR '%1%' OR '%2%' OR '%3%' OR '%4%' OR '%5%' OR '%6%' OR '%7%' OR '%8%' OR '%9%';
Question: Indicate the page id of Wikipedia about Catalan language of all the pages that have a numeric value in their title.
SQL: SELECT pid, title FROM pages WHERE title LIKE '%0%' OR '%1%' OR '%2%' OR '%3%' OR '%4%' OR '%5%' OR '%6%' OR '%7%' OR '%8%' OR '%9%'
Database: language_corpus
Note: has the fewest words refers to MIN(COUNT(words));
Question: What is the title of the page that has the fewest words?
SQL: SELECT title FROM pages WHERE title = ( SELECT min(words) FROM pages )
Database: language_corpus
Note: repeated the most times refer to MAX(occurrences); pair is a relationship of two words: w1st and w2nd, where w1st is word id of the first word and w2nd is a word id of the second word;
Question: What is the pair of words that is repeated the most times? Identify them by their ID.
SQL: SELECT w1st, w2nd FROM biwords WHERE occurrences = ( SELECT max(occurrences) FROM biwords )
Database: language_corpus
Note: three-letter words are words composed of exactly three letters;
Question: How many total occurrences are there in the three-letter words?
SQL: SELECT sum(occurrences) FROM words WHERE length(word) = 3
Database: language_corpus
Note: DIVIDE(SUM(words WHERE title = 'A%'), COUNT(words WHERE title = 'A%')) as percentage; A is a letter;
Question: Calculate the average number of different words that appear on all pages whose title begins with A.
SQL: SELECT avg(words) FROM pages WHERE title LIKE 'A%'
Database: language_corpus
Note: Pair is a relationship of two words: w1st and w2nd, where w1st is word id of the first word and w2nd is a word id of the second word; the first word id number 34 refers to w1st = 34; repetition refers to occurrences or times this pair appears; DIVIDE(SUM(occurrences where w1st = 34), COUNT(occurrences where w1st = 34));
Question: Calculate the average number of repetitions in the pairs of words in which the first word id is number 34.
SQL: SELECT cast(sum(CASE WHEN w1st = 34 THEN 1 ELSE 0 END) AS REAL) / count(w1st) FROM biwords
Database: language_corpus
Note: DIVIDE(COUNT(pages WHERE words = 1500), COUNT(pages)) as percentage;
Question: Calculate the percentage of pages that have 1500 different words.
SQL: SELECT cast(count(CASE WHEN words = 1500 THEN 1 ELSE NULL END) AS REAL) * 100 / count(page) FROM pages WHERE words > 300 LIMIT 3
Database: language_corpus
Note: Pair is a relationship of two words: w1st and w2nd, where w1st is word id of the first word and w2nd is a word id of the second word; the same word appears in a pair refers to w1st = w2nd; times refers to occurrences; DIVIDE(COUNT(occurrences where w1st = w2nd), COUNT(occurrences)) as percentage;
Question: Calculate the percentage of times that the same word appears in a pair.
SQL: SELECT cast(count(CASE WHEN w1st = w2nd THEN 1 ELSE NULL END) AS REAL) * 100 / count(w1st) FROM biwords
Database: language_corpus
Note: This is not;
Question: Indicate the title of all the pages in which the word comunitat appears.
SQL: SELECT pages.title FROM words INNER JOIN pages_words ON words.wid = pages_words.wid INNER JOIN pages ON pages_words.pid = pages.pid WHERE words.word = 'comunitat'
Database: language_corpus
Note: This is not;
Question: Indicate on how many different pages the word ripoll appears.
SQL: SELECT pages.page FROM words INNER JOIN pages_words ON words.wid = pages_words.wid INNER JOIN pages ON pages_words.pid = pages.pid WHERE words.word = 'ripoll'
Database: language_corpus
Note: title = 'Llista de conflictes armats'; How many repeated refers to occurrences;
Question: How many words are repeated on the Llista de conflictes armats page?
SQL: SELECT occurrences FROM pages_words WHERE pid = ( SELECT pid FROM pages WHERE title = 'Llista de conflictes armats' )
Database: language_corpus
Note: Pair is a relationship of two words: w1st and w2nd, where w1st is word id of the first word and w2nd is a word id of the second word;  w1st = word = 'fukunaga' or w2nd = word = 'fukunaga'; w1st = word = 'd'egees'or w2nd = word = 'd'egees';
Question: Indicate if there is any pair formed by the words fukunaga and d'egees.
SQL: SELECT CASE WHEN count(words.wid) > 0 THEN 'yes' ELSE 'no' END FROM words INNER JOIN biwords ON words.wid = biwords.w1st OR words.wid = biwords.w2nd WHERE biwords.w1st = ( SELECT wid FROM words WHERE words.word = 'fukunaga' ) AND biwords.w2nd = ( SELECT wid FROM words WHERE word LIKE 'd%egees' )
Database: language_corpus
Note: Repetition refers to occurrences; 100 different words refers to words = 100; DIVIDE(SUM(occurrences where words = 100), COUNT(page where words = 100)) as percentage;
Question: Calculate the average of repetitions in the pages that have a total of 100 different words.
SQL: SELECT cast(sum(pages_words.occurrences) AS REAL) / count(pages.page) FROM pages INNER JOIN pages_words ON pages.pid = pages_words.pid WHERE pages.words = 100
Database: language_corpus
Note: Wikipedia page number refers to page; title = 'Acampada';
Question: Which Wikipedia page number does the Catalan language's name, Acampada, appear on?
SQL: SELECT page FROM pages WHERE title = 'Acampada'
Database: language_corpus
Note: more than 300 words refers to words > 300;  list any three means limit 3; Wikipedia pages refers to page;
Question: Please list any three Wikipedia pages with more than 300 words.
SQL: SELECT page FROM pages WHERE words > 300 LIMIT 3
Database: language_corpus
Note: word number 8 refers to wid = 8; How many times refer to occurrences;
Question: How many times did the word number 8 appear?
SQL: SELECT occurrences FROM words WHERE wid = 8
Database: language_corpus
Note: most frequently occurring words refer to MAX(occurrences); id refers to wid;
Question: Please list the top three most frequently occurring words and their ids.
SQL: SELECT word, wid FROM words ORDER BY occurrences DESC LIMIT 3
Database: language_corpus
Note: How frequently refers to occurrences;  word 1 refers to wid = 1; word 25 refers to wid = 25; appear together means pair, which is a relationship of two words: w1st and w2nd, where w1st is word id of the first word and w2nd is a word id of the second word;  w1st or w2nd = wid = 1; w1st or w2nd = wid = 25;
Question: How frequently did the words 1 and 25 appear together?
SQL: SELECT occurrences FROM biwords WHERE w1st = 1 AND w2nd = 25
Database: language_corpus
Note: This is not;
Question: What number of words are there on revision page 27457362?
SQL: SELECT words FROM pages WHERE revision = 27457362