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】 social_media
【Schema】
# Table: user
[
(UserID:TEXT, Primary Key, Examples: [nknow531394, tw-10000632, tw-100012605]),
(Gender:TEXT, Examples: [Unknown, Male, Unisex])
]
# Table: twitter
[
(TweetID:TEXT, Primary Key, Examples: [tw-682712873332805633]),
(Weekday:TEXT, Examples: [Thursday, Friday, Saturday]),
(Hour:INTEGER, Examples: [17, 18, 19]),
(Day:INTEGER, Examples: [31, 1, 2]),
(Lang:TEXT, Examples: [en, _u, es]),
(IsReshare:TEXT, Examples: [FALSE, TRUE]),
(Reach:INTEGER, Examples: [44, 1810, 282]),
(RetweetCount:INTEGER, Examples: [0, 5, 4]),
(Likes:INTEGER, Examples: [0, 131, 40]),
(Klout:INTEGER, Examples: [35, 53, 47]),
(Sentiment:REAL, Examples: [0.0, 2.0, -1.0]),
(text:TEXT),
(LocationID:INTEGER, Examples: [3751, 3989, 3741]),
(UserID:TEXT, Examples: [tw-40932430, tw-3179389829, tw-4624808414])
]
# Table: location
[
(LocationID:INTEGER, Primary Key, Examples: [1, 2, 3]),
(Country:TEXT, Examples: [Albania, Algeria, Andorra]),
(State:TEXT, Examples: [Elbasan, Tirane, Souk Ahras]),
(StateCode:TEXT, Examples: [AL, DZ, AD]),
(City:TEXT, Examples: [Elbasan, Tirana, Souk Ahras])
]
【Foreign keys】
twitter.LocationID=location.LocationID
twitter.UserID=user.UserID

    【Question】
    What is the percentage of male Twitter users from Florida? "Florida" is the State; male user refers to Gender = 'Male'; percentage = Divide (Count(UserID where Gender = 'Male'), Count (UserID)) * 100

    【Evidence】
    "Florida" is the State; male user refers to Gender = 'Male'; percentage = Divide (Count(UserID where Gender = 'Male'), Count (UserID)) * 100

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

SQL: SELECT SUM(CASE WHEN T3.Gender = 'Male' THEN 1.0 ELSE 0 END) / COUNT(T1.TweetID) AS percentage FROM twitter AS T1 INNER JOIN location AS T2 ON T2.LocationID = T1.LocationID INNER JOIN user AS T3 ON T3.UserID = T1.UserID WHERE T2.State = 'Florida'
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 social_media
【Schema】
# Table: user
[
(UserID:TEXT, Primary Key, Examples: [nknow531394, tw-10000632, tw-100012605]),
(Gender:TEXT, Examples: [Unknown, Male, Unisex])
]
# Table: twitter
[
(TweetID:TEXT, Primary Key, Examples: [tw-682712873332805633]),
(Weekday:TEXT, Examples: [Thursday, Friday, Saturday]),
(Hour:INTEGER, Examples: [17, 18, 19]),
(Day:INTEGER, Examples: [31, 1, 2]),
(Lang:TEXT, Examples: [en, _u, es]),
(IsReshare:TEXT, Examples: [FALSE, TRUE]),
(Reach:INTEGER, Examples: [44, 1810, 282]),
(RetweetCount:INTEGER, Examples: [0, 5, 4]),
(Likes:INTEGER, Examples: [0, 131, 40]),
(Klout:INTEGER, Examples: [35, 53, 47]),
(Sentiment:REAL, Examples: [0.0, 2.0, -1.0]),
(text:TEXT),
(LocationID:INTEGER, Examples: [3751, 3989, 3741]),
(UserID:TEXT, Examples: [tw-40932430, tw-3179389829, tw-4624808414])
]
# Table: location
[
(LocationID:INTEGER, Primary Key, Examples: [1, 2, 3]),
(Country:TEXT, Examples: [Albania, Algeria, Andorra]),
(State:TEXT, Examples: [Elbasan, Tirane, Souk Ahras]),
(StateCode:TEXT, Examples: [AL, DZ, AD]),
(City:TEXT, Examples: [Elbasan, Tirana, Souk Ahras])
]
【Foreign keys】
twitter.LocationID=location.LocationID
twitter.UserID=user.UserID

    【Question】
    What is the percentage of the tweets from California are positive? "California" is the State; positive tweet refers to Sentiment > 0; percentage = Divide (Count(TweetID where Sentiment > 0), Count (TweetID)) * 100

    【Evidence】
    "California" is the State; positive tweet refers to Sentiment > 0; percentage = Divide (Count(TweetID where Sentiment > 0), Count (TweetID)) * 100

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

