1sf/bird-sql-dev-xresults huggingface dataset:
Database: codebase_community
Question: What is the average of the up votes and the average user age for users creating more than 10 posts?
Evidence: creating more than 10 post refers to Count (UserId) > 10; average of the up votes = Divide (Sum(UpVotes), Count (UserId)); average age = Divide (Sum(Age), Count(UserId))
SQL: SELECT AVG(T1.UpVotes), AVG(T1.Age) FROM users AS T1 INNER JOIN ( SELECT OwnerUserId, COUNT(*) AS post_count FROM posts GROUP BY OwnerUserId HAVING post_count > 10) AS T2 ON T1.Id = T2.OwnerUserId
Database: codebase_community
Question: How many users obtained the "Announcer" badge?
Evidence: "Announcer" is the Name of badge; user refers to UserId
SQL: SELECT COUNT(id) FROM badges WHERE Name = 'Announcer'
Database: codebase_community
Question: List out the name of badges that users obtained on 7/19/2010 7:39:08 PM.
Evidence: on 7/19/2010 7:39:08 PM refers to Date = '2010-07-19 19:39:08.0'
SQL: SELECT Name FROM badges WHERE Date = '2010-07-19 19:39:08.0'
Database: codebase_community
Question: How many positive comments are there on the list?
Evidence: Positive comment refers to score > 60
SQL: SELECT COUNT(id) FROM comments WHERE score > 60
Database: codebase_community
Question: State the detailed content of the comment which was created on 7/19/2010 7:25:47 PM.
Evidence: detailed content of the comment refers to Text; created on 7/19/2010 7:16:14 PM refers to CreationDate = '2010-07-19 19:16:14.0'
SQL: SELECT Text FROM comments WHERE CreationDate = '2010-07-19 19:16:14.0'
Database: codebase_community
Question: How many posts have a score of 10 on the list?
Evidence: score of 10 refers to Score = 10; post refers to Id
SQL: SELECT COUNT(id) FROM posts WHERE Score = 10
Database: codebase_community
Question: What are the name of badge that users who have the highest reputation obtained?
Evidence: highest reputation refers to Max(Reputation); user refers to UserId
SQL: SELECT T2.name FROM users AS T1 INNER JOIN badges AS T2 ON T1.Id = T2.UserId ORDER BY T1.Reputation DESC LIMIT 1
Database: codebase_community
Question: Mention the reputation of users who had obtained the badge on 7/19/2010 7:39:08 PM.
Evidence: on 7/19/2010 7:39:08 PM refers to Date = '2010-07-19 19:39:08.0'
SQL: SELECT T1.Reputation FROM users AS T1 INNER JOIN badges AS T2 ON T1.Id = T2.UserId WHERE T2.Date = '2010-07-19 19:39:08.0'
Database: codebase_community
Question: List out the dates that users who are located in Rochester, NY obtained their badges?
Evidence: "Rochester, NY" is the Location of user; user refers to UserId
SQL: SELECT T2.Date FROM users AS T1 INNER JOIN badges AS T2 ON T1.Id = T2.UserId WHERE T1.Location = 'Rochester, NY'
Database: codebase_community
Question: Among the users who obtained the "Teacher" badge, calculate their percentage of users
Evidence: "Teacher" is the Name of badge;  percentage = Divide (Count(UserId where it's "Teacher"), Count(UserId)) * 100
SQL: SELECT CAST(COUNT(T1.Id) AS REAL) * 100 / (SELECT COUNT(Id) FROM users) FROM users AS T1 INNER JOIN badges AS T2 ON T1.Id = T2.UserId WHERE T2.Name = 'Teacher'
Database: codebase_community
Question: Among the users who obtained the "Organizer" badges, calculate the percentage of users who are teenagers.
Evidence: "Organizer" is the Name of badge; teenager refers to Age BETWEEN 13 AND 18; percentage = Divide (Count(UserId where Age BETWEEN 13 AND 18), Count(UserId)) *100
SQL: SELECT CAST(SUM(IIF(T2.Age BETWEEN 13 AND 18, 1, 0)) AS REAL) * 100 / COUNT(T1.Id) FROM badges AS T1 INNER JOIN users AS T2 ON T1.UserId = T2.Id WHERE T1.`Name` = 'Organizer'
Database: codebase_community
Question: What is the comment's rating score of the post which was created on 7/19/2010 7:19:56 PM
Evidence: created on 7/19/2010 7:19:56 PM refers to CreationDate = '2010-07-19 19:19:56.0'
SQL: SELECT T1.Score FROM comments AS T1 INNER JOIN posts AS T2 ON T1.PostId = T2.Id WHERE T1.CreationDate = '2010-07-19 19:19:56.0'
Database: codebase_community
Question: What is the detailed content of the comment of the post which was created on 7/19/2010 7:37:33 PM?
Evidence: detailed content of the comment refers to Text; created on 7/19/2010 7:37:33 PM CreationDate = 2010-07-19 19:37:33.0'
SQL: SELECT T1.Text FROM comments AS T1 INNER JOIN posts AS T2 ON T1.PostId = T2.Id WHERE T1.CreationDate = '2010-07-19 19:37:33.0'
Database: codebase_community
Question: List out the age of users who located in Vienna, Austria obtained the badge?
Evidence: "Vienna, Austria" is the Location
SQL: SELECT T1.Age FROM users AS T1 INNER JOIN badges AS T2 ON T1.Id = T2.UserId WHERE T1.Location = 'Vienna, Austria'
Database: codebase_community
Question: How many adults who obtained the badge Supporter?
Evidence: Supporter is the Name of badge; adult refers to Age BETWEEN 19 AND 65
SQL: SELECT COUNT(T1.Id) FROM users AS T1 INNER JOIN badges AS T2 ON T1.Id = T2.UserId WHERE T2.Name = 'Supporter' AND T1.Age BETWEEN 19 AND 65
Database: codebase_community
Question: State the number of views of users who obtained the badge on 7/19/2010 7:39:08 PM.
Evidence: on 7/19/2010 7:39:08 PM refers to Date = '2010-07-19 19:39:08.0'
SQL: SELECT T1.Views FROM users AS T1 INNER JOIN badges AS T2 ON T1.Id = T2.UserId WHERE T2.Date = '2010-07-19 19:39:08.0'
Database: codebase_community
Question: What are the name of badges that users who have the lowest reputation obtained?
Evidence: lowest reputation refers to Min(Reputation); user refers to UserId
SQL: SELECT T2.Name FROM users AS T1 INNER JOIN badges AS T2 ON T1.Id = T2.UserId WHERE T1.Reputation = (SELECT MIN(Reputation) FROM users)
Database: codebase_community
Question: State the name of badge that the user whose display name is "Sharpie" obtained.
Evidence: "Sharpie" is the DisplayName of user; user refers to UserId
SQL: SELECT T2.Name FROM users AS T1 INNER JOIN badges AS T2 ON T1.Id = T2.UserId WHERE T1.DisplayName = 'Sharpie'
Database: codebase_community
Question: How many elders obtained the "Supporter" badge?
Evidence: "Supporter" is the Name of badge;  elders refers to Age > 65
SQL: SELECT COUNT(T1.Id) FROM users AS T1 INNER JOIN badges AS T2 ON T1.Id = T2.UserId WHERE T1.Age > 65 AND T2.Name = 'Supporter'
Database: codebase_community
Question: What is the name of user with the ID of 30?
Evidence: name of user refers to DisplayName;
SQL: SELECT DisplayName FROM users WHERE Id = 30
Database: codebase_community
Question: How many users were from New York?
Evidence: New York refers to Location;
SQL: SELECT COUNT(Id) FROM users WHERE Location = 'New York'
Database: codebase_community
Question: How many votes were made in 2010?
Evidence: YEAR(CreationDate) = 2010;
SQL: SELECT COUNT(id) FROM votes WHERE STRFTIME('%Y', CreationDate) = '2010'
Database: codebase_community
Question: How many users were adult?
Evidence: adult refers to user where Age BETWEEN 19 and 65;
SQL: SELECT COUNT(id) FROM users WHERE Age BETWEEN 19 AND 65
Database: codebase_community
Question: Which users have the highest number of views?
Evidence: users have the highest number of views refer to DisplayName where MAX(Views);
SQL: SELECT Id, DisplayName FROM users WHERE Views = ( SELECT MAX(Views) FROM users )
Database: codebase_community
Question: Calculate the ratio of votes in 2010 and 2011.
Evidence: DIVIDE(COUNT(Id where YEAR(CreationDate) = 2010), COUNT(Id where YEAR(CreationDate) = 2011)) FROM votes;
SQL: SELECT CAST(SUM(IIF(STRFTIME('%Y', CreationDate) = '2010', 1, 0)) AS REAL) / SUM(IIF(STRFTIME('%Y', CreationDate) = '2011', 1, 0)) FROM votes
Database: codebase_community
Question: What is the name of tags used by John Salvatier's?
Evidence: DisplayName = 'John Salvatier';
SQL: SELECT T3.Tags FROM users AS T1 INNER JOIN postHistory AS T2 ON T1.Id = T2.UserId INNER JOIN posts AS T3 ON T2.PostId = T3.Id WHERE T1.DisplayName = 'John Salvatier'
Database: codebase_community
Question: How many posts were created by Daniel Vassallo?
Evidence: DisplayName = 'Daniel Vassallo';
SQL: SELECT COUNT(T1.Id) FROM users AS T1 INNER JOIN postHistory AS T2 ON T1.Id = T2.UserId WHERE T1.DisplayName = 'Daniel Vassallo'
Database: codebase_community
Question: How many votes were made by Harlan?
Evidence: DisplayName = 'Harlan';
SQL: SELECT COUNT(T1.Id) FROM users AS T1 INNER JOIN postHistory AS T2 ON T1.Id = T2.UserId INNER JOIN votes AS T3 ON T3.PostId = T2.PostId WHERE T1.DisplayName = 'Harlan'
Database: codebase_community
Question: Which post by slashnick has the most answers count? State the post ID.
Evidence: most answers count refers to MAX(AnswerCount); post by slashnick refers to DisplayName = 'slashnick';
SQL: SELECT T2.PostId FROM users AS T1 INNER JOIN postHistory AS T2 ON T1.Id = T2.UserId INNER JOIN posts AS T3 ON T2.PostId = T3.Id WHERE T1.DisplayName = 'slashnick' ORDER BY T3.AnswerCount DESC LIMIT 1
Database: codebase_community
Question: Among posts by Harvey Motulsky and Noah Snyder, which one has higher popularity?
Evidence: Has higher popularity means the post has higher view count ; calculation = MAX(SUM(ViewCount)) where DisplayName = 'Harvey Motulsky' OR DisplayName = 'Noah Snyder';
SQL: SELECT T1.DisplayName FROM users AS T1 INNER JOIN postHistory AS T2 ON T1.Id = T2.UserId INNER JOIN posts AS T3 ON T2.PostId = T3.Id WHERE T1.DisplayName = 'Harvey Motulsky' OR T1.DisplayName = 'Noah Snyder' GROUP BY T1.DisplayName ORDER BY SUM(T3.ViewCount) DESC LIMIT 1
Database: codebase_community
Question: How many posts by Matt Parker have more than 4 votes?
Evidence: more than 4 votes refer to PostId > 4; DisplayName = 'Matt Parker';
SQL: SELECT COUNT(T1.Id) FROM users AS T1 INNER JOIN postHistory AS T2 ON T1.Id = T2.UserId INNER JOIN posts AS T3 ON T2.PostId = T3.Id INNER JOIN votes AS T4 ON T4.PostId = T3.Id WHERE T1.DisplayName = 'Matt Parker' GROUP BY T2.PostId, T4.Id HAVING COUNT(T4.Id) > 4
Database: codebase_community
Question: How many negative comments did Neil McGuigan get in his posts?
Evidence: Negative comment refers to score < 60; DisplayName = 'Neil McGuigan';
SQL: SELECT COUNT(T3.Id) FROM users AS T1 INNER JOIN posts AS T2 ON T1.Id = T2.OwnerUserId INNER JOIN comments AS T3 ON T2.Id = T3.PostId WHERE T1.DisplayName = 'Neil McGuigan' AND T3.Score < 60
Database: codebase_community
Question: State all the tags used by Mark Meckes in his posts that doesn't have comments.
Evidence: used by Mark Meckes refers to DisplayName = 'Mark Meckes'; Doen't have comments refers to CommentCount = 0;
SQL: SELECT T3.Tags FROM users AS T1 INNER JOIN postHistory AS T2 ON T1.Id = T2.UserId INNER JOIN posts AS T3 ON T3.Id = T2.PostId WHERE T1.DisplayName = 'Mark Meckes' AND T3.CommentCount = 0
Database: codebase_community
Question: List all the name of users that obtained the Organizer Badges.
Evidence: name of users refers to DisplayName; the Organizer Badges refer to badges where Name = 'Organizer';
SQL: SELECT T1.DisplayName FROM users AS T1 INNER JOIN badges AS T2 ON T1.Id = T2.UserId WHERE T2.`Name` = 'Organizer'
Database: codebase_community
Question: Based on posts posted by Community, calculate the percentage of posts that use the R language.
Evidence: DIVIDE(COUNT(PostId WHERE TagName = 'r')), (COUNT(PostId WHERE DisplayName = 'Community')) as percentage; R language refers to tagname = 'r'
SQL: SELECT CAST(SUM(IIF(T3.TagName = 'r', 1, 0)) AS REAL) * 100 / COUNT(T1.Id) FROM users AS T1 INNER JOIN postHistory AS T2 ON T1.Id = T2.UserId INNER JOIN tags AS T3 ON T3.ExcerptPostId = T2.PostId WHERE T1.DisplayName = 'Community'
Database: codebase_community
Question: Calculate the difference in view count from post posted by Mornington and view count from posts posted by Amos.
Evidence: calculation = SUBTRACT(SUM(ViewCount where DisplayName = 'Mornington'), SUM(ViewCount where DisplayName = 'Amos'));
SQL: SELECT SUM(IIF(T1.DisplayName = 'Mornington', T3.ViewCount, 0)) - SUM(IIF(T1.DisplayName = 'Amos', T3.ViewCount, 0)) AS diff FROM users AS T1 INNER JOIN postHistory AS T2 ON T1.Id = T2.UserId INNER JOIN posts AS T3 ON T3.Id = T2.PostId
Database: codebase_community
Question: How many users received commentator badges in 2014?
Evidence: Commentator is the name of the badge; year(Date) = 2014;
SQL: SELECT COUNT(Id) FROM badges WHERE Name = 'Commentator' AND STRFTIME('%Y', Date) = '2014'
Database: codebase_community
Question: How many posts were created on 21st July, 2010?
Evidence: created on 21st July, 2010 refers to CreationDate BETWEEN '2010-07-21 00:00:00' and '2012-07-21 23:59:59';
SQL: SELECT COUNT(id) FROM postHistory WHERE date(CreationDate) = '2010-07-21'
Database: codebase_community
Question: What are the display names and ages of user who got the highest in views?
Evidence: the highest in views refers to MAX(Views);
SQL: SELECT DisplayName, Age FROM users WHERE Views = ( SELECT MAX(Views) FROM users )
Database: codebase_community
Question: Provide the last edit date and last edit user ID for the post "Detecting a given face in a database of facial images".
Evidence: Title = 'Detecting a given face in a database of facial images';
SQL: SELECT LastEditDate, LastEditorUserId FROM posts WHERE Title = 'Detecting a given face in a database of facial images'
Database: codebase_community
Question: How many negative comments were given by user ID 13?
Evidence: negative comments refer to Score < 60;
SQL: SELECT COUNT(Id) FROM comments WHERE UserId = 13 AND Score < 60
Database: codebase_community
Question: Describe the post title which got positive comments and display names of the users who posted those comments.
Evidence: positive comments refer to Score > 60;
SQL: SELECT T1.Title, T2.UserDisplayName FROM posts AS T1 INNER JOIN comments AS T2 ON T2.PostId = T2.Id WHERE T1.Score > 60
Database: codebase_community
Question: Provide the badge names received in 2011 for the user whose location is in the North Pole.
Evidence: received in 2011 refers to year(Date) = 2011;
SQL: SELECT T2.Name FROM users AS T1 INNER JOIN badges AS T2 ON T1.Id = T2.UserId WHERE STRFTIME('%Y', T2.Date) = '2011' AND T1.Location = 'North Pole'
Database: codebase_community
Question: Provide the users' display names and available website URLs of the post with favorite count of more than 150.
Evidence: favorite count of more than 150 refers to FavoriteCount > 150;
SQL: SELECT T1.DisplayName, T1.WebsiteUrl FROM users AS T1 INNER JOIN posts AS T2 ON T1.Id = T2.OwnerUserId WHERE T2.FavoriteCount > 150
Database: codebase_community
Question: From which post is the most popular tag excerpted from? Please give the body of the post.
Evidence: most popular tag refers to Max(Count); excerpt from refer to ExcerptPostId
SQL: SELECT Body FROM posts WHERE id = ( SELECT ExcerptPostId FROM tags ORDER BY Count DESC LIMIT 1 )
Database: codebase_community
Question: How many badges has the user csgillespie obtained?
Evidence: "csgillespie" is the DisplayName of user
SQL: SELECT COUNT(T1.Id) FROM badges AS T1 INNER JOIN users AS T2 ON T1.UserId = T2.Id WHERE T2.DisplayName = 'csgillespie'
Database: codebase_community
Question: Please list the names of the badges obtained by csgillespie.
Evidence: "csgillespie" is the DisplayName of user
SQL: SELECT T1.`Name` FROM badges AS T1 INNER JOIN users AS T2 ON T1.UserId = T2.Id WHERE T2.DisplayName = 'csgillespie'
Database: codebase_community
Question: Among the badges obtained by csgillespie, how many of them were obtained in the year 2011?
Evidence: "csgillespie" is the DisplayName of user; obtained in 2011 refers to YEAR (Date) = 2011
SQL: SELECT COUNT(T1.Id) FROM badges AS T1 INNER JOIN users AS T2 ON T1.UserId = T2.Id WHERE STRFTIME('%Y', T1.Date) = '2011' AND T2.DisplayName = 'csgillespie'
Database: codebase_community
Question: What is the display name of the user who has obtained the most number of badges?
Evidence: who obtained the most number of badges refers to UserID with Max(Count(Id))
SQL: SELECT T2.DisplayName FROM badges AS T1 INNER JOIN users AS T2 ON T1.UserId = T2.Id GROUP BY T2.DisplayName ORDER BY COUNT(T1.Id) DESC LIMIT 1
Database: codebase_community
Question: What is the average score of the posts owned by the user csgillespie?
Evidence: "csgillespie" is the DisplayName of user; average score refers to AVG(Score)
SQL: SELECT AVG(T1.Score) FROM posts AS T1 INNER JOIN users AS T2 ON T1.OwnerUserId = T2.Id WHERE T2.DisplayName = 'csgillespie'
Database: codebase_community
Question: What is the average number of badges obtained by a user with over 200 views?
Evidence: user with over 200 views refers to Views > 200; average number of badges = Divide (Count(Id), Count(DisplayName))
SQL: SELECT CAST(COUNT(T1.Id) AS REAL) / COUNT(DISTINCT T2.DisplayName) FROM badges AS T1 INNER JOIN users AS T2 ON T1.UserId = T2.Id WHERE T2.Views > 200
Database: codebase_community
Question: Among the posts with a score of over 5, what is the percentage of them being owned by an elder user?
Evidence: score of over 5 refers to Score > 5; elder user refers to Age > 65; percentage = Divide (Count(Id where Age>65), Count(Id)) * 100
SQL: SELECT CAST(SUM(IIF(T2.Age > 65, 1, 0)) AS REAL) * 100 / COUNT(T1.Id) FROM posts AS T1 INNER JOIN users AS T2 ON T1.OwnerUserId = T2.Id WHERE T1.Score > 5
Database: codebase_community
Question: How many votes did the user No.58 take on 2010/7/19?
Evidence: user no. 58 refers to UserId = 58; on 2010/7/19 refers to CreationDate = '2010-07-19'
SQL: SELECT COUNT(Id) FROM votes WHERE UserId = 58 AND CreationDate = '2010-07-19'
Database: codebase_community
Question: Indicate the creation date of the maximum number of votes.
Evidence: the creation date of the maximum number of votes refers to CreationDate where Max(Count(Id))
SQL: SELECT CreationDate FROM votes GROUP BY CreationDate ORDER BY COUNT(Id) DESC LIMIT 1
Database: codebase_community
Question: Give the number of "Revival" badges.
Evidence: number refers to Id; 'Revival' is the Name of badge
SQL: SELECT COUNT(Id) FROM badges WHERE Name = 'Revival'
Database: codebase_community
Question: What is the title for the post which got the highest score comment?
Evidence: highest score comment refers to Max(comments.Score)
SQL: SELECT Title FROM posts WHERE Id = ( SELECT PostId FROM comments ORDER BY Score DESC LIMIT 1 )
Database: codebase_community
Question: User No.3025 gave a comment at 20:29:39 on 2014/4/23 to a post, how many favorite counts did that post get?
Evidence: user no. 3025 refers to UserId = '3025'; comment at 20:29:39 on 2014/4/23 refers to CreationDate = '2014/4/23 20:29:39.0'
SQL: SELECT T1.FavoriteCount FROM posts AS T1 INNER JOIN comments AS T2 ON T1.Id = T2.PostId WHERE T2.CreationDate = '2014-04-23 20:29:39.0' AND T2.UserId = 3025
Database: codebase_community
Question: Give the only one comment text of the post with parent id 107829.
Evidence: one comment refers to CommentCount = '1'
SQL: SELECT T2.Text FROM posts AS T1 INNER JOIN comments AS T2 ON T1.Id = T2.PostId WHERE T1.ParentId = 107829 AND T1.CommentCount = 1
Database: codebase_community
Question: User No.23853 gave a comment to a post at 9:08:18 on 2013/7/12, was that post well-finished?
Evidence: user no. 23853 refers to UserId = '23853'; at 9:08:18 on 2013/7/12 refers to CreationDate = '2013-07-12 09:08:18.0'; not well-finished refers to ClosedDate IS NULL and vice versa
SQL: SELECT IIF(T2.ClosedDate IS NULL, 'NOT well-finished', 'well-finished') AS resylt FROM comments AS T1 INNER JOIN posts AS T2 ON T1.PostId = T2.Id WHERE T1.UserId = 23853 AND T1.CreationDate = '2013-07-12 09:08:18.0'
Database: codebase_community
Question: For the owner user of post No. 65041, what is his/her reputation points?
Evidence: post no. 65041 refers to Id = '65041'; reputation point refers to Reputation
SQL: SELECT T1.Reputation FROM users AS T1 INNER JOIN posts AS T2 ON T1.Id = T2.OwnerUserId WHERE T2.Id = 65041
Database: codebase_community
Question: For the user with the display name of "Tiago Pasqualini", how many posts did he/she own?
Evidence: "Tiago Pasqualini" is the DisplayName;
SQL: SELECT COUNT(T1.Id) FROM users AS T1 INNER JOIN posts AS T2 ON T1.Id = T2.OwnerUserId WHERE T1.DisplayName = 'Tiago Pasqualini'
Database: codebase_community
Question: Provide the display name of the user who made the vote No.6347.
Evidence: vote no. 6347 refers to Id = '6347'
SQL: SELECT T1.DisplayName FROM users AS T1 INNER JOIN votes AS T2 ON T1.Id = T2.UserId WHERE T2.Id = 6347
Database: codebase_community
Question: Give the number of votes for the post about data visualization.
Evidence: About data visualization is the Title that contains 'data visualization';
SQL: SELECT COUNT(T1.Id) FROM posts AS T1 INNER JOIN votes AS T2 ON T1.Id = T2.PostId WHERE T1.Title LIKE '%data visualization%'
Database: codebase_community
Question: For the user whose display name is "DatEpicCoderGuyWhoPrograms", what is his/her badge's name?
Evidence: "DatEpicCoderGuyWhoPrograms" is the DisplayName;
SQL: SELECT T2.Name FROM users AS T1 INNER JOIN badges AS T2 ON T1.Id = T2.UserId WHERE T1.DisplayName = 'DatEpicCoderGuyWhoPrograms'
Database: codebase_community
Question: For the user No.24, how many times is the number of his/her posts compared to his/her votes?
Evidence: user no. 24 refers to UserId = OwnerUserId = '24'; times of his/her post than votes = Divide (Count(post.Id), Count(votes.Id))
SQL: SELECT CAST(COUNT(T2.Id) AS REAL) / COUNT(DISTINCT T1.Id) FROM votes AS T1 INNER JOIN posts AS T2 ON T1.UserId = T2.OwnerUserId WHERE T1.UserId = 24
Database: codebase_community
Question: How many views did the post titled 'Integration of Weka and/or RapidMiner into Informatica PowerCenter/Developer' get?
Evidence: "Integration of Weka and/or RapidMiner into Informatica PowerCenter/Developer" is the Title of post; views refers to ViewCount
SQL: SELECT ViewCount FROM posts WHERE Title = 'Integration of Weka and/or RapidMiner into Informatica PowerCenter/Developer'
Database: codebase_community
Question: Write the contents of comments with a score of 17.
Evidence: score of 17 refers to Score = 17; contents of comments refers to Text
SQL: SELECT Text FROM comments WHERE Score = 17
Database: codebase_community
Question: Which user has the website URL listed at 'http://stackoverflow.com'
Evidence: "http://stackoverflow.com" is the WebsiteUrl; user refers to DisplayName
SQL: SELECT DisplayName FROM users WHERE WebsiteUrl = 'http://stackoverflow.com'
Database: codebase_community
Question: What is the badge name that user 'SilentGhost' obtained?
Evidence: "SilentGhost" is the DisplayName of user;
SQL: SELECT T2.Name FROM users AS T1 INNER JOIN badges AS T2 ON T1.Id = T2.UserId WHERE T1.DisplayName = 'SilentGhost'
Database: codebase_community
Question: Name the user that commented 'thank you user93!'
Evidence: "thank you user93" is the Text of comment; user refers to DisplayName
SQL: SELECT T1.DisplayName FROM users AS T1 INNER JOIN comments AS T2 ON T1.Id = T2.UserId WHERE T2.Text = 'thank you user93!'
Database: codebase_community
Question: Write all comments made by user 'A Lion.'
Evidence: "A Lion" is the DisplayName of user; comment refers to Text
SQL: SELECT T2.Text FROM users AS T1 INNER JOIN comments AS T2 ON T1.Id = T2.UserId WHERE T1.DisplayName = 'A Lion'
Database: codebase_community
Question: Which user made a post titled 'Understanding what Dassault iSight is doing?' and how much is the reputation of the user?
Evidence: "Understanding what Dassault iSight is doing?" is the Title of post; user refers to DisplayName;
SQL: SELECT T1.DisplayName, T1.Reputation FROM users AS T1 INNER JOIN posts AS T2 ON T1.Id = T2.OwnerUserId WHERE T2.Title = 'Understanding what Dassault iSight is doing?'
Database: codebase_community
Question: Write all comments made on the post titled 'How does gentle boosting differ from AdaBoost?'
Evidence: "How does gentle boosting differ from AdaBoost?" is the Title of post; comments refers to Text
SQL: SELECT T1.Text FROM comments AS T1 INNER JOIN posts AS T2 ON T1.PostId = T2.Id WHERE T2.Title = 'How does gentle boosting differ from AdaBoost?'
Database: codebase_community
Question: Name 10 users with the badge name 'Necromancer.'
Evidence: "Necromancer" is the Name of badge; users refers to DisplayName
SQL: SELECT T1.DisplayName FROM users AS T1 INNER JOIN badges AS T2 ON T1.Id = T2.UserId WHERE T2.Name = 'Necromancer' LIMIT 10