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】 movie
【Schema】
# Table: actor
[
(ActorID:INTEGER, Primary Key, Examples: [1, 2, 3]),
(Name:TEXT, Examples: [John Travolta, Kirstie Alley, Olympia Dukakis]),
(Date of Birth:DATE, Examples: [1954-02-18]),
(Birth City:TEXT, Examples: [Englewood, Wichita, Lowell]),
(Birth Country:TEXT, Examples: [USA, West Germany, UK]),
(Height (Inches):INTEGER, Examples: [74, 67, 63]),
(Biography:TEXT),
(Gender:TEXT, Examples: [Male, Female]),
(Ethnicity:TEXT, Examples: [White, African American, Lebanese]),
(NetWorth:TEXT, Examples: [$250,000,000.00, $40,000,000.00, $6,000,000.00])
]
# Table: characters
[
(MovieID:INTEGER, Primary Key, Examples: [1, 2, 4]),
(ActorID:INTEGER, Primary Key, Examples: [1, 2, 3]),
(Character Name:TEXT, Examples: [James, Mollie, Rosie]),
(creditOrder:INTEGER, Examples: [1, 2, 3]),
(pay:TEXT, Examples: [$5,000,000.00, $60,000,000.00, $29,000,000.00]),
(screentime:TEXT, Examples: [0:32:30, 0:32:15, 0:29:00])
]
# Table: movie
[
(MovieID:INTEGER, Primary Key, Examples: [1, 2, 3]),
(Title:TEXT, Examples: [Look Who's Talking, Driving Miss Daisy, Turner & Hooch]),
(MPAA Rating:TEXT, Examples: [PG-13, PG, R]),
(Budget:INTEGER, Examples: [7500000, 13000000, 14000000]),
(Gross:INTEGER, Examples: [296000000, 145793296, 71079915]),
(Release Date:TEXT, Examples: [1989-10-12, 1989-12-13, 1989-07-28]),
(Genre:TEXT, Examples: [Romance, Comedy, Crime]),
(Runtime:INTEGER, Examples: [93, 99, 100]),
(Rating:REAL, Examples: [5.9, 7.4, 7.2]),
(Rating Count:INTEGER, Examples: [73638, 91075, 91415]),
(Summary:TEXT)
]
【Foreign keys】
characters.ActorID=actor.ActorID
characters.MovieID=movie.MovieID

    【Question】
    Among the movies with drama genre, what is the percentage of the actors with net worth greater than $400,000,000.00? drama genre refers to Genre = 'Drama'; net worth greater than $400,000,000.00 refers to NetWorth > '$400,000,000.00'; percentage = divide(count(ActorID where NetWorth > '$400,000,000.00'), COUNT(ActorID))*100%

    【Evidence】
    drama genre refers to Genre = 'Drama'; net worth greater than $400,000,000.00 refers to NetWorth > '$400,000,000.00'; percentage = divide(count(ActorID where NetWorth > '$400,000,000.00'), COUNT(ActorID))*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 CAST(REPLACE(REPLACE(T3.NetWorth, ',', ''), '$', '') AS REAL) > 400000000 THEN 1 ELSE 0 END) - SUM(CASE WHEN CAST(REPLACE(REPLACE(T3.NetWorth, ',', ''), '$', '') AS REAL) < 400000000 THEN 1 ELSE 0 END) FROM movie AS T1 INNER JOIN characters AS T2 ON T1.MovieID = T2.MovieID INNER JOIN actor AS T3 ON T3.ActorID = T2.ActorID WHERE T1.Genre = 'Drama'
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 movie
【Schema】
# Table: actor
[
(ActorID:INTEGER, Primary Key, Examples: [1, 2, 3]),
(Name:TEXT, Examples: [John Travolta, Kirstie Alley, Olympia Dukakis]),
(Date of Birth:DATE, Examples: [1954-02-18]),
(Birth City:TEXT, Examples: [Englewood, Wichita, Lowell]),
(Birth Country:TEXT, Examples: [USA, West Germany, UK]),
(Height (Inches):INTEGER, Examples: [74, 67, 63]),
(Biography:TEXT),
(Gender:TEXT, Examples: [Male, Female]),
(Ethnicity:TEXT, Examples: [White, African American, Lebanese]),
(NetWorth:TEXT, Examples: [$250,000,000.00, $40,000,000.00, $6,000,000.00])
]
# Table: characters
[
(MovieID:INTEGER, Primary Key, Examples: [1, 2, 4]),
(ActorID:INTEGER, Primary Key, Examples: [1, 2, 3]),
(Character Name:TEXT, Examples: [James, Mollie, Rosie]),
(creditOrder:INTEGER, Examples: [1, 2, 3]),
(pay:TEXT, Examples: [$5,000,000.00, $60,000,000.00, $29,000,000.00]),
(screentime:TEXT, Examples: [0:32:30, 0:32:15, 0:29:00])
]
# Table: movie
[
(MovieID:INTEGER, Primary Key, Examples: [1, 2, 3]),
(Title:TEXT, Examples: [Look Who's Talking, Driving Miss Daisy, Turner & Hooch]),
(MPAA Rating:TEXT, Examples: [PG-13, PG, R]),
(Budget:INTEGER, Examples: [7500000, 13000000, 14000000]),
(Gross:INTEGER, Examples: [296000000, 145793296, 71079915]),
(Release Date:TEXT, Examples: [1989-10-12, 1989-12-13, 1989-07-28]),
(Genre:TEXT, Examples: [Romance, Comedy, Crime]),
(Runtime:INTEGER, Examples: [93, 99, 100]),
(Rating:REAL, Examples: [5.9, 7.4, 7.2]),
(Rating Count:INTEGER, Examples: [73638, 91075, 91415]),
(Summary:TEXT)
]
【Foreign keys】
characters.ActorID=actor.ActorID
characters.MovieID=movie.MovieID

    【Question】
    List the character's name of actress born in Sherman Oaks and starred in the movie Bruce Almighty with height greater than the 50% of average height of all actors listed. actress refers to Gender = 'Female'; born in Sherman Oaks refers to Birth City = 'Sherman Oaks'; movie Bruce Almighty refers to Title = 'Bruce Almighty'; height greater than the 50% of average height refers to Height (Inches) > multiply(avg(Height (Inches)), 0.5)

    【Evidence】
    actress refers to Gender = 'Female'; born in Sherman Oaks refers to Birth City = 'Sherman Oaks'; movie Bruce Almighty refers to Title = 'Bruce Almighty'; height greater than the 50% of average height refers to Height (Inches) > multiply(avg(Height (Inches)), 0.5)

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

SQL: SELECT T3.Name FROM movie AS T1 INNER JOIN characters AS T2 ON T1.MovieID = T2.MovieID INNER JOIN actor AS T3 ON T3.ActorID = T2.ActorID WHERE T3.Gender = 'Female' AND T1.Title = 'Godzilla' AND T3.`Birth City` = 'Sherman Oaks' AND T3.`Height (Inches)` * 100 > ( SELECT AVG(`Height (Inches)`) FROM actor ) * 50
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 are in English? english is the language and refers to Lang = 'en'

    【Evidence】
    english 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(TweetID) AS tweet_number 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】
    Please list the texts of all the tweets that are reshared. reshared refers to Isreshare = 'TRUE'

    【Evidence】
    reshared refers to Isreshare = 'TRUE'

    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 IsReshare = 'TRUE'
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 are seen by more than 1000 unique users? seen by more than 1000 unique users refers to Reach > 1000

    【Evidence】
    seen by more than 1000 unique users refers to Reach > 1000

    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) AS tweet_number FROM twitter WHERE Reach > 1000
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】
    Among all the tweets that have a positive sentiment, how many of them are posted on Thursday? positive sentiment refers to Sentiment > 0; posted on Thursday refers to Weekday = 'Thursday'

    【Evidence】
    positive sentiment refers to Sentiment > 0; posted on Thursday refers to Weekday = 'Thursday'

    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) AS tweet_number FROM twitter WHERE Sentiment > 0 AND 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 text of the tweet that got the most `likes`? got the most like refers to Max(Likes)

    【Evidence】
    got the most like refers to Max(Likes)

    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 Likes = ( SELECT MAX( Likes) FROM twitter )
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】
    Please list all the cities in Argentina. "Argentina" is the Country

    【Evidence】
    "Argentina" is the Country

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

SQL: SELECT City FROM location WHERE City IS NOT NULL AND Country = 'Argentina'
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 in total were posted by a user in Argentina? "Argentina" is the Country

    【Evidence】
    "Argentina" is the Country

    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 location AS T2 ON T2.LocationID = T1.LocationID WHERE T2.Country = 'Argentina' 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】
    Users in which city of Argentina post the most tweets? "Argentina" is the Country; post the most tweets refers to Max(Count(TweetID))

    【Evidence】
    "Argentina" is the Country; post the most tweets refers to Max(Count(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.City FROM twitter AS T1 INNER JOIN location AS T2 ON T2.LocationID = T1.LocationID WHERE T2.Country = 'Argentina' GROUP BY T2.City ORDER BY COUNT(T1.TweetID) 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】
    Among all the tweets that are reshared, how many of them are posted by a user in Buenos Aires? reshared refers to Isreshare = 'TRUE'; 'Buenos Aires' is the City

    【Evidence】
    reshared refers to Isreshare = 'TRUE'; 'Buenos Aires' is the City

    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 location AS T2 ON T2.LocationID = T1.LocationID WHERE T2.City = 'Buenos Aires' AND T1.IsReshare = 'TRUE'
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】
    Please list the texts of all the tweets posted from Buenos Aires with a positive sentiment. "Buenos Aires" is the City; positive sentiment refers to Sentiment > 0

    【Evidence】
    "Buenos Aires" is the City; positive sentiment refers to Sentiment > 0

    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 location AS T2 ON T2.LocationID = T1.LocationID WHERE T1.Sentiment > 0 AND T2.City = 'Buenos Aires'