1sf/bird-sql-train-with-schema huggingface dataset:
Database: codebase_comments
Tables: Method, MethodParameter, Repo, Solution
Columns (table index, column name): -1, *, 0, Id, 0, Name, 0, FullComment, 0, Summary, 0, ApiCalls, 0, CommentIsXml, 0, SampledAt, 0, SolutionId, 0, Lang, 0, NameTokenized, 1, Id, 1, MethodId, 1, Type, 1, Name, 2, Id, 2, Url, 2, Stars, 2, Forks, 2, Watchers, 2, ProcessedTime, 3, Id, 3, RepoId, 3, Path, 3, ProcessedTime, 3, WasCompiled
Question: What is the tokenized name of the solution whose path is "maravillas_linq-to-delicious\tasty.sln"?
Evidence: tokenized name refers to NameTokenized
SQL: SELECT DISTINCT T2.NameTokenized FROM Solution AS T1 INNER JOIN Method AS T2 ON T1.Id = T2.SolutionId WHERE T1.Path = 'maravillas_linq-to-delicious'
Database: codebase_comments
Tables: Method, MethodParameter, Repo, Solution
Columns (table index, column name): -1, *, 0, Id, 0, Name, 0, FullComment, 0, Summary, 0, ApiCalls, 0, CommentIsXml, 0, SampledAt, 0, SolutionId, 0, Lang, 0, NameTokenized, 1, Id, 1, MethodId, 1, Type, 1, Name, 2, Id, 2, Url, 2, Stars, 2, Forks, 2, Watchers, 2, ProcessedTime, 3, Id, 3, RepoId, 3, Path, 3, ProcessedTime, 3, WasCompiled
Question: Among the repositories whose number of stars received are between 6,000 to 9,000, which repository has the highest number of solution paths and many of those solution paths needs to be compiled if user wants to implement it?
Evidence: Stars between 6,000 to 9,000; highest number of solution paths refers to max(count(Path)); needs to be compiled if user wants to implement it refers to WasCompiled = 0;
SQL: SELECT T2.RepoId, COUNT(T2.RepoId) FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId WHERE T1.Stars BETWEEN 6000 AND 9000 AND T2.WasCompiled = 0 GROUP BY T2.RepoId ORDER BY COUNT(T2.RepoId) DESC LIMIT 1
Database: codebase_comments
Tables: Method, MethodParameter, Repo, Solution
Columns (table index, column name): -1, *, 0, Id, 0, Name, 0, FullComment, 0, Summary, 0, ApiCalls, 0, CommentIsXml, 0, SampledAt, 0, SolutionId, 0, Lang, 0, NameTokenized, 1, Id, 1, MethodId, 1, Type, 1, Name, 2, Id, 2, Url, 2, Stars, 2, Forks, 2, Watchers, 2, ProcessedTime, 3, Id, 3, RepoId, 3, Path, 3, ProcessedTime, 3, WasCompiled
Question: In the "https://github.com/wallerdev/htmlsharp.git", give all the linearized sequenced of API calls.
Evidence: linearized sequenced of API calls refers to ApiCalls; 'https://github.com/wallerdev/htmlsharp.git' is url of repository
SQL: SELECT T3.ApiCalls FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId INNER JOIN Method AS T3 ON T2.Id = T3.SolutionId WHERE T1.Url = 'https://github.com/wallerdev/htmlsharp.git'
Database: codebase_comments
Tables: Method, MethodParameter, Repo, Solution
Columns (table index, column name): -1, *, 0, Id, 0, Name, 0, FullComment, 0, Summary, 0, ApiCalls, 0, CommentIsXml, 0, SampledAt, 0, SolutionId, 0, Lang, 0, NameTokenized, 1, Id, 1, MethodId, 1, Type, 1, Name, 2, Id, 2, Url, 2, Stars, 2, Forks, 2, Watchers, 2, ProcessedTime, 3, Id, 3, RepoId, 3, Path, 3, ProcessedTime, 3, WasCompiled
Question: How many solution paths are there inside the 2nd most popular repository?
Evidence: more watchers mean that this repository is more popular; most popular repository refers to max(Watchers);
SQL: SELECT COUNT(DISTINCT T2.Path) FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId WHERE T1.Watchers = ( SELECT Watchers FROM Repo ORDER BY Watchers DESC LIMIT 1, 1 )
Database: codebase_comments
Tables: Method, MethodParameter, Repo, Solution
Columns (table index, column name): -1, *, 0, Id, 0, Name, 0, FullComment, 0, Summary, 0, ApiCalls, 0, CommentIsXml, 0, SampledAt, 0, SolutionId, 0, Lang, 0, NameTokenized, 1, Id, 1, MethodId, 1, Type, 1, Name, 2, Id, 2, Url, 2, Stars, 2, Forks, 2, Watchers, 2, ProcessedTime, 3, Id, 3, RepoId, 3, Path, 3, ProcessedTime, 3, WasCompiled
Question: What is the average processed time of the solution paths inside the "https://github.com/zphingphong/DiscardCustomerApp.git"?
Evidence: average processed time = avg(Solution.ProcessedTime);
SQL: SELECT CAST(SUM(T2.ProcessedTime) AS REAL) / COUNT(T2.RepoId) FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId WHERE T1.Url = 'https://github.com/zphingphong/DiscardCustomerApp.git'
Database: codebase_comments
Tables: Method, MethodParameter, Repo, Solution
Columns (table index, column name): -1, *, 0, Id, 0, Name, 0, FullComment, 0, Summary, 0, ApiCalls, 0, CommentIsXml, 0, SampledAt, 0, SolutionId, 0, Lang, 0, NameTokenized, 1, Id, 1, MethodId, 1, Type, 1, Name, 2, Id, 2, Url, 2, Stars, 2, Forks, 2, Watchers, 2, ProcessedTime, 3, Id, 3, RepoId, 3, Path, 3, ProcessedTime, 3, WasCompiled
Question: What is the full comment on the method whose solution path is "bmatzelle_nini\Source\Nini.sln" with a tokenized name of "alias text add alias"?
SQL: SELECT T2.FullComment FROM Solution AS T1 INNER JOIN Method AS T2 ON T1.Id = T2.SolutionId WHERE T1.Path = 'bmatzelle_niniSourceNini.sln' AND T2.NameTokenized = 'alias text add alias'
Database: codebase_comments
Tables: Method, MethodParameter, Repo, Solution
Columns (table index, column name): -1, *, 0, Id, 0, Name, 0, FullComment, 0, Summary, 0, ApiCalls, 0, CommentIsXml, 0, SampledAt, 0, SolutionId, 0, Lang, 0, NameTokenized, 1, Id, 1, MethodId, 1, Type, 1, Name, 2, Id, 2, Url, 2, Stars, 2, Forks, 2, Watchers, 2, ProcessedTime, 3, Id, 3, RepoId, 3, Path, 3, ProcessedTime, 3, WasCompiled
Question: What is the linearized sequenced of API calls of the method whose solution path is "mauriciodeamorim_tdd.encontro2\Tdd.Encontro2.sln"?
Evidence: linearized sequenced of API calls refers to ApiCalls;
SQL: SELECT T2.ApiCalls FROM Solution AS T1 INNER JOIN Method AS T2 ON T1.Id = T2.SolutionId WHERE T1.Path = 'mauriciodeamorim_tdd.encontro2Tdd.Encontro2.sln'
Database: codebase_comments
Tables: Method, MethodParameter, Repo, Solution
Columns (table index, column name): -1, *, 0, Id, 0, Name, 0, FullComment, 0, Summary, 0, ApiCalls, 0, CommentIsXml, 0, SampledAt, 0, SolutionId, 0, Lang, 0, NameTokenized, 1, Id, 1, MethodId, 1, Type, 1, Name, 2, Id, 2, Url, 2, Stars, 2, Forks, 2, Watchers, 2, ProcessedTime, 3, Id, 3, RepoId, 3, Path, 3, ProcessedTime, 3, WasCompiled
Question: How many solution paths that needs to be compiled if user wants to implement it in "https://github.com/jeffdik/tachy.git"?
Evidence: needs to be compiled if user wants to implement refers to WasCompiled = 0; https://github.com/jeffdik/tachy.git is url of repository
SQL: SELECT COUNT(T2.Path) FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId WHERE T1.Url = 'https://github.com/jeffdik/tachy.git' AND T2.WasCompiled = 0
Database: codebase_comments
Tables: Method, MethodParameter, Repo, Solution
Columns (table index, column name): -1, *, 0, Id, 0, Name, 0, FullComment, 0, Summary, 0, ApiCalls, 0, CommentIsXml, 0, SampledAt, 0, SolutionId, 0, Lang, 0, NameTokenized, 1, Id, 1, MethodId, 1, Type, 1, Name, 2, Id, 2, Url, 2, Stars, 2, Forks, 2, Watchers, 2, ProcessedTime, 3, Id, 3, RepoId, 3, Path, 3, ProcessedTime, 3, WasCompiled
Question: How much is the processed time of the method whose tokenized name is "about box1 dispose"? Indicate the language of the method.
Evidence: language refers to Lang;
SQL: SELECT DISTINCT T1.ProcessedTime, T2.Lang FROM Solution AS T1 INNER JOIN Method AS T2 ON T1.Id = T2.SolutionId WHERE T2.NameTokenized = 'about box1 dispose'
Database: codebase_comments
Tables: Method, MethodParameter, Repo, Solution
Columns (table index, column name): -1, *, 0, Id, 0, Name, 0, FullComment, 0, Summary, 0, ApiCalls, 0, CommentIsXml, 0, SampledAt, 0, SolutionId, 0, Lang, 0, NameTokenized, 1, Id, 1, MethodId, 1, Type, 1, Name, 2, Id, 2, Url, 2, Stars, 2, Forks, 2, Watchers, 2, ProcessedTime, 3, Id, 3, RepoId, 3, Path, 3, ProcessedTime, 3, WasCompiled
Question: In "maxild_playground\Playground.sln", what is the time of sampling for the method "GitHubRepo.Cli.GitHubClientWrapper.GetReleases"?
Evidence: the time of sampling refers to SampledAt; 'maxild_playground\Playground.sln' is the path of a solution
SQL: SELECT T2.SampledAt FROM Solution AS T1 INNER JOIN Method AS T2 ON T1.Id = T2.SolutionId WHERE T1.Path = 'maxild_playgroundPlayground.sln' AND T2.Name = 'GitHubRepo.Cli.GitHubClientWrapper.GetReleases'
Database: codebase_comments
Tables: Method, MethodParameter, Repo, Solution
Columns (table index, column name): -1, *, 0, Id, 0, Name, 0, FullComment, 0, Summary, 0, ApiCalls, 0, CommentIsXml, 0, SampledAt, 0, SolutionId, 0, Lang, 0, NameTokenized, 1, Id, 1, MethodId, 1, Type, 1, Name, 2, Id, 2, Url, 2, Stars, 2, Forks, 2, Watchers, 2, ProcessedTime, 3, Id, 3, RepoId, 3, Path, 3, ProcessedTime, 3, WasCompiled
Question: What is the language of the method used in the solution path "opendns_diagnosticapp\windows\OpenDnsDiagnostic.sln"?
Evidence: language refers to Lang;
SQL: SELECT T2.Lang FROM Solution AS T1 INNER JOIN Method AS T2 ON T1.Id = T2.SolutionId WHERE T1.Path = 'opendns_diagnosticappwindowsOpenDnsDiagnostic.sln'
Database: codebase_comments
Tables: Method, MethodParameter, Repo, Solution
Columns (table index, column name): -1, *, 0, Id, 0, Name, 0, FullComment, 0, Summary, 0, ApiCalls, 0, CommentIsXml, 0, SampledAt, 0, SolutionId, 0, Lang, 0, NameTokenized, 1, Id, 1, MethodId, 1, Type, 1, Name, 2, Id, 2, Url, 2, Stars, 2, Forks, 2, Watchers, 2, ProcessedTime, 3, Id, 3, RepoId, 3, Path, 3, ProcessedTime, 3, WasCompiled
Question: What's the task of the method whose tokenized name is "html parser feed"?
Evidence: tokenized name refers to NameTokenized; task of the method refers to the second part of name deliminated by "."; for example, the task of 'LinqToDelicious.HttpWebRequestFactory.Create' is 'HttpWebRequestFactory'
SQL: SELECT SUBSTR(SUBSTR(Name, INSTR(Name, '.') + 1), 1, INSTR(SUBSTR(Name, INSTR(Name, '.') + 1), '.') - 1) task FROM Method WHERE NameTokenized = 'html parser feed'
Database: codebase_comments
Tables: Method, MethodParameter, Repo, Solution
Columns (table index, column name): -1, *, 0, Id, 0, Name, 0, FullComment, 0, Summary, 0, ApiCalls, 0, CommentIsXml, 0, SampledAt, 0, SolutionId, 0, Lang, 0, NameTokenized, 1, Id, 1, MethodId, 1, Type, 1, Name, 2, Id, 2, Url, 2, Stars, 2, Forks, 2, Watchers, 2, ProcessedTime, 3, Id, 3, RepoId, 3, Path, 3, ProcessedTime, 3, WasCompiled
Question: Are the comments for the method "HtmlSharp.HtmlParser.Feed" in XML format?
Evidence: the comment for this method is not XML refers to CommentsXML = 0; the comments for this method is XML refers to CommentsXML = 1
SQL: SELECT CASE WHEN CommentIsXml = 0 THEN 'No' WHEN CommentIsXml = 1 THEN 'Yes' END isXMLFormat FROM Method WHERE Name = 'HtmlSharp.HtmlParser.Feed'
Database: codebase_comments
Tables: Method, MethodParameter, Repo, Solution
Columns (table index, column name): -1, *, 0, Id, 0, Name, 0, FullComment, 0, Summary, 0, ApiCalls, 0, CommentIsXml, 0, SampledAt, 0, SolutionId, 0, Lang, 0, NameTokenized, 1, Id, 1, MethodId, 1, Type, 1, Name, 2, Id, 2, Url, 2, Stars, 2, Forks, 2, Watchers, 2, ProcessedTime, 3, Id, 3, RepoId, 3, Path, 3, ProcessedTime, 3, WasCompiled
Question: Which method has the summary "Write a command to the log"?
SQL: SELECT Name FROM Method WHERE Summary = 'Write a command to the log'
Database: codebase_comments
Tables: Method, MethodParameter, Repo, Solution
Columns (table index, column name): -1, *, 0, Id, 0, Name, 0, FullComment, 0, Summary, 0, ApiCalls, 0, CommentIsXml, 0, SampledAt, 0, SolutionId, 0, Lang, 0, NameTokenized, 1, Id, 1, MethodId, 1, Type, 1, Name, 2, Id, 2, Url, 2, Stars, 2, Forks, 2, Watchers, 2, ProcessedTime, 3, Id, 3, RepoId, 3, Path, 3, ProcessedTime, 3, WasCompiled
Question: How many solutions contain files found within the repository most people like?
Evidence: more stars mean more people like this repository; most people like refers to max(Stars);
SQL: SELECT COUNT(T2.RepoId) FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId WHERE T1.Stars = ( SELECT MAX(Stars) FROM Repo )
Database: codebase_comments
Tables: Method, MethodParameter, Repo, Solution
Columns (table index, column name): -1, *, 0, Id, 0, Name, 0, FullComment, 0, Summary, 0, ApiCalls, 0, CommentIsXml, 0, SampledAt, 0, SolutionId, 0, Lang, 0, NameTokenized, 1, Id, 1, MethodId, 1, Type, 1, Name, 2, Id, 2, Url, 2, Stars, 2, Forks, 2, Watchers, 2, ProcessedTime, 3, Id, 3, RepoId, 3, Path, 3, ProcessedTime, 3, WasCompiled
Question: Please list the path of the solution that contains files found within the repository most people like.
Evidence: more stars mean more people like this repository; most people like refers to max(Stars);
SQL: SELECT DISTINCT T2.Path FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId WHERE T1.Stars = ( SELECT MAX(Stars) FROM Repo )
Database: codebase_comments
Tables: Method, MethodParameter, Repo, Solution
Columns (table index, column name): -1, *, 0, Id, 0, Name, 0, FullComment, 0, Summary, 0, ApiCalls, 0, CommentIsXml, 0, SampledAt, 0, SolutionId, 0, Lang, 0, NameTokenized, 1, Id, 1, MethodId, 1, Type, 1, Name, 2, Id, 2, Url, 2, Stars, 2, Forks, 2, Watchers, 2, ProcessedTime, 3, Id, 3, RepoId, 3, Path, 3, ProcessedTime, 3, WasCompiled
Question: What is the github address of the repository that contains files used by solution ID12?
Evidence: github address refers to Url;
SQL: SELECT T1.Url FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId WHERE T2.Id = 12
Database: codebase_comments
Tables: Method, MethodParameter, Repo, Solution
Columns (table index, column name): -1, *, 0, Id, 0, Name, 0, FullComment, 0, Summary, 0, ApiCalls, 0, CommentIsXml, 0, SampledAt, 0, SolutionId, 0, Lang, 0, NameTokenized, 1, Id, 1, MethodId, 1, Type, 1, Name, 2, Id, 2, Url, 2, Stars, 2, Forks, 2, Watchers, 2, ProcessedTime, 3, Id, 3, RepoId, 3, Path, 3, ProcessedTime, 3, WasCompiled
Question: Among the solutions that contain files within the repository followed by over 1000 people, how many of them can be
implemented without needs of compilation?
Evidence: followed by over 1000 people refers to Forks >1000; can be
implemented without needs of compilation refers to WasCompiled = 1;
SQL: SELECT COUNT(T2.RepoId) FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId WHERE T1.Forks > 1000 AND T2.WasCompiled = 1
Database: codebase_comments
Tables: Method, MethodParameter, Repo, Solution
Columns (table index, column name): -1, *, 0, Id, 0, Name, 0, FullComment, 0, Summary, 0, ApiCalls, 0, CommentIsXml, 0, SampledAt, 0, SolutionId, 0, Lang, 0, NameTokenized, 1, Id, 1, MethodId, 1, Type, 1, Name, 2, Id, 2, Url, 2, Stars, 2, Forks, 2, Watchers, 2, ProcessedTime, 3, Id, 3, RepoId, 3, Path, 3, ProcessedTime, 3, WasCompiled
Question: Which solution contains files within a more popular repository, the solution ID18 or solution ID19?
Evidence: more watchers mean that this repository is more popular;
SQL: SELECT CASE WHEN SUM(CASE WHEN T2.Id = 18 THEN T1.Watchers ELSE 0 END) > SUM(CASE WHEN T2.Id = 19 THEN T1.Watchers ELSE 0 END) THEN 'SolutionID18' WHEN SUM(CASE WHEN T2.Id = 18 THEN T1.Watchers ELSE 0 END) < SUM(CASE WHEN T2.Id = 19 THEN T1.Watchers ELSE 0 END) THEN 'SolutionID19' END isMorePopular FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId
Database: codebase_comments
Tables: Method, MethodParameter, Repo, Solution
Columns (table index, column name): -1, *, 0, Id, 0, Name, 0, FullComment, 0, Summary, 0, ApiCalls, 0, CommentIsXml, 0, SampledAt, 0, SolutionId, 0, Lang, 0, NameTokenized, 1, Id, 1, MethodId, 1, Type, 1, Name, 2, Id, 2, Url, 2, Stars, 2, Forks, 2, Watchers, 2, ProcessedTime, 3, Id, 3, RepoId, 3, Path, 3, ProcessedTime, 3, WasCompiled
Question: Among the solutions that contain files within the repository needing the longest processed time to download, how many of them doesn't need to be
compiled if user wants to implement it?
Evidence: longest processed time refers to max(Solution.ProcessedTime); needs to be compiled if user wants to implement it refers to WasCompiled = 0；
SQL: SELECT COUNT(T2.RepoId) FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId WHERE T1.ProcessedTime = ( SELECT MAX(ProcessedTime) FROM Repo ) AND T2.WasCompiled = 1
Database: codebase_comments
Tables: Method, MethodParameter, Repo, Solution
Columns (table index, column name): -1, *, 0, Id, 0, Name, 0, FullComment, 0, Summary, 0, ApiCalls, 0, CommentIsXml, 0, SampledAt, 0, SolutionId, 0, Lang, 0, NameTokenized, 1, Id, 1, MethodId, 1, Type, 1, Name, 2, Id, 2, Url, 2, Stars, 2, Forks, 2, Watchers, 2, ProcessedTime, 3, Id, 3, RepoId, 3, Path, 3, ProcessedTime, 3, WasCompiled
Question: What is the processed time to download the repository whose files are contained in the solution with the path "jeffdik_tachy\src\Tachy.sln".
SQL: SELECT DISTINCT T2.ProcessedTime FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId WHERE T2.Path = 'jeffdik_tachysrcTachy.sln'
Database: codebase_comments
Tables: Method, MethodParameter, Repo, Solution
Columns (table index, column name): -1, *, 0, Id, 0, Name, 0, FullComment, 0, Summary, 0, ApiCalls, 0, CommentIsXml, 0, SampledAt, 0, SolutionId, 0, Lang, 0, NameTokenized, 1, Id, 1, MethodId, 1, Type, 1, Name, 2, Id, 2, Url, 2, Stars, 2, Forks, 2, Watchers, 2, ProcessedTime, 3, Id, 3, RepoId, 3, Path, 3, ProcessedTime, 3, WasCompiled
Question: Please give the url of the repository whose files are contained in solution ID 9?
SQL: SELECT T1.Url FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId WHERE T2.Id = 9
Database: codebase_comments
Tables: Method, MethodParameter, Repo, Solution
Columns (table index, column name): -1, *, 0, Id, 0, Name, 0, FullComment, 0, Summary, 0, ApiCalls, 0, CommentIsXml, 0, SampledAt, 0, SolutionId, 0, Lang, 0, NameTokenized, 1, Id, 1, MethodId, 1, Type, 1, Name, 2, Id, 2, Url, 2, Stars, 2, Forks, 2, Watchers, 2, ProcessedTime, 3, Id, 3, RepoId, 3, Path, 3, ProcessedTime, 3, WasCompiled
Question: Please list all the paths of the solutions containing files within the repository whose url is "https://github.com/maxild/playground.git".
SQL: SELECT T2.Path FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId WHERE T1.Url = 'https://github.com/maxild/playground.git'
Database: codebase_comments
Tables: Method, MethodParameter, Repo, Solution
Columns (table index, column name): -1, *, 0, Id, 0, Name, 0, FullComment, 0, Summary, 0, ApiCalls, 0, CommentIsXml, 0, SampledAt, 0, SolutionId, 0, Lang, 0, NameTokenized, 1, Id, 1, MethodId, 1, Type, 1, Name, 2, Id, 2, Url, 2, Stars, 2, Forks, 2, Watchers, 2, ProcessedTime, 3, Id, 3, RepoId, 3, Path, 3, ProcessedTime, 3, WasCompiled
Question: Among the repositories with over 200 likes, how many of them have files contained by solutions with a processed time of under 636439500080712000?
Evidence: over 200 likes refers to Stars > 200; ProcessedTime<636439500080712000;
SQL: SELECT COUNT(T2.RepoId) FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId WHERE T2.ProcessedTime < 636439500080712000 AND T1.Stars > 200
Database: codebase_comments
Tables: Method, MethodParameter, Repo, Solution
Columns (table index, column name): -1, *, 0, Id, 0, Name, 0, FullComment, 0, Summary, 0, ApiCalls, 0, CommentIsXml, 0, SampledAt, 0, SolutionId, 0, Lang, 0, NameTokenized, 1, Id, 1, MethodId, 1, Type, 1, Name, 2, Id, 2, Url, 2, Stars, 2, Forks, 2, Watchers, 2, ProcessedTime, 3, Id, 3, RepoId, 3, Path, 3, ProcessedTime, 3, WasCompiled
Question: Please list the IDs of the solutions that contain files within the top 3 followed repositories.
Evidence: more forks refers to more people follow this repository;
SQL: SELECT T2.Id FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId ORDER BY T1.Forks DESC LIMIT 3
Database: codebase_comments
Tables: Method, MethodParameter, Repo, Solution
Columns (table index, column name): -1, *, 0, Id, 0, Name, 0, FullComment, 0, Summary, 0, ApiCalls, 0, CommentIsXml, 0, SampledAt, 0, SolutionId, 0, Lang, 0, NameTokenized, 1, Id, 1, MethodId, 1, Type, 1, Name, 2, Id, 2, Url, 2, Stars, 2, Forks, 2, Watchers, 2, ProcessedTime, 3, Id, 3, RepoId, 3, Path, 3, ProcessedTime, 3, WasCompiled
Question: What is the average time needed for the solutions containing files within the repository whose url is "https://github.com/jeffdik/tachy.git" to be processd?
Evidence: average time = avg(ProcessedTime)；
SQL: SELECT CAST(SUM(T2.ProcessedTime) AS REAL) / COUNT(T2.RepoId) FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId WHERE T1.Url = 'https://github.com/jeffdik/tachy.git'
Database: codebase_comments
Tables: Method, MethodParameter, Repo, Solution
Columns (table index, column name): -1, *, 0, Id, 0, Name, 0, FullComment, 0, Summary, 0, ApiCalls, 0, CommentIsXml, 0, SampledAt, 0, SolutionId, 0, Lang, 0, NameTokenized, 1, Id, 1, MethodId, 1, Type, 1, Name, 2, Id, 2, Url, 2, Stars, 2, Forks, 2, Watchers, 2, ProcessedTime, 3, Id, 3, RepoId, 3, Path, 3, ProcessedTime, 3, WasCompiled
Question: How many more followers in percentage are there for the repository used by solution ID 18 than solution ID19?
Evidence: followers refers to Forks; percentage = divide(SUBTRACT(Forks(Solution.ID = 18), Forks(Solution.ID = 19)), Forks(Solution.ID = 19))*100%
SQL: SELECT CAST((SUM(CASE WHEN T2.Id = 18 THEN T1.Forks ELSE 0 END) - SUM(CASE WHEN T2.Id = 19 THEN T1.Forks ELSE 0 END)) AS REAL) * 100 / SUM(CASE WHEN T2.Id = 19 THEN T1.Forks ELSE 0 END) FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId
Database: codebase_comments
Tables: Method, MethodParameter, Repo, Solution
Columns (table index, column name): -1, *, 0, Id, 0, Name, 0, FullComment, 0, Summary, 0, ApiCalls, 0, CommentIsXml, 0, SampledAt, 0, SolutionId, 0, Lang, 0, NameTokenized, 1, Id, 1, MethodId, 1, Type, 1, Name, 2, Id, 2, Url, 2, Stars, 2, Forks, 2, Watchers, 2, ProcessedTime, 3, Id, 3, RepoId, 3, Path, 3, ProcessedTime, 3, WasCompiled
Question: What is the language of the method ''PixieTests.SqlConnectionLayerTests.TestSqlCreateGuidColumn"?
Evidence: language refers to Lang；
SQL: SELECT Lang FROM Method WHERE Name = 'PixieTests.SqlConnectionLayerTests.TestSqlCreateGuidColumn'
Database: codebase_comments
Tables: Method, MethodParameter, Repo, Solution
Columns (table index, column name): -1, *, 0, Id, 0, Name, 0, FullComment, 0, Summary, 0, ApiCalls, 0, CommentIsXml, 0, SampledAt, 0, SolutionId, 0, Lang, 0, NameTokenized, 1, Id, 1, MethodId, 1, Type, 1, Name, 2, Id, 2, Url, 2, Stars, 2, Forks, 2, Watchers, 2, ProcessedTime, 3, Id, 3, RepoId, 3, Path, 3, ProcessedTime, 3, WasCompiled
Question: Show the full Comment of the method "DE2_UE_Fahrradkurier.de2_uebung_fahrradkurierDataSet1TableAdapters.TableAdapterManager.UpdateInsertedRows".
SQL: SELECT FullComment FROM Method WHERE Name = 'DE2_UE_Fahrradkurier.de2_uebung_fahrradkurierDataSet1TableAdapters.TableAdapterManager.UpdateInsertedRows'
Database: codebase_comments
Tables: Method, MethodParameter, Repo, Solution
Columns (table index, column name): -1, *, 0, Id, 0, Name, 0, FullComment, 0, Summary, 0, ApiCalls, 0, CommentIsXml, 0, SampledAt, 0, SolutionId, 0, Lang, 0, NameTokenized, 1, Id, 1, MethodId, 1, Type, 1, Name, 2, Id, 2, Url, 2, Stars, 2, Forks, 2, Watchers, 2, ProcessedTime, 3, Id, 3, RepoId, 3, Path, 3, ProcessedTime, 3, WasCompiled
Question: List the summary of the method "Castle.MonoRail.Framework.Test.StubViewComponentContext.RenderSection".
SQL: SELECT DISTINCT Summary FROM Method WHERE Name = 'Castle.MonoRail.Framework.Test.StubViewComponentContext.RenderSection'
Database: codebase_comments
Tables: Method, MethodParameter, Repo, Solution
Columns (table index, column name): -1, *, 0, Id, 0, Name, 0, FullComment, 0, Summary, 0, ApiCalls, 0, CommentIsXml, 0, SampledAt, 0, SolutionId, 0, Lang, 0, NameTokenized, 1, Id, 1, MethodId, 1, Type, 1, Name, 2, Id, 2, Url, 2, Stars, 2, Forks, 2, Watchers, 2, ProcessedTime, 3, Id, 3, RepoId, 3, Path, 3, ProcessedTime, 3, WasCompiled
Question: Give the tokenized name for the method "Supay.Irc.Messages.KnockMessage.GetTokens".
SQL: SELECT NameTokenized FROM Method WHERE Name = 'Supay.Irc.Messages.KnockMessage.GetTokens'