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: How many stars does the repository of the solution No. 45997 have?
Evidence: repository of solution no. refers to Id
SQL: SELECT T1.Stars FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId WHERE T2.Id = 45997
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: For the repository which got '8094' Stars, how many solutions does it contain?
Evidence: repository refers to Repo.Id;
SQL: SELECT COUNT(T2.RepoId) FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId WHERE T1.Stars = 8094
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 solution path for the method "IQ.Data.DbQueryProvider.CanBeEvaluatedLocally"?
Evidence: solution path refers to Path; method refers to Name; Name = 'IQ.Data.DbQueryProvider.CanBeEvaluatedLocally'
SQL: SELECT T1.Path FROM Solution AS T1 INNER JOIN Method AS T2 ON T1.Id = T2.SolutionId WHERE T2.Name = 'IQ.Data.DbQueryProvider.CanBeEvaluatedLocally'
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: For the method which got the tokenized name as 'interp parser expr', what is the processed time for its solution?
Evidence: tokenized name refers to NameTokenized; NameTokenized = 'interp parser expr'; processed time for its solution refers to ProcessedTime;
SQL: SELECT T1.ProcessedTime FROM Solution AS T1 INNER JOIN Method AS T2 ON T1.Id = T2.SolutionId WHERE T2.NameTokenized = 'interp parser expr'
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 repository number for the solution of method "SCore.Poisson.ngtIndex"?
Evidence: repository number refers to RepoId; method refers to Name; Name = ‘SCore.Poisson.ngtIndex’
SQL: SELECT T1.RepoId FROM Solution AS T1 INNER JOIN Method AS T2 ON T1.Id = T2.SolutionId WHERE T2.Name = 'SCore.Poisson.ngtIndex'
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: Tell the path of the solution for the method "ExportToRTF.RTFStyleSheet.H6Write".
Evidence: path of the solution refers to Path; method refers to Name; Name = 'ExportToRTF.RTFStyleSheet.H6Write';
SQL: SELECT T1.Path FROM Solution AS T1 INNER JOIN Method AS T2 ON T1.Id = T2.SolutionId WHERE T2.Name = 'ExportToRTF.RTFStyleSheet.H6Write'
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: For the repository with '8094' watchers , how many solutions does it contain?
Evidence: repository refers to Repo.Id and RepoId; solutions a repository contains refers to Solution.Id;
SQL: SELECT COUNT(T2.RepoId) FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId WHERE T1.Watchers = 8094
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 repository Url of the one with most solutions.
Evidence: repository URL refers to Url; repository Url with most solutions refers to MAX(COUNT(Solution.Id));
SQL: SELECT T1.Url FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId 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: How many solutions does the repository which has 1445 Forks contain?
Evidence: solutions refers to Solution.Id; repository refers to Repository.Id;
SQL: SELECT COUNT(T2.RepoId) FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId WHERE T1.Forks = 1445
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 all the solution of the 'zh-cn' methods, which path is most often used?
Evidence: solution refers to SolutionId; zh-cn refers to Lang = 'zh-cn'; path that is most often used refers to MAX(COUNT(Path));
SQL: SELECT T1.Path FROM Solution AS T1 INNER JOIN Method AS T2 ON T1.Id = T2.SolutionId WHERE T2.Lang = 'zh-cn' GROUP BY T1.Path ORDER BY COUNT(T1.Path) 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: Give the number of watchers that the repository of the solution No. 338082 have.
Evidence: number of watchers refers to Watchers; solution number refers to Solution.Id;
SQL: SELECT T1.Watchers FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId WHERE T2.Id = 338082
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: For the repository which got '189' Stars, how many solutions which needs to be compiled does it contain?
Evidence: repository refers to Repository.Id; solution needs to be compiled 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.Stars = 189 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: Show the solution path for the method "Mosa.Platform.x86.Instructions.IMul.EmitLegacy"?
Evidence: solution path refers to Path; method refers to Name; Name = 'Mosa.Platform.x86.Instructions.IMul.EmitLegacy';
SQL: SELECT T1.Path FROM Solution AS T1 INNER JOIN Method AS T2 ON T1.Id = T2.SolutionId WHERE T2.Name = 'Mosa.Platform.x86.Instructions.IMul.EmitLegacy'
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: For the method which got the tokenized name as 't jadwal entity get single mpic', what is the path time for its solution?
Evidence: tokenized name refers to NameTokenized; NameTokenized = 't jadwal entity get single mpic'; path time for its solution refers to ProcessedTime;
SQL: SELECT DISTINCT T1.ProcessedTime FROM Solution AS T1 INNER JOIN Method AS T2 ON T1.Id = T2.SolutionId WHERE T2.NameTokenized = 't jadwal entity get single mpic'
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 repository ID for the solution of method "Kalibrasi.Data.EntityClasses.THistoryJadwalEntity.GetSingleTjadwal".
Evidence: repository ID refers to RepoID; method refers to Name; Name = 'Kalibrasi.Data.EntityClasses.THistoryJadwalEntity.GetSingleTjadwal';
SQL: SELECT DISTINCT T1.RepoId FROM Solution AS T1 INNER JOIN Method AS T2 ON T1.Id = T2.SolutionId WHERE T2.Name = 'Kalibrasi.Data.EntityClasses.THistoryJadwalEntity.GetSingleTjadwal'
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: For the method has the summary of "Refetches the Entity from the persistent storage. Refetch is used to re-load an Entity which is marked "Out-of-sync", due to a save action. Refetching an empty Entity has no effect.", what is its solution path?
Evidence: solution path refers to Path;
SQL: SELECT DISTINCT T1.Path FROM Solution AS T1 INNER JOIN Method AS T2 ON T1.Id = T2.SolutionId WHERE T2.Summary = 'Refetches the Entity FROM the persistent storage. Refetch is used to re-load an Entity which is marked "Out-of-sync", due to a save action. Refetching an empty Entity has no effect.'
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 number of solutions that the repository which has 3060 Stars contains.
Evidence: solutions refers to Solution.Id; repository refers to Repository.Id;
SQL: SELECT COUNT(T2.RepoId) FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId WHERE T1.Stars = 3060
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: For the solution of the most 'sw' methods, what is its path?
Evidence: solution refers to SolutionId; sw refers to Lang = 'sw'; solution with the most 'sw' methods refers to MAX(COUNT(Lang = 'sw'));
SQL: SELECT DISTINCT T1.Path FROM Solution AS T1 INNER JOIN Method AS T2 ON T1.Id = T2.SolutionId WHERE T2.Lang = 'sw'
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 percent more of the watchers for the repository of solution No.83855 than No.1502?
Evidence: solution No. refers to Solution.Id; percentage = DIVIDE(MULTIPLY(SUBTRACT(SUM(Solution.Id = 83855), SUM(Solution.Id = 1502)), 100)), SUM(Soltution.Id = 1502);
SQL: SELECT CAST(SUM(CASE WHEN T2.Id = 83855 THEN T1.Watchers ELSE 0 END) - SUM(CASE WHEN T2.Id = 1502 THEN T1.Watchers ELSE 0 END) AS REAL) * 100 / SUM(CASE WHEN T2.Id = 1502 THEN T1.Watchers 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: How many percent more of the stars for the repository of solution No.51424 than No.167053?
Evidence: solution No. refers to Solution.Id; percentage = DIVIDE(MULTIPLY(SUBTRACT(SUM(Solution.Id = 51424), SUM(Solution.Id = 167053)), 100)), SUM(Solution.Id = 167053);
SQL: SELECT CAST(SUM(CASE WHEN T2.Id = 51424 THEN T1.Stars ELSE 0 END) - SUM(CASE WHEN T2.Id = 167053 THEN T1.Stars ELSE 0 END) AS REAL) * 100 / SUM(CASE WHEN T2.Id = 167053 THEN T1.Stars 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: How many percent more of the Forks for the repository of solution No.53546 than No.1502?
Evidence: solution No. refers to Solution.Id; percentage = DIVIDE(MULTIPLY(SUBTRACT(SUM(Solution.Id = 53546), SUM(Solution.Id = 1502)), 100)), SUM(Solution.Id = 1502);
SQL: SELECT CAST(SUM(CASE WHEN T2.Id = 53546 THEN T1.Forks ELSE 0 END) - SUM(CASE WHEN T2.Id = 1502 THEN T1.Forks ELSE 0 END) AS REAL) * 100 / SUM(CASE WHEN T2.Id = 1502 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: List all the methods with a solution with a "636449700980488000" processed time.
Evidence: methods refers to Name; solution refers to SolutionId;
SQL: SELECT DISTINCT T2.Name FROM Solution AS T1 INNER JOIN Method AS T2 ON T1.Id = T2.SolutionId WHERE T1.ProcessedTime = 636449700980488000
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 are in "https://github.com/derickbailey/presentations-and-training.git"?
Evidence: solutions refers to Solution.Id; https://github.com/derickbailey/presentations-and-training.git refers to Url; Url; = 'https://github.com/derickbailey/presentations-and-training.git';
SQL: SELECT COUNT(T2.RepoId) FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId WHERE T1.Url = 'https://github.com/derickbailey/presentations-and-training.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 total processed time of all solutions from the repository with the most forks?
Evidence: total processed time = AVG(ProcessedTime where MAX(COUNT(Forks))); repository with the most forks refers to MAX(COUNT(Forks));
SQL: SELECT SUM(T2.ProcessedTime) FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId WHERE T1.Forks = ( SELECT MAX(Forks) 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: List all the path of solution from all the "it" lang code method.
Evidence: path of the solution refers to Path; solution refers to Solution.Id;
SQL: SELECT DISTINCT T1.Path FROM Solution AS T1 INNER JOIN Method AS T2 ON T1.Id = T2.SolutionId WHERE T2.Lang = 'it'
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 path of solution of "spinachLexer.mT__55" method?
Evidence: path of the solution refers to Path; solution refers to Solution.Id; method refers to Name; Name = 'spinachLexer.mT__55';
SQL: SELECT T1.Path FROM Solution AS T1 INNER JOIN Method AS T2 ON T1.Id = T2.SolutionId WHERE T2.Name = 'spinachLexer.mT__55'
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 are the "en" methods with solutions from repository "1093"
Evidence: en methods refers to lang = 'en'; solution refers to Solution.Id; repository refers to RepoId; RepoId = 1093;
SQL: SELECT DISTINCT T2.id FROM Solution AS T1 INNER JOIN Method AS T2 ON T1.Id = T2.SolutionId WHERE T1.RepoId = 1093 AND T2.Lang = 'en'
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 are the paths of solutions in repository "https://github.com/ecoffey/Bebop.git"
Evidence: path of solutions refers to Path; https://github.com/ecoffey/Bebop.git refers to Url; Url = 'https://github.com/ecoffey/Bebop.git';
SQL: SELECT DISTINCT T2.Path FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId WHERE T1.Url = 'https://github.com/ecoffey/Bebop.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: List all the ids of repositories for solutions with "ro" methods.
Evidence: ids of repositories refers to RepoId; ro refers to lang = 'ro';
SQL: SELECT DISTINCT T1.RepoId FROM Solution AS T1 INNER JOIN Method AS T2 ON T1.Id = T2.SolutionId WHERE T2.Lang = 'ro'
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 repository id of the method with tokenized name "crc parameters get hash code"?
Evidence: repository id refers to RepoId; tokenized name refers to NameTokenized; NameTokenized = 'crc parameters get hash code';
SQL: SELECT T1.RepoId FROM Solution AS T1 INNER JOIN Method AS T2 ON T1.Id = T2.SolutionId WHERE T2.NameTokenized = 'crc parameters get hash code'
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 methods with solutions with path 'maravillas_linq-to-delicious\tasty.sln'?
Evidence: solution refers to SolutionId;
SQL: SELECT COUNT(T2.SolutionId) FROM Solution AS T1 INNER JOIN Method AS T2 ON T1.Id = T2.SolutionId WHERE T1.Path = 'maravillas_linq-to-delicious\tasty.sln'