SQL: SELECT SUM(CASE WHEN T1.Sentiment > 0 THEN 1.0 ELSE 0 END) / COUNT(T1.TweetID) AS percentage FROM twitter AS T1 INNER JOIN location AS T2 ON T2.LocationID = T1.LocationID WHERE State = 'California'
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 social_media
【Schema】
# Table: user
[
(UserID:TEXT, Primary Key, Examples: [nknow531394, tw-10000632, tw-100012605]),
(Gender:TEXT, Examples: [Unknown, Male, Unisex])
]
# Table: twitter
[
(TweetID:TEXT, Primary Key, Examples: [tw-682712873332805633]),
(Weekday:TEXT, Examples: [Thursday, Friday, Saturday]),
(Hour:INTEGER, Examples: [17, 18, 19]),
(Day:INTEGER, Examples: [31, 1, 2]),
(Lang:TEXT, Examples: [en, _u, es]),
(IsReshare:TEXT, Examples: [FALSE, TRUE]),
(Reach:INTEGER, Examples: [44, 1810, 282]),
(RetweetCount:INTEGER, Examples: [0, 5, 4]),
(Likes:INTEGER, Examples: [0, 131, 40]),
(Klout:INTEGER, Examples: [35, 53, 47]),
(Sentiment:REAL, Examples: [0.0, 2.0, -1.0]),
(text:TEXT),
(LocationID:INTEGER, Examples: [3751, 3989, 3741]),
(UserID:TEXT, Examples: [tw-40932430, tw-3179389829, tw-4624808414])
]
# Table: location
[
(LocationID:INTEGER, Primary Key, Examples: [1, 2, 3]),
(Country:TEXT, Examples: [Albania, Algeria, Andorra]),
(State:TEXT, Examples: [Elbasan, Tirane, Souk Ahras]),
(StateCode:TEXT, Examples: [AL, DZ, AD]),
(City:TEXT, Examples: [Elbasan, Tirana, Souk Ahras])
]
【Foreign keys】
twitter.LocationID=location.LocationID
twitter.UserID=user.UserID

    【Question】
    What is the day of the week that tweet with ID tw-682712873332805633 was posted? "tw-682712873332805633" is the TweetID; day of the week refers to Weekday

    【Evidence】
    "tw-682712873332805633" is the TweetID; day of the week refers to Weekday

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

