QIAN-ME/bird_schema_data huggingface dataset:
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 language_corpus
【Schema】
# Table: pages_words
[
(pid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(wid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(occurrences:INTEGER, Examples: [30, 8, 2])
]
# Table: pages
[
(pid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(lid:INTEGER, Examples: [1]),
(page:INTEGER, Examples: [1, 2, 8]),
(revision:INTEGER, Examples: [28236978, 24086480, 26230310]),
(title:TEXT, Examples: [Àbac, Abadia, Adagi]),
(words:INTEGER, Examples: [1081, 68, 304])
]
# Table: words
[
(wid:INTEGER, Primary Key, Examples: [2148990, 2506463, 154840]),
(word:TEXT, Examples: [+,2, +,33, +,4]),
(occurrences:INTEGER, Examples: [242, 16841, 48700])
]
# Table: langs
[
(lid:INTEGER, Primary Key, Examples: [1]),
(lang:TEXT, Examples: [ca]),
(locale:TEXT, Examples: [ca_ES]),
(pages:INTEGER, Examples: [1129144]),
(words:INTEGER, Examples: [2764996])
]
# Table: langs_words
[
(lid:INTEGER, Primary Key, Examples: [1]),
(wid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(occurrences:INTEGER, Examples: [242, 16841, 48700])
]
# Table: biwords
[
(lid:INTEGER, Primary Key, Examples: [1]),
(w1st:INTEGER, Primary Key, Examples: [1, 2, 3]),
(w2nd:INTEGER, Primary Key, Examples: [2, 4, 25]),
(occurrences:INTEGER, Examples: [4, 3, 13])
]
【Foreign keys】
pages_words.wid=words.wid
pages_words.pid=pages.pid
pages.lid=langs.lid
langs_words.wid=words.wid
langs_words.lid=langs.lid
biwords.w2nd=words.wid
biwords.w1st=words.wid
biwords.lid=langs.lid

    【Question】
    What is the word id for title "Sometent"? word id refers to wid

    【Evidence】
    word id refers to wid

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT T2.wid FROM pages AS T1 INNER JOIN pages_words AS T2 ON T1.pid = T2.pid WHERE T1.title = 'Sometent'
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 language_corpus
【Schema】
# Table: pages_words
[
(pid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(wid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(occurrences:INTEGER, Examples: [30, 8, 2])
]
# Table: pages
[
(pid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(lid:INTEGER, Examples: [1]),
(page:INTEGER, Examples: [1, 2, 8]),
(revision:INTEGER, Examples: [28236978, 24086480, 26230310]),
(title:TEXT, Examples: [Àbac, Abadia, Adagi]),
(words:INTEGER, Examples: [1081, 68, 304])
]
# Table: words
[
(wid:INTEGER, Primary Key, Examples: [2148990, 2506463, 154840]),
(word:TEXT, Examples: [+,2, +,33, +,4]),
(occurrences:INTEGER, Examples: [242, 16841, 48700])
]
# Table: langs
[
(lid:INTEGER, Primary Key, Examples: [1]),
(lang:TEXT, Examples: [ca]),
(locale:TEXT, Examples: [ca_ES]),
(pages:INTEGER, Examples: [1129144]),
(words:INTEGER, Examples: [2764996])
]
# Table: langs_words
[
(lid:INTEGER, Primary Key, Examples: [1]),
(wid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(occurrences:INTEGER, Examples: [242, 16841, 48700])
]
# Table: biwords
[
(lid:INTEGER, Primary Key, Examples: [1]),
(w1st:INTEGER, Primary Key, Examples: [1, 2, 3]),
(w2nd:INTEGER, Primary Key, Examples: [2, 4, 25]),
(occurrences:INTEGER, Examples: [4, 3, 13])
]
【Foreign keys】
pages_words.wid=words.wid
pages_words.pid=pages.pid
pages.lid=langs.lid
langs_words.wid=words.wid
langs_words.lid=langs.lid
biwords.w2nd=words.wid
biwords.w1st=words.wid
biwords.lid=langs.lid

    【Question】
    Is word id "88" the word id for title "Animals"? word id "88" refers to wid = 88

    【Evidence】
    word id "88" refers to wid = 88

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT CASE WHEN COUNT(T1.pid) > 0 THEN 'YES' ELSE 'NO' END AS YORN FROM pages AS T1 INNER JOIN pages_words AS T2 ON T1.pid = T2.pid WHERE T2.wid = 88 AND T1.title = 'Animals'
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 language_corpus
【Schema】
# Table: pages_words
[
(pid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(wid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(occurrences:INTEGER, Examples: [30, 8, 2])
]
# Table: pages
[
(pid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(lid:INTEGER, Examples: [1]),
(page:INTEGER, Examples: [1, 2, 8]),
(revision:INTEGER, Examples: [28236978, 24086480, 26230310]),
(title:TEXT, Examples: [Àbac, Abadia, Adagi]),
(words:INTEGER, Examples: [1081, 68, 304])
]
# Table: words
[
(wid:INTEGER, Primary Key, Examples: [2148990, 2506463, 154840]),
(word:TEXT, Examples: [+,2, +,33, +,4]),
(occurrences:INTEGER, Examples: [242, 16841, 48700])
]
# Table: langs
[
(lid:INTEGER, Primary Key, Examples: [1]),
(lang:TEXT, Examples: [ca]),
(locale:TEXT, Examples: [ca_ES]),
(pages:INTEGER, Examples: [1129144]),
(words:INTEGER, Examples: [2764996])
]
# Table: langs_words
[
(lid:INTEGER, Primary Key, Examples: [1]),
(wid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(occurrences:INTEGER, Examples: [242, 16841, 48700])
]
# Table: biwords
[
(lid:INTEGER, Primary Key, Examples: [1]),
(w1st:INTEGER, Primary Key, Examples: [1, 2, 3]),
(w2nd:INTEGER, Primary Key, Examples: [2, 4, 25]),
(occurrences:INTEGER, Examples: [4, 3, 13])
]
【Foreign keys】
pages_words.wid=words.wid
pages_words.pid=pages.pid
pages.lid=langs.lid
langs_words.wid=words.wid
langs_words.lid=langs.lid
biwords.w2nd=words.wid
biwords.w1st=words.wid
biwords.lid=langs.lid

    【Question】
    What are the occurance of word "del" in title "Any anomalÃ­stic"? This is not

    【Evidence】
    This is not

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT T2.occurrences FROM words AS T1 INNER JOIN pages_words AS T2 ON T1.wid = T2.wid INNER JOIN pages AS T3 ON T2.pid = T3.pid WHERE T1.word = 'del' AND T3.title = 'Any anomalÃ­stic'
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 language_corpus
【Schema】
# Table: pages_words
[
(pid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(wid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(occurrences:INTEGER, Examples: [30, 8, 2])
]
# Table: pages
[
(pid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(lid:INTEGER, Examples: [1]),
(page:INTEGER, Examples: [1, 2, 8]),
(revision:INTEGER, Examples: [28236978, 24086480, 26230310]),
(title:TEXT, Examples: [Àbac, Abadia, Adagi]),
(words:INTEGER, Examples: [1081, 68, 304])
]
# Table: words
[
(wid:INTEGER, Primary Key, Examples: [2148990, 2506463, 154840]),
(word:TEXT, Examples: [+,2, +,33, +,4]),
(occurrences:INTEGER, Examples: [242, 16841, 48700])
]
# Table: langs
[
(lid:INTEGER, Primary Key, Examples: [1]),
(lang:TEXT, Examples: [ca]),
(locale:TEXT, Examples: [ca_ES]),
(pages:INTEGER, Examples: [1129144]),
(words:INTEGER, Examples: [2764996])
]
# Table: langs_words
[
(lid:INTEGER, Primary Key, Examples: [1]),
(wid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(occurrences:INTEGER, Examples: [242, 16841, 48700])
]
# Table: biwords
[
(lid:INTEGER, Primary Key, Examples: [1]),
(w1st:INTEGER, Primary Key, Examples: [1, 2, 3]),
(w2nd:INTEGER, Primary Key, Examples: [2, 4, 25]),
(occurrences:INTEGER, Examples: [4, 3, 13])
]
【Foreign keys】
pages_words.wid=words.wid
pages_words.pid=pages.pid
pages.lid=langs.lid
langs_words.wid=words.wid
langs_words.lid=langs.lid
biwords.w2nd=words.wid
biwords.w1st=words.wid
biwords.lid=langs.lid

    【Question】
    State one biword pair with occurence of 4. biword pair refers to w1st.word w2nd.word; occurrence of 4 refers to occurrences = 4

    【Evidence】
    biword pair refers to w1st.word w2nd.word; occurrence of 4 refers to occurrences = 4

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT T1.word, T3.word FROM words AS T1 INNER JOIN biwords AS T2 ON T1.wid = T2.w1st INNER JOIN words AS T3 ON T3.wid = T2.w2nd WHERE T2.occurrences = 4 LIMIT 1
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 language_corpus
【Schema】
# Table: pages_words
[
(pid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(wid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(occurrences:INTEGER, Examples: [30, 8, 2])
]
# Table: pages
[
(pid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(lid:INTEGER, Examples: [1]),
(page:INTEGER, Examples: [1, 2, 8]),
(revision:INTEGER, Examples: [28236978, 24086480, 26230310]),
(title:TEXT, Examples: [Àbac, Abadia, Adagi]),
(words:INTEGER, Examples: [1081, 68, 304])
]
# Table: words
[
(wid:INTEGER, Primary Key, Examples: [2148990, 2506463, 154840]),
(word:TEXT, Examples: [+,2, +,33, +,4]),
(occurrences:INTEGER, Examples: [242, 16841, 48700])
]
# Table: langs
[
(lid:INTEGER, Primary Key, Examples: [1]),
(lang:TEXT, Examples: [ca]),
(locale:TEXT, Examples: [ca_ES]),
(pages:INTEGER, Examples: [1129144]),
(words:INTEGER, Examples: [2764996])
]
# Table: langs_words
[
(lid:INTEGER, Primary Key, Examples: [1]),
(wid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(occurrences:INTEGER, Examples: [242, 16841, 48700])
]
# Table: biwords
[
(lid:INTEGER, Primary Key, Examples: [1]),
(w1st:INTEGER, Primary Key, Examples: [1, 2, 3]),
(w2nd:INTEGER, Primary Key, Examples: [2, 4, 25]),
(occurrences:INTEGER, Examples: [4, 3, 13])
]
【Foreign keys】
pages_words.wid=words.wid
pages_words.pid=pages.pid
pages.lid=langs.lid
langs_words.wid=words.wid
langs_words.lid=langs.lid
biwords.w2nd=words.wid
biwords.w1st=words.wid
biwords.lid=langs.lid

    【Question】
    What are the total occurence of words that paired with "nombre"? total occurrence refers to sum(occurrences); paired with "nombre" refers to w1st.word = "nombre" or w2nd.word = "nombre"

    【Evidence】
    total occurrence refers to sum(occurrences); paired with "nombre" refers to w1st.word = "nombre" or w2nd.word = "nombre"

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT SUM(T2.occurrences) FROM words AS T1 INNER JOIN biwords AS T2 ON T1.wid = T2.w1st OR T1.wid = T2.w2nd WHERE T2.w1st IN (( SELECT wid FROM words WHERE word = 'nombre' ) OR T2.w2nd IN ( SELECT wid FROM words WHERE word = 'nombre' ))
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 language_corpus
【Schema】
# Table: pages_words
[
(pid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(wid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(occurrences:INTEGER, Examples: [30, 8, 2])
]
# Table: pages
[
(pid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(lid:INTEGER, Examples: [1]),
(page:INTEGER, Examples: [1, 2, 8]),
(revision:INTEGER, Examples: [28236978, 24086480, 26230310]),
(title:TEXT, Examples: [Àbac, Abadia, Adagi]),
(words:INTEGER, Examples: [1081, 68, 304])
]
# Table: words
[
(wid:INTEGER, Primary Key, Examples: [2148990, 2506463, 154840]),
(word:TEXT, Examples: [+,2, +,33, +,4]),
(occurrences:INTEGER, Examples: [242, 16841, 48700])
]
# Table: langs
[
(lid:INTEGER, Primary Key, Examples: [1]),
(lang:TEXT, Examples: [ca]),
(locale:TEXT, Examples: [ca_ES]),
(pages:INTEGER, Examples: [1129144]),
(words:INTEGER, Examples: [2764996])
]
# Table: langs_words
[
(lid:INTEGER, Primary Key, Examples: [1]),
(wid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(occurrences:INTEGER, Examples: [242, 16841, 48700])
]
# Table: biwords
[
(lid:INTEGER, Primary Key, Examples: [1]),
(w1st:INTEGER, Primary Key, Examples: [1, 2, 3]),
(w2nd:INTEGER, Primary Key, Examples: [2, 4, 25]),
(occurrences:INTEGER, Examples: [4, 3, 13])
]
【Foreign keys】
pages_words.wid=words.wid
pages_words.pid=pages.pid
pages.lid=langs.lid
langs_words.wid=words.wid
langs_words.lid=langs.lid
biwords.w2nd=words.wid
biwords.w1st=words.wid
biwords.lid=langs.lid

    【Question】
    What are the words that were paired with "John", list down 10 of them. pair with "John" refers to w1st.word = "John" or w2nd.word = "John"

    【Evidence】
    pair with "John" refers to w1st.word = "John" or w2nd.word = "John"

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT w2nd FROM biwords WHERE w1st = ( SELECT wid FROM words WHERE word = 'john' ) LIMIT 10
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 language_corpus
【Schema】
# Table: pages_words
[
(pid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(wid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(occurrences:INTEGER, Examples: [30, 8, 2])
]
# Table: pages
[
(pid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(lid:INTEGER, Examples: [1]),
(page:INTEGER, Examples: [1, 2, 8]),
(revision:INTEGER, Examples: [28236978, 24086480, 26230310]),
(title:TEXT, Examples: [Àbac, Abadia, Adagi]),
(words:INTEGER, Examples: [1081, 68, 304])
]
# Table: words
[
(wid:INTEGER, Primary Key, Examples: [2148990, 2506463, 154840]),
(word:TEXT, Examples: [+,2, +,33, +,4]),
(occurrences:INTEGER, Examples: [242, 16841, 48700])
]
# Table: langs
[
(lid:INTEGER, Primary Key, Examples: [1]),
(lang:TEXT, Examples: [ca]),
(locale:TEXT, Examples: [ca_ES]),
(pages:INTEGER, Examples: [1129144]),
(words:INTEGER, Examples: [2764996])
]
# Table: langs_words
[
(lid:INTEGER, Primary Key, Examples: [1]),
(wid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(occurrences:INTEGER, Examples: [242, 16841, 48700])
]
# Table: biwords
[
(lid:INTEGER, Primary Key, Examples: [1]),
(w1st:INTEGER, Primary Key, Examples: [1, 2, 3]),
(w2nd:INTEGER, Primary Key, Examples: [2, 4, 25]),
(occurrences:INTEGER, Examples: [4, 3, 13])
]
【Foreign keys】
pages_words.wid=words.wid
pages_words.pid=pages.pid
pages.lid=langs.lid
langs_words.wid=words.wid
langs_words.lid=langs.lid
biwords.w2nd=words.wid
biwords.w1st=words.wid
biwords.lid=langs.lid

    【Question】
    List down the revision page id of titles where "fresc" appears. page id refers to pid; "fresc" refers to word = 'fresc'

    【Evidence】
    page id refers to pid; "fresc" refers to word = 'fresc'

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT T3.revision FROM words AS T1 INNER JOIN pages_words AS T2 ON T1.wid = T2.wid INNER JOIN pages AS T3 ON T2.pid = T3.pid WHERE T1.word = 'fresc'
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 language_corpus
【Schema】
# Table: pages_words
[
(pid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(wid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(occurrences:INTEGER, Examples: [30, 8, 2])
]
# Table: pages
[
(pid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(lid:INTEGER, Examples: [1]),
(page:INTEGER, Examples: [1, 2, 8]),
(revision:INTEGER, Examples: [28236978, 24086480, 26230310]),
(title:TEXT, Examples: [Àbac, Abadia, Adagi]),
(words:INTEGER, Examples: [1081, 68, 304])
]
# Table: words
[
(wid:INTEGER, Primary Key, Examples: [2148990, 2506463, 154840]),
(word:TEXT, Examples: [+,2, +,33, +,4]),
(occurrences:INTEGER, Examples: [242, 16841, 48700])
]
# Table: langs
[
(lid:INTEGER, Primary Key, Examples: [1]),
(lang:TEXT, Examples: [ca]),
(locale:TEXT, Examples: [ca_ES]),
(pages:INTEGER, Examples: [1129144]),
(words:INTEGER, Examples: [2764996])
]
# Table: langs_words
[
(lid:INTEGER, Primary Key, Examples: [1]),
(wid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(occurrences:INTEGER, Examples: [242, 16841, 48700])
]
# Table: biwords
[
(lid:INTEGER, Primary Key, Examples: [1]),
(w1st:INTEGER, Primary Key, Examples: [1, 2, 3]),
(w2nd:INTEGER, Primary Key, Examples: [2, 4, 25]),
(occurrences:INTEGER, Examples: [4, 3, 13])
]
【Foreign keys】
pages_words.wid=words.wid
pages_words.pid=pages.pid
pages.lid=langs.lid
langs_words.wid=words.wid
langs_words.lid=langs.lid
biwords.w2nd=words.wid
biwords.w1st=words.wid
biwords.lid=langs.lid

    【Question】
    List down the words with word id from 1 to 10 and write down a paired word for each of them. word id from 1 to 10 refers to wid BETWEEN 1 AND 10

    【Evidence】
    word id from 1 to 10 refers to wid BETWEEN 1 AND 10

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT T1.word AS W1, T3.word AS W2 FROM words AS T1 LEFT JOIN biwords AS T2 ON T1.wid = T2.w1st LEFT JOIN words AS T3 ON T3.wid = T2.w2nd WHERE T1.wid <= 10 GROUP BY T1.wid
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 language_corpus
【Schema】
# Table: pages_words
[
(pid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(wid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(occurrences:INTEGER, Examples: [30, 8, 2])
]
# Table: pages
[
(pid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(lid:INTEGER, Examples: [1]),
(page:INTEGER, Examples: [1, 2, 8]),
(revision:INTEGER, Examples: [28236978, 24086480, 26230310]),
(title:TEXT, Examples: [Àbac, Abadia, Adagi]),
(words:INTEGER, Examples: [1081, 68, 304])
]
# Table: words
[
(wid:INTEGER, Primary Key, Examples: [2148990, 2506463, 154840]),
(word:TEXT, Examples: [+,2, +,33, +,4]),
(occurrences:INTEGER, Examples: [242, 16841, 48700])
]
# Table: langs
[
(lid:INTEGER, Primary Key, Examples: [1]),
(lang:TEXT, Examples: [ca]),
(locale:TEXT, Examples: [ca_ES]),
(pages:INTEGER, Examples: [1129144]),
(words:INTEGER, Examples: [2764996])
]
# Table: langs_words
[
(lid:INTEGER, Primary Key, Examples: [1]),
(wid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(occurrences:INTEGER, Examples: [242, 16841, 48700])
]
# Table: biwords
[
(lid:INTEGER, Primary Key, Examples: [1]),
(w1st:INTEGER, Primary Key, Examples: [1, 2, 3]),
(w2nd:INTEGER, Primary Key, Examples: [2, 4, 25]),
(occurrences:INTEGER, Examples: [4, 3, 13])
]
【Foreign keys】
pages_words.wid=words.wid
pages_words.pid=pages.pid
pages.lid=langs.lid
langs_words.wid=words.wid
langs_words.lid=langs.lid
biwords.w2nd=words.wid
biwords.w1st=words.wid
biwords.lid=langs.lid

    【Question】
    For corpus title "Atomium", pick 3 words appear in the title and calculate the total occurence of these words. total occurrences refers to sum(occurrences)

    【Evidence】
    total occurrences refers to sum(occurrences)

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT T1.word, T1.occurrences FROM words AS T1 INNER JOIN pages_words AS T2 ON T1.wid = T2.wid WHERE T2.pid = ( SELECT pid FROM pages WHERE title = 'Atomium' ) LIMIT 3
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 language_corpus
【Schema】
# Table: pages_words
[
(pid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(wid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(occurrences:INTEGER, Examples: [30, 8, 2])
]
# Table: pages
[
(pid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(lid:INTEGER, Examples: [1]),
(page:INTEGER, Examples: [1, 2, 8]),
(revision:INTEGER, Examples: [28236978, 24086480, 26230310]),
(title:TEXT, Examples: [Àbac, Abadia, Adagi]),
(words:INTEGER, Examples: [1081, 68, 304])
]
# Table: words
[
(wid:INTEGER, Primary Key, Examples: [2148990, 2506463, 154840]),
(word:TEXT, Examples: [+,2, +,33, +,4]),
(occurrences:INTEGER, Examples: [242, 16841, 48700])
]
# Table: langs
[
(lid:INTEGER, Primary Key, Examples: [1]),
(lang:TEXT, Examples: [ca]),
(locale:TEXT, Examples: [ca_ES]),
(pages:INTEGER, Examples: [1129144]),
(words:INTEGER, Examples: [2764996])
]
# Table: langs_words
[
(lid:INTEGER, Primary Key, Examples: [1]),
(wid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(occurrences:INTEGER, Examples: [242, 16841, 48700])
]
# Table: biwords
[
(lid:INTEGER, Primary Key, Examples: [1]),
(w1st:INTEGER, Primary Key, Examples: [1, 2, 3]),
(w2nd:INTEGER, Primary Key, Examples: [2, 4, 25]),
(occurrences:INTEGER, Examples: [4, 3, 13])
]
【Foreign keys】
pages_words.wid=words.wid
pages_words.pid=pages.pid
pages.lid=langs.lid
langs_words.wid=words.wid
langs_words.lid=langs.lid
biwords.w2nd=words.wid
biwords.w1st=words.wid
biwords.lid=langs.lid

    【Question】
    Indicate which is the word that is repeated the most times. repeated the most times refer to MAX(occurrences);

    【Evidence】
    repeated the most times refer to MAX(occurrences);

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT word FROM words WHERE occurrences = ( SELECT MAX(occurrences) FROM words )
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 language_corpus
【Schema】
# Table: pages_words
[
(pid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(wid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(occurrences:INTEGER, Examples: [30, 8, 2])
]
# Table: pages
[
(pid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(lid:INTEGER, Examples: [1]),
(page:INTEGER, Examples: [1, 2, 8]),
(revision:INTEGER, Examples: [28236978, 24086480, 26230310]),
(title:TEXT, Examples: [Àbac, Abadia, Adagi]),
(words:INTEGER, Examples: [1081, 68, 304])
]
# Table: words
[
(wid:INTEGER, Primary Key, Examples: [2148990, 2506463, 154840]),
(word:TEXT, Examples: [+,2, +,33, +,4]),
(occurrences:INTEGER, Examples: [242, 16841, 48700])
]
# Table: langs
[
(lid:INTEGER, Primary Key, Examples: [1]),
(lang:TEXT, Examples: [ca]),
(locale:TEXT, Examples: [ca_ES]),
(pages:INTEGER, Examples: [1129144]),
(words:INTEGER, Examples: [2764996])
]
# Table: langs_words
[
(lid:INTEGER, Primary Key, Examples: [1]),
(wid:INTEGER, Primary Key, Examples: [1, 2, 3]),
(occurrences:INTEGER, Examples: [242, 16841, 48700])
]
# Table: biwords
[
(lid:INTEGER, Primary Key, Examples: [1]),
(w1st:INTEGER, Primary Key, Examples: [1, 2, 3]),
(w2nd:INTEGER, Primary Key, Examples: [2, 4, 25]),
(occurrences:INTEGER, Examples: [4, 3, 13])
]
【Foreign keys】
pages_words.wid=words.wid
pages_words.pid=pages.pid
pages.lid=langs.lid
langs_words.wid=words.wid
langs_words.lid=langs.lid
biwords.w2nd=words.wid
biwords.w1st=words.wid
biwords.lid=langs.lid

    【Question】
    Indicate the page id of Wikipedia about Catalan language of all the pages that have a numeric value in their title. 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%';

    【Evidence】
    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%';

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

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%'