SQL: SELECT Weekday FROM twitter WHERE TweetID = 'tw-682712873332805633'
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 social_media
【Schema】
# Table: user
[
(UserID:TEXT, Primary Key, Examples: [nknow531394, tw-10000632, tw-100012605]),
(Gender:TEXT, Examples: [Unknown, Male, Unisex])
]
# Table: twitter
[
(TweetID:TEXT, Primary Key, Examples: [tw-682712873332805633]),
(Weekday:TEXT, Examples: [Thursday, Friday, Saturday]),
(Hour:INTEGER, Examples: [17, 18, 19]),
(Day:INTEGER, Examples: [31, 1, 2]),
(Lang:TEXT, Examples: [en, _u, es]),
(IsReshare:TEXT, Examples: [FALSE, TRUE]),
(Reach:INTEGER, Examples: [44, 1810, 282]),
(RetweetCount:INTEGER, Examples: [0, 5, 4]),
(Likes:INTEGER, Examples: [0, 131, 40]),
(Klout:INTEGER, Examples: [35, 53, 47]),
(Sentiment:REAL, Examples: [0.0, 2.0, -1.0]),
(text:TEXT),
(LocationID:INTEGER, Examples: [3751, 3989, 3741]),
(UserID:TEXT, Examples: [tw-40932430, tw-3179389829, tw-4624808414])
]
# Table: location
[
(LocationID:INTEGER, Primary Key, Examples: [1, 2, 3]),
(Country:TEXT, Examples: [Albania, Algeria, Andorra]),
(State:TEXT, Examples: [Elbasan, Tirane, Souk Ahras]),
(StateCode:TEXT, Examples: [AL, DZ, AD]),
(City:TEXT, Examples: [Elbasan, Tirana, Souk Ahras])
]
【Foreign keys】
twitter.LocationID=location.LocationID
twitter.UserID=user.UserID

    【Question】
    How many unique users have seen tweet with text `Happy New Year to all those AWS instances of ours!`? "Happy New Year to all those AWS instances of ours!" is the text; seen unique users refers to Reach

    【Evidence】
    "Happy New Year to all those AWS instances of ours!" is the text; seen unique users refers to Reach

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

SQL: SELECT Reach FROM twitter WHERE text = 'Happy New Year to all those AWS instances of ours!'
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 social_media
【Schema】
# Table: user
[
(UserID:TEXT, Primary Key, Examples: [nknow531394, tw-10000632, tw-100012605]),
(Gender:TEXT, Examples: [Unknown, Male, Unisex])
]
# Table: twitter
[
(TweetID:TEXT, Primary Key, Examples: [tw-682712873332805633]),
(Weekday:TEXT, Examples: [Thursday, Friday, Saturday]),
(Hour:INTEGER, Examples: [17, 18, 19]),
(Day:INTEGER, Examples: [31, 1, 2]),
(Lang:TEXT, Examples: [en, _u, es]),
(IsReshare:TEXT, Examples: [FALSE, TRUE]),
(Reach:INTEGER, Examples: [44, 1810, 282]),
(RetweetCount:INTEGER, Examples: [0, 5, 4]),
(Likes:INTEGER, Examples: [0, 131, 40]),
(Klout:INTEGER, Examples: [35, 53, 47]),
(Sentiment:REAL, Examples: [0.0, 2.0, -1.0]),
(text:TEXT),
(LocationID:INTEGER, Examples: [3751, 3989, 3741]),
(UserID:TEXT, Examples: [tw-40932430, tw-3179389829, tw-4624808414])
]
# Table: location
[
(LocationID:INTEGER, Primary Key, Examples: [1, 2, 3]),
(Country:TEXT, Examples: [Albania, Algeria, Andorra]),
(State:TEXT, Examples: [Elbasan, Tirane, Souk Ahras]),
(StateCode:TEXT, Examples: [AL, DZ, AD]),
(City:TEXT, Examples: [Elbasan, Tirana, Souk Ahras])
]
【Foreign keys】
twitter.LocationID=location.LocationID
twitter.UserID=user.UserID

    【Question】
    Count the total number of tweet IDs in `en`. "en" is the language and refers to Lang = 'en'

    【Evidence】
    "en" is the language and refers to Lang = 'en'

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

SQL: SELECT COUNT(DISTINCT TweetID) FROM twitter WHERE Lang = 'en'
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 social_media
【Schema】
# Table: user
[
(UserID:TEXT, Primary Key, Examples: [nknow531394, tw-10000632, tw-100012605]),
(Gender:TEXT, Examples: [Unknown, Male, Unisex])
]
# Table: twitter
[
(TweetID:TEXT, Primary Key, Examples: [tw-682712873332805633]),
(Weekday:TEXT, Examples: [Thursday, Friday, Saturday]),
(Hour:INTEGER, Examples: [17, 18, 19]),
(Day:INTEGER, Examples: [31, 1, 2]),
(Lang:TEXT, Examples: [en, _u, es]),
(IsReshare:TEXT, Examples: [FALSE, TRUE]),
(Reach:INTEGER, Examples: [44, 1810, 282]),
(RetweetCount:INTEGER, Examples: [0, 5, 4]),
(Likes:INTEGER, Examples: [0, 131, 40]),
(Klout:INTEGER, Examples: [35, 53, 47]),
(Sentiment:REAL, Examples: [0.0, 2.0, -1.0]),
(text:TEXT),
(LocationID:INTEGER, Examples: [3751, 3989, 3741]),
(UserID:TEXT, Examples: [tw-40932430, tw-3179389829, tw-4624808414])
]
# Table: location
[
(LocationID:INTEGER, Primary Key, Examples: [1, 2, 3]),
(Country:TEXT, Examples: [Albania, Algeria, Andorra]),
(State:TEXT, Examples: [Elbasan, Tirane, Souk Ahras]),
(StateCode:TEXT, Examples: [AL, DZ, AD]),
(City:TEXT, Examples: [Elbasan, Tirana, Souk Ahras])
]
【Foreign keys】
twitter.LocationID=location.LocationID
twitter.UserID=user.UserID

    【Question】
    Is 3751 the location ID for tweet with ID tw-682714048199311366? "tw-682714048199311366" is the TweetID

    【Evidence】
    "tw-682714048199311366" is the TweetID

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

SQL: SELECT LocationID FROM twitter WHERE TweetID = 'tw-682714048199311366'
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 social_media
【Schema】
# Table: user
[
(UserID:TEXT, Primary Key, Examples: [nknow531394, tw-10000632, tw-100012605]),
(Gender:TEXT, Examples: [Unknown, Male, Unisex])
]
# Table: twitter
[
(TweetID:TEXT, Primary Key, Examples: [tw-682712873332805633]),
(Weekday:TEXT, Examples: [Thursday, Friday, Saturday]),
(Hour:INTEGER, Examples: [17, 18, 19]),
(Day:INTEGER, Examples: [31, 1, 2]),
(Lang:TEXT, Examples: [en, _u, es]),
(IsReshare:TEXT, Examples: [FALSE, TRUE]),
(Reach:INTEGER, Examples: [44, 1810, 282]),
(RetweetCount:INTEGER, Examples: [0, 5, 4]),
(Likes:INTEGER, Examples: [0, 131, 40]),
(Klout:INTEGER, Examples: [35, 53, 47]),
(Sentiment:REAL, Examples: [0.0, 2.0, -1.0]),
(text:TEXT),
(LocationID:INTEGER, Examples: [3751, 3989, 3741]),
(UserID:TEXT, Examples: [tw-40932430, tw-3179389829, tw-4624808414])
]
# Table: location
[
(LocationID:INTEGER, Primary Key, Examples: [1, 2, 3]),
(Country:TEXT, Examples: [Albania, Algeria, Andorra]),
(State:TEXT, Examples: [Elbasan, Tirane, Souk Ahras]),
(StateCode:TEXT, Examples: [AL, DZ, AD]),
(City:TEXT, Examples: [Elbasan, Tirana, Souk Ahras])
]
【Foreign keys】
twitter.LocationID=location.LocationID
twitter.UserID=user.UserID

    【Question】
    How many tweets have been posted on Wednesday? "Wednesday" is the Weekday

    【Evidence】
    "Wednesday" is the Weekday

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

SQL: SELECT COUNT(TweetID) FROM twitter WHERE Weekday = 'Wednesday'
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 social_media
【Schema】
# Table: user
[
(UserID:TEXT, Primary Key, Examples: [nknow531394, tw-10000632, tw-100012605]),
(Gender:TEXT, Examples: [Unknown, Male, Unisex])
]
# Table: twitter
[
(TweetID:TEXT, Primary Key, Examples: [tw-682712873332805633]),
(Weekday:TEXT, Examples: [Thursday, Friday, Saturday]),
(Hour:INTEGER, Examples: [17, 18, 19]),
(Day:INTEGER, Examples: [31, 1, 2]),
(Lang:TEXT, Examples: [en, _u, es]),
(IsReshare:TEXT, Examples: [FALSE, TRUE]),
(Reach:INTEGER, Examples: [44, 1810, 282]),
(RetweetCount:INTEGER, Examples: [0, 5, 4]),
(Likes:INTEGER, Examples: [0, 131, 40]),
(Klout:INTEGER, Examples: [35, 53, 47]),
(Sentiment:REAL, Examples: [0.0, 2.0, -1.0]),
(text:TEXT),
(LocationID:INTEGER, Examples: [3751, 3989, 3741]),
(UserID:TEXT, Examples: [tw-40932430, tw-3179389829, tw-4624808414])
]
# Table: location
[
(LocationID:INTEGER, Primary Key, Examples: [1, 2, 3]),
(Country:TEXT, Examples: [Albania, Algeria, Andorra]),
(State:TEXT, Examples: [Elbasan, Tirane, Souk Ahras]),
(StateCode:TEXT, Examples: [AL, DZ, AD]),
(City:TEXT, Examples: [Elbasan, Tirana, Souk Ahras])
]
【Foreign keys】
twitter.LocationID=location.LocationID
twitter.UserID=user.UserID

    【Question】
    List down all of the texts posted on Twitter on Thursday. "Thursday" is the Weekday

    【Evidence】
    "Thursday" is the Weekday

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

SQL: SELECT text FROM twitter WHERE Weekday = 'Thursday'
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 social_media
【Schema】
# Table: user
[
(UserID:TEXT, Primary Key, Examples: [nknow531394, tw-10000632, tw-100012605]),
(Gender:TEXT, Examples: [Unknown, Male, Unisex])
]
# Table: twitter
[
(TweetID:TEXT, Primary Key, Examples: [tw-682712873332805633]),
(Weekday:TEXT, Examples: [Thursday, Friday, Saturday]),
(Hour:INTEGER, Examples: [17, 18, 19]),
(Day:INTEGER, Examples: [31, 1, 2]),
(Lang:TEXT, Examples: [en, _u, es]),
(IsReshare:TEXT, Examples: [FALSE, TRUE]),
(Reach:INTEGER, Examples: [44, 1810, 282]),
(RetweetCount:INTEGER, Examples: [0, 5, 4]),
(Likes:INTEGER, Examples: [0, 131, 40]),
(Klout:INTEGER, Examples: [35, 53, 47]),
(Sentiment:REAL, Examples: [0.0, 2.0, -1.0]),
(text:TEXT),
(LocationID:INTEGER, Examples: [3751, 3989, 3741]),
(UserID:TEXT, Examples: [tw-40932430, tw-3179389829, tw-4624808414])
]
# Table: location
[
(LocationID:INTEGER, Primary Key, Examples: [1, 2, 3]),
(Country:TEXT, Examples: [Albania, Algeria, Andorra]),
(State:TEXT, Examples: [Elbasan, Tirane, Souk Ahras]),
(StateCode:TEXT, Examples: [AL, DZ, AD]),
(City:TEXT, Examples: [Elbasan, Tirana, Souk Ahras])
]
【Foreign keys】
twitter.LocationID=location.LocationID
twitter.UserID=user.UserID

    【Question】
    What is the gender of the user who posted a tweet with ID tw-682714583044243456? "tw-682714583044243456" is the TweetID

    【Evidence】
    "tw-682714583044243456" is the TweetID

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

SQL: SELECT T2.Gender FROM twitter AS T1 INNER JOIN user AS T2 ON T1.UserID = T2.UserID WHERE T1.TweetID = 'tw-682714583044243456'
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 social_media
【Schema】
# Table: user
[
(UserID:TEXT, Primary Key, Examples: [nknow531394, tw-10000632, tw-100012605]),
(Gender:TEXT, Examples: [Unknown, Male, Unisex])
]
# Table: twitter
[
(TweetID:TEXT, Primary Key, Examples: [tw-682712873332805633]),
(Weekday:TEXT, Examples: [Thursday, Friday, Saturday]),
(Hour:INTEGER, Examples: [17, 18, 19]),
(Day:INTEGER, Examples: [31, 1, 2]),
(Lang:TEXT, Examples: [en, _u, es]),
(IsReshare:TEXT, Examples: [FALSE, TRUE]),
(Reach:INTEGER, Examples: [44, 1810, 282]),
(RetweetCount:INTEGER, Examples: [0, 5, 4]),
(Likes:INTEGER, Examples: [0, 131, 40]),
(Klout:INTEGER, Examples: [35, 53, 47]),
(Sentiment:REAL, Examples: [0.0, 2.0, -1.0]),
(text:TEXT),
(LocationID:INTEGER, Examples: [3751, 3989, 3741]),
(UserID:TEXT, Examples: [tw-40932430, tw-3179389829, tw-4624808414])
]
# Table: location
[
(LocationID:INTEGER, Primary Key, Examples: [1, 2, 3]),
(Country:TEXT, Examples: [Albania, Algeria, Andorra]),
(State:TEXT, Examples: [Elbasan, Tirane, Souk Ahras]),
(StateCode:TEXT, Examples: [AL, DZ, AD]),
(City:TEXT, Examples: [Elbasan, Tirana, Souk Ahras])
]
【Foreign keys】
twitter.LocationID=location.LocationID
twitter.UserID=user.UserID

    【Question】
    List down the text of tweets posted by unknown gender users. unknown gender user refers to Gender = 'Unknown'

    【Evidence】
    unknown gender user refers to Gender = 'Unknown'

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

SQL: SELECT T1.text FROM twitter AS T1 INNER JOIN user AS T2 ON T1.UserID = T2.UserID WHERE T2.Gender = 'Unknown'
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 social_media
【Schema】
# Table: user
[
(UserID:TEXT, Primary Key, Examples: [nknow531394, tw-10000632, tw-100012605]),
(Gender:TEXT, Examples: [Unknown, Male, Unisex])
]
# Table: twitter
[
(TweetID:TEXT, Primary Key, Examples: [tw-682712873332805633]),
(Weekday:TEXT, Examples: [Thursday, Friday, Saturday]),
(Hour:INTEGER, Examples: [17, 18, 19]),
(Day:INTEGER, Examples: [31, 1, 2]),
(Lang:TEXT, Examples: [en, _u, es]),
(IsReshare:TEXT, Examples: [FALSE, TRUE]),
(Reach:INTEGER, Examples: [44, 1810, 282]),
(RetweetCount:INTEGER, Examples: [0, 5, 4]),
(Likes:INTEGER, Examples: [0, 131, 40]),
(Klout:INTEGER, Examples: [35, 53, 47]),
(Sentiment:REAL, Examples: [0.0, 2.0, -1.0]),
(text:TEXT),
(LocationID:INTEGER, Examples: [3751, 3989, 3741]),
(UserID:TEXT, Examples: [tw-40932430, tw-3179389829, tw-4624808414])
]
# Table: location
[
(LocationID:INTEGER, Primary Key, Examples: [1, 2, 3]),
(Country:TEXT, Examples: [Albania, Algeria, Andorra]),
(State:TEXT, Examples: [Elbasan, Tirane, Souk Ahras]),
(StateCode:TEXT, Examples: [AL, DZ, AD]),
(City:TEXT, Examples: [Elbasan, Tirana, Souk Ahras])
]
【Foreign keys】
twitter.LocationID=location.LocationID
twitter.UserID=user.UserID

    【Question】
    Calculate the total number of male tweet IDs. "Male" is the Gender

    【Evidence】
    "Male" is the Gender

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

SQL: SELECT COUNT(T1.TweetID) FROM twitter AS T1 INNER JOIN user AS T2 ON T1.UserID = T2.UserID WHERE T2.Gender = 'Male'
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 social_media
【Schema】
# Table: user
[
(UserID:TEXT, Primary Key, Examples: [nknow531394, tw-10000632, tw-100012605]),
(Gender:TEXT, Examples: [Unknown, Male, Unisex])
]
# Table: twitter
[
(TweetID:TEXT, Primary Key, Examples: [tw-682712873332805633]),
(Weekday:TEXT, Examples: [Thursday, Friday, Saturday]),
(Hour:INTEGER, Examples: [17, 18, 19]),
(Day:INTEGER, Examples: [31, 1, 2]),
(Lang:TEXT, Examples: [en, _u, es]),
(IsReshare:TEXT, Examples: [FALSE, TRUE]),
(Reach:INTEGER, Examples: [44, 1810, 282]),
(RetweetCount:INTEGER, Examples: [0, 5, 4]),
(Likes:INTEGER, Examples: [0, 131, 40]),
(Klout:INTEGER, Examples: [35, 53, 47]),
(Sentiment:REAL, Examples: [0.0, 2.0, -1.0]),
(text:TEXT),
(LocationID:INTEGER, Examples: [3751, 3989, 3741]),
(UserID:TEXT, Examples: [tw-40932430, tw-3179389829, tw-4624808414])
]
# Table: location
[
(LocationID:INTEGER, Primary Key, Examples: [1, 2, 3]),
(Country:TEXT, Examples: [Albania, Algeria, Andorra]),
(State:TEXT, Examples: [Elbasan, Tirane, Souk Ahras]),
(StateCode:TEXT, Examples: [AL, DZ, AD]),
(City:TEXT, Examples: [Elbasan, Tirana, Souk Ahras])
]
【Foreign keys】
twitter.LocationID=location.LocationID
twitter.UserID=user.UserID

    【Question】
    What gender of users posted the most tweets in `en`? "en" is the language and refers to Lang = 'en'; most tweet in 'en' refers to Max(Count(text where Lang = 'en'))

    【Evidence】
    "en" is the language and refers to Lang = 'en'; most tweet in 'en' refers to Max(Count(text where Lang = 'en'))

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

SQL: SELECT T.Gender FROM ( SELECT T2.Gender, COUNT( text) AS num FROM twitter AS T1 INNER JOIN user AS T2 ON T1.UserID = T2.UserID WHERE T1.Lang = 'en' GROUP BY T2.Gender ) T ORDER BY T.num DESC LIMIT 1
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 social_media
【Schema】
# Table: user
[
(UserID:TEXT, Primary Key, Examples: [nknow531394, tw-10000632, tw-100012605]),
(Gender:TEXT, Examples: [Unknown, Male, Unisex])
]
# Table: twitter
[
(TweetID:TEXT, Primary Key, Examples: [tw-682712873332805633]),
(Weekday:TEXT, Examples: [Thursday, Friday, Saturday]),
(Hour:INTEGER, Examples: [17, 18, 19]),
(Day:INTEGER, Examples: [31, 1, 2]),
(Lang:TEXT, Examples: [en, _u, es]),
(IsReshare:TEXT, Examples: [FALSE, TRUE]),
(Reach:INTEGER, Examples: [44, 1810, 282]),
(RetweetCount:INTEGER, Examples: [0, 5, 4]),
(Likes:INTEGER, Examples: [0, 131, 40]),
(Klout:INTEGER, Examples: [35, 53, 47]),
(Sentiment:REAL, Examples: [0.0, 2.0, -1.0]),
(text:TEXT),
(LocationID:INTEGER, Examples: [3751, 3989, 3741]),
(UserID:TEXT, Examples: [tw-40932430, tw-3179389829, tw-4624808414])
]
# Table: location
[
(LocationID:INTEGER, Primary Key, Examples: [1, 2, 3]),
(Country:TEXT, Examples: [Albania, Algeria, Andorra]),
(State:TEXT, Examples: [Elbasan, Tirane, Souk Ahras]),
(StateCode:TEXT, Examples: [AL, DZ, AD]),
(City:TEXT, Examples: [Elbasan, Tirana, Souk Ahras])
]
【Foreign keys】
twitter.LocationID=location.LocationID
twitter.UserID=user.UserID

    【Question】
    What gender of users retweet more than 30 times? retweet more than 30 times refers to RetweetCount > 30

    【Evidence】
    retweet more than 30 times refers to RetweetCount > 30

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

SQL: SELECT DISTINCT T2.Gender FROM twitter AS T1 INNER JOIN user AS T2 ON T1.UserID = T2.UserID WHERE T1.RetweetCount > 30