db_id stringlengths 4 31 | SQL stringlengths 18 1.45k | input_sequence stringlengths 148 11k | question stringlengths 16 325 |
|---|---|---|---|
codebase_comments | select t2.id from repo as t1 inner join solution as t2 on t1.id = t2.repoid order by t1.forks desc limit 3 | Question: please list the ids of the solutions that contain files within the top 3 followed repositories. | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, Processe... | please list the ids of the solutions that contain files within the top 3 followed repositories. |
codebase_comments | 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' | 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? | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, ... | 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? |
codebase_comments | 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 | Question: how many more followers in percentage are there for the repository used by solution id 18 than solution id19? | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watc... | how many more followers in percentage are there for the repository used by solution id 18 than solution id19? |
codebase_comments | select lang from method where name = 'pixietests.sqlconnectionlayertests.testsqlcreateguidcolumn' | Question: what is the language of the method ''pixietests.sqlconnectionlayertests.testsqlcreateguidcolumn'? | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, Proces... | what is the language of the method ''pixietests.sqlconnectionlayertests.testsqlcreateguidcolumn'? |
codebase_comments | select fullcomment from method where name = 'de2_ue_fahrradkurier.de2_uebung_fahrradkurierdataset1tableadapters.tableadaptermanager.updateinsertedrows' | Question: show the full comment of the method 'de2_ue_fahrradkurier.de2_uebung_fahrradkurierdataset1tableadapters.tableadaptermanager.updateinsertedrows'. | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. ... | show the full comment of the method 'de2_ue_fahrradkurier.de2_uebung_fahrradkurierdataset1tableadapters.tableadaptermanager.updateinsertedrows'. |
codebase_comments | select distinct summary from method where name = 'castle.monorail.framework.test.stubviewcomponentcontext.rendersection' | Question: list the summary of the method 'castle.monorail.framework.test.stubviewcomponentcontext.rendersection'. | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, ... | list the summary of the method 'castle.monorail.framework.test.stubviewcomponentcontext.rendersection'. |
codebase_comments | select nametokenized from method where name = 'supay.irc.messages.knockmessage.gettokens' | Question: give the tokenized name for the method 'supay.irc.messages.knockmessage.gettokens'. | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, ProcessedTime. Solut... | give the tokenized name for the method 'supay.irc.messages.knockmessage.gettokens'. |
codebase_comments | select t1.stars from repo as t1 inner join solution as t2 on t1.id = t2.repoid where t2.id = 45997 | Question: how many stars does the repository of the solution no. 45997 have? | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, ProcessedTime. Solution -> Id, RepoId... | how many stars does the repository of the solution no. 45997 have? |
codebase_comments | select count(t2.repoid) from repo as t1 inner join solution as t2 on t1.id = t2.repoid where t1.stars = 8094 | Question: for the repository which got '8094' stars, how many solutions does it contain? | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, ProcessedTime. Solution -... | for the repository which got '8094' stars, how many solutions does it contain? |
codebase_comments | select t1.path from solution as t1 inner join method as t2 on t1.id = t2.solutionid where t2.name = 'iq.data.dbqueryprovider.canbeevaluatedlocally' | Question: what is the solution path for the method 'iq.data.dbqueryprovider.canbeevaluatedlocally'? | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, ProcessedTime.... | what is the solution path for the method 'iq.data.dbqueryprovider.canbeevaluatedlocally'? |
codebase_comments | select t1.processedtime from solution as t1 inner join method as t2 on t1.id = t2.solutionid where t2.nametokenized = 'interp parser expr' | Question: for the method which got the tokenized name as 'interp parser expr', what is the processed time for its solution? | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, ... | for the method which got the tokenized name as 'interp parser expr', what is the processed time for its solution? |
codebase_comments | select t1.repoid from solution as t1 inner join method as t2 on t1.id = t2.solutionid where t2.name = 'score.poisson.ngtindex' | Question: what is the repository number for the solution of method 'score.poisson.ngtindex'? | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, ProcessedTime. Soluti... | what is the repository number for the solution of method 'score.poisson.ngtindex'? |
codebase_comments | select t1.path from solution as t1 inner join method as t2 on t1.id = t2.solutionid where t2.name = 'exporttortf.rtfstylesheet.h6write' | Question: tell the path of the solution for the method 'exporttortf.rtfstylesheet.h6write'. | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, ProcessedTime. Solutio... | tell the path of the solution for the method 'exporttortf.rtfstylesheet.h6write'. |
codebase_comments | select count(t2.repoid) from repo as t1 inner join solution as t2 on t1.id = t2.repoid where t1.watchers = 8094 | Question: for the repository with '8094' watchers , how many solutions does it contain? | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, ProcessedTime. Solution ->... | for the repository with '8094' watchers , how many solutions does it contain? |
codebase_comments | 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 | Question: give the repository url of the one with most solutions. | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, ProcessedTime. Solution -> Id, RepoId, Path, Pro... | give the repository url of the one with most solutions. |
codebase_comments | select count(t2.repoid) from repo as t1 inner join solution as t2 on t1.id = t2.repoid where t1.forks = 1445 | Question: how many solutions does the repository which has 1445 forks contain? | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, ProcessedTime. Solution -> Id, Repo... | how many solutions does the repository which has 1445 forks contain? |
codebase_comments | 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 | Question: among all the solution of the 'zh-cn' methods, which path is most often used? | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, ProcessedTime. Solution ->... | among all the solution of the 'zh-cn' methods, which path is most often used? |
codebase_comments | select t1.watchers from repo as t1 inner join solution as t2 on t1.id = t2.repoid where t2.id = 338082 | Question: give the number of watchers that the repository of the solution no. 338082 have. | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, ProcessedTime. Solution... | give the number of watchers that the repository of the solution no. 338082 have. |
codebase_comments | 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 | Question: for the repository which got '189' stars, how many solutions which needs to be compiled does it contain? | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers,... | for the repository which got '189' stars, how many solutions which needs to be compiled does it contain? |
codebase_comments | 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' | Question: show the solution path for the method 'mosa.platform.x86.instructions.imul.emitlegacy'? | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, ProcessedTime. S... | show the solution path for the method 'mosa.platform.x86.instructions.imul.emitlegacy'? |
codebase_comments | 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' | Question: for the method which got the tokenized name as 't jadwal entity get single mpic', what is the path time for its solution? | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars,... | for the method which got the tokenized name as 't jadwal entity get single mpic', what is the path time for its solution? |
codebase_comments | 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' | Question: give the repository id for the solution of method 'kalibrasi.data.entityclasses.thistoryjadwalentity.getsingletjadwal'. | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, F... | give the repository id for the solution of method 'kalibrasi.data.entityclasses.thistoryjadwalentity.getsingletjadwal'. |
codebase_comments | 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.' | 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? | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, Co... | 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? |
codebase_comments | select count(t2.repoid) from repo as t1 inner join solution as t2 on t1.id = t2.repoid where t1.stars = 3060 | Question: give the number of solutions that the repository which has 3060 stars contains. | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, ProcessedTime. Solution ... | give the number of solutions that the repository which has 3060 stars contains. |
codebase_comments | select distinct t1.path from solution as t1 inner join method as t2 on t1.id = t2.solutionid where t2.lang = 'sw' | Question: for the solution of the most 'sw' methods, what is its path? | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, ProcessedTime. Solution -> Id, RepoId, Path... | for the solution of the most 'sw' methods, what is its path? |
codebase_comments | 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 | Question: how many percent more of the watchers for the repository of solution no.83855 than no.1502? | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, ProcessedTim... | how many percent more of the watchers for the repository of solution no.83855 than no.1502? |
codebase_comments | 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 | Question: how many percent more of the stars for the repository of solution no.51424 than no.167053? | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, ProcessedTime... | how many percent more of the stars for the repository of solution no.51424 than no.167053? |
codebase_comments | 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 | Question: how many percent more of the forks for the repository of solution no.53546 than no.1502? | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, ProcessedTime. ... | how many percent more of the forks for the repository of solution no.53546 than no.1502? |
codebase_comments | select distinct t2.name from solution as t1 inner join method as t2 on t1.id = t2.solutionid where t1.processedtime = 636449700980488000 | Question: list all the methods with a solution with a '636449700980488000' processed time. | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, ProcessedTime. Solution... | list all the methods with a solution with a '636449700980488000' processed time. |
codebase_comments | 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' | Question: how many solutions are in 'https://github.com/derickbailey/presentations-and-training.git'? | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, ProcessedTim... | how many solutions are in 'https://github.com/derickbailey/presentations-and-training.git'? |
codebase_comments | 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 ) | Question: what is the total processed time of all solutions from the repository with the most forks? | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, ProcessedTime... | what is the total processed time of all solutions from the repository with the most forks? |
codebase_comments | select distinct t1.path from solution as t1 inner join method as t2 on t1.id = t2.solutionid where t2.lang = 'it' | Question: list all the path of solution from all the 'it' lang code method. | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, ProcessedTime. Solution -> Id, RepoId,... | list all the path of solution from all the 'it' lang code method. |
codebase_comments | select t1.path from solution as t1 inner join method as t2 on t1.id = t2.solutionid where t2.name = 'spinachlexer.mt__55' | Question: what is the path of solution of 'spinachlexer.mt__55' method? | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, ProcessedTime. Solution -> Id, RepoId, Pat... | what is the path of solution of 'spinachlexer.mt__55' method? |
codebase_comments | 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' | Question: what are the 'en' methods with solutions from repository '1093' | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, ProcessedTime. Solution -> Id, RepoId, P... | what are the 'en' methods with solutions from repository '1093' |
codebase_comments | 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' | Question: what are the paths of solutions in repository 'https://github.com/ecoffey/bebop.git' | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, ProcessedTime. Solu... | what are the paths of solutions in repository 'https://github.com/ecoffey/bebop.git' |
codebase_comments | select distinct t1.repoid from solution as t1 inner join method as t2 on t1.id = t2.solutionid where t2.lang = 'ro' | Question: list all the ids of repositories for solutions with 'ro' methods. | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, ProcessedTime. Solution -> Id, RepoId,... | list all the ids of repositories for solutions with 'ro' methods. |
codebase_comments | 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' | Question: what is the repository id of the method with tokenized name 'crc parameters get hash code'? | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, ProcessedTim... | what is the repository id of the method with tokenized name 'crc parameters get hash code'? |
codebase_comments | select count(t2.solutionid) from solution as t1 inner join method as t2 on t1.id = t2.solutionid where t1.path = 'maravillas_linq-to-delicioustasty.sln' | Question: how many methods with solutions with path 'maravillas_linq-to-delicioustasty.sln'? | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, ProcessedTime. Soluti... | how many methods with solutions with path 'maravillas_linq-to-delicioustasty.sln'? |
codebase_comments | select t2.id from repo as t1 inner join solution as t2 on t1.id = t2.repoid where t1.processedtime = 636430969128176000 | Question: list all the solutions ids of the repository with '636430969128176000' processed time | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, ProcessedTime. Sol... | list all the solutions ids of the repository with '636430969128176000' processed time |
codebase_comments | select t1.url from repo as t1 inner join solution as t2 on t1.id = t2.repoid where t2.processedtime = ( select max(processedtime) from solution ) | Question: what is the url for repository that has the longest processed time solution? | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, ProcessedTime. Solution -> ... | what is the url for repository that has the longest processed time solution? |
codebase_comments | select distinct t2.id from repo as t1 inner join solution as t2 on t1.id = t2.repoid where t1.forks > t1.watchers / 2 | Question: list all the solutions of repositories with the forks higher than half of the watchers. | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, ProcessedTime. S... | list all the solutions of repositories with the forks higher than half of the watchers. |
codebase_comments | select cast(t1.forks as real) * 100 / t1.stars from repo as t1 inner join solution as t2 on t1.id = t2.repoid where t2.id = 104086 | Question: what is the percentage of forks to stars of repository for solution '104086'? | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, ProcessedTime. Solution ->... | what is the percentage of forks to stars of repository for solution '104086'? |
codebase_comments | select id from repo where stars = ( select max(stars) from repo ) | Question: please provide the id of the respository that the most people like. | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, ProcessedTime. Solution -> Id, RepoI... | please provide the id of the respository that the most people like. |
codebase_comments | select t1.path from solution as t1 inner join method as t2 on t1.id = t2.solutionid where t2.name = 'htmlsharp.htmlparser.feed' | Question: what is the solution's path of method 'htmlsharp.htmlparser.feed'? | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, ProcessedTime. Solution -> Id, RepoId... | what is the solution's path of method 'htmlsharp.htmlparser.feed'? |
codebase_comments | select t1.forks from repo as t1 inner join solution as t2 on t1.id = t2.repoid where t2.id = 35 | Question: please provide the number of forks that the repository of the solution 35 have. | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, ProcessedTime. Solution ... | please provide the number of forks that the repository of the solution 35 have. |
codebase_comments | select t2.id from repo as t1 inner join solution as t2 on t1.id = t2.repoid where t1.watchers = ( select max(watchers) from repo ) | Question: please provide the id of the solution whose repository has the most watchers. | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, ProcessedTime. Solution ->... | please provide the id of the solution whose repository has the most watchers. |
codebase_comments | select t1.stars from repo as t1 inner join solution as t2 on t1.id = t2.repoid where t2.id = 20 | Question: please provide the number of stars that the repository of the solution 20 have. | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, ProcessedTime. Solution ... | please provide the number of stars that the repository of the solution 20 have. |
codebase_comments | select count(t2.solutionid) , case when t1.wascompiled = 0 then 'needs' else 'noneeds' end needtocompile from solution as t1 inner join method as t2 on t1.id = t2.solutionid where t2.solutionid = 1 | Question: how many methods does solution 1 have? and please tell me if solution 1 needs to be compiled. | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, ProcessedT... | how many methods does solution 1 have? and please tell me if solution 1 needs to be compiled. |
codebase_comments | select cast(sum(case when t1.wascompiled = 0 then 1 else 0 end) as real) * 100 / count(t2.solutionid) from solution as t1 inner join method as t2 on t1.id = t2.solutionid where t2.commentisxml = 1 | Question: what is the percentage of the methods' solutions that need to be compiled among the methods whose comments is xml format? | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars,... | what is the percentage of the methods' solutions that need to be compiled among the methods whose comments is xml format? |
codebase_comments | select t2.name from solution as t1 inner join method as t2 on t1.id = t2.solutionid where t1.path = 'wallerdev_htmlsharphtmlsharp.sln' | Question: please list the names of methods with the solution path 'wallerdev_htmlsharphtmlsharp.sln'. | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, ProcessedTim... | please list the names of methods with the solution path 'wallerdev_htmlsharphtmlsharp.sln'. |
codebase_comments | select cast(sum(case when stars > 2000 then 1 else 0 end) as real) * 100 / count(stars) from repo | Question: what is the percentage of respositories that receive more than 2,000 stars? | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, ProcessedTime. Solution -> I... | what is the percentage of respositories that receive more than 2,000 stars? |
codebase_comments | select t1.url from repo as t1 inner join solution as t2 on t1.id = t2.repoid where t2.id = 1 | Question: what is the url of solution 1? | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, ProcessedTime. Solution -> Id, RepoId, Path, ProcessedTime, WasCompiled. ... | what is the url of solution 1? |
codebase_comments | select id from repo where stars = 21 and forks = ( select max(forks) from repo where stars = 21 ) | Question: please provide the id of the respository that received the most forks among the respositories that receive 21 stars. | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Fork... | please provide the id of the respository that received the most forks among the respositories that receive 21 stars. |
codebase_comments | select cast(sum(case when lang = 'en' then 1 else 0 end) as real) * 100 / count(name) from method where commentisxml = 1 | Question: what the percentage of the english methods among the methods whose comments is xml format? | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, ProcessedTime... | what the percentage of the english methods among the methods whose comments is xml format? |
codebase_comments | select t1.path from solution as t1 inner join method as t2 on t1.id = t2.solutionid where t2.nametokenized = 'html parser feed' | Question: please provide the path of solution of method whose tokenized name is html parser feed. | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, ProcessedTime. S... | please provide the path of solution of method whose tokenized name is html parser feed. |
codebase_comments | select t2.id from repo as t1 inner join solution as t2 on t1.id = t2.repoid where t1.forks = 238 | Question: please provide the solution id of the respository among the respository that receive 238 forks. | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, Processe... | please provide the solution id of the respository among the respository that receive 238 forks. |
codebase_comments | select nametokenized from solution as t1 inner join method as t2 on t1.id = t2.solutionid where lang = 'en' and wascompiled = 0 | Question: among the english methods,please list the tokenized names of methods whose solutions need to be compiled. | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers... | among the english methods,please list the tokenized names of methods whose solutions need to be compiled. |
codebase_comments | select count(t2.repoid) from repo as t1 inner join solution as t2 on t1.id = t2.repoid where t1.forks < t1.stars * 1 / 3 | Question: how many solutions whose repository's stars are a third more than forks? | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, ProcessedTime. Solution -> Id, ... | how many solutions whose repository's stars are a third more than forks? |
codebase_comments | select t1.path from solution as t1 inner join method as t2 on t1.id = t2.solutionid where t2.fullcomment = 'feeds data into the parser' | Question: please provide the path of solution of method whose full comment is feeds data into the parser. | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, Processe... | please provide the path of solution of method whose full comment is feeds data into the parser. |
codebase_comments | select count(t2.solutionid) from solution as t1 inner join method as t2 on t1.id = t2.solutionid where t1.repoid = 3 and t2.commentisxml = 1 | Question: among the repository '3', how many methods whose comments is xml format? | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, ProcessedTime. Solution -> Id, ... | among the repository '3', how many methods whose comments is xml format? |
codebase_comments | select cast(sum(case when t1.wascompiled = 0 then 1 else 0 end) as real) * 100 / count(lang) from solution as t1 inner join method as t2 on t1.id = t2.solutionid where t2.lang = 'en' | Question: what is the percentage of solutions for the method that needs to be compiled in the english methods? | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, Pro... | what is the percentage of solutions for the method that needs to be compiled in the english methods? |
codebase_comments | select cast(sum(case when t2.id = 1 then t1.stars else 0 end) - sum(case when t2.id = 2 then t1.stars else 0 end) as real) * 100 / sum(case when t2.id = 2 then t1.stars else 0 end) from repo as t1 inner join solution as t2 on t1.id = t2.repoid | Question: how many more stars in percentage are there for the repository of solution '1' than solution '2'? | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, Proces... | how many more stars in percentage are there for the repository of solution '1' than solution '2'? |
codebase_comments | select count(distinct t1.id) from repo as t1 inner join solution as t2 on t1.id = t2.repoid where t1.stars > cast(t1.forks as real) / 3 | Question: how many solutions are there whose respositories received the number of stars more than one third of the number of forks? | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars,... | how many solutions are there whose respositories received the number of stars more than one third of the number of forks? |
codebase_comments | select substr(substr(name, instr(name, '.') + 1), 1, instr(substr(name, instr(name, '.') + 1), '.') - 1) task from method where id = 2 | Question: what is the task of method number 2? | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, ProcessedTime. Solution -> Id, RepoId, Path, ProcessedTime, WasComp... | what is the task of method number 2? |
codebase_comments | select case when commentisxml = 0 then 'isnotxmlformat' when commentisxml = 1 then 'isxmlformat' end format from method where id = 8 | Question: what format does the method number 8's comment have? | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, ProcessedTime. Solution -> Id, RepoId, Path, Proces... | what format does the method number 8's comment have? |
codebase_comments | select url from repo where watchers = ( select max(watchers) from repo ) | Question: please provide a link to the most well-known repository's github address. | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, ProcessedTime. Solution -> Id,... | please provide a link to the most well-known repository's github address. |
codebase_comments | select distinct substr(substr(name, instr(name, '.') + 1), 1, instr(substr(name, instr(name, '.') + 1), '.') - 1) task from method where lang = 'cs' | Question: what is the task of the method that is in the czech language? | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, ProcessedTime. Solution -> Id, RepoId, Pat... | what is the task of the method that is in the czech language? |
codebase_comments | select t1.path from solution as t1 inner join method as t2 on t1.id = t2.solutionid where t2.id = 3 | Question: what is the solution path for method number 3? | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, ProcessedTime. Solution -> Id, RepoId, Path, ProcessedTim... | what is the solution path for method number 3? |
codebase_comments | select t2.lang from solution as t1 inner join method as t2 on t1.id = t2.solutionid where t2.id = 28 and t1.repoid = 3 | Question: what is the language of method number 28 that can be found in the repository number 3? | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, ProcessedTime. So... | what is the language of method number 28 that can be found in the repository number 3? |
codebase_comments | select t1.processedtime, count(t2.solutionid) from solution as t1 inner join method as t2 on t1.id = t2.solutionid where t2.solutionid = 1 | Question: what is solution 1's processing time and how many methods have been using this solution? | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, ProcessedTime. ... | what is solution 1's processing time and how many methods have been using this solution? |
codebase_comments | select count(t2.solutionid) from solution as t1 inner join method as t2 on t1.id = t2.solutionid where t2.nametokenized like 'query language%' | Question: how many methods in the same repository share a tokenized name that begins with 'query language...'? | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, Pro... | how many methods in the same repository share a tokenized name that begins with 'query language...'? |
codebase_comments | select t2.apicalls, t1.path from solution as t1 inner join method as t2 on t1.id = t2.solutionid where t2.id = 10 | Question: please state the api calls for method number 10 and its intended course of action. | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, ProcessedTime. Soluti... | please state the api calls for method number 10 and its intended course of action. |
codebase_comments | select count(t2.solutionid) from solution as t1 inner join method as t2 on t1.id = t2.solutionid where t1.repoid = 150 and t2.fullcomment is null and t2.summary is null | Question: how many methods in repository 150 did not have a comment and a summary? | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, ProcessedTime. Solution -> Id, ... | how many methods in repository 150 did not have a comment and a summary? |
codebase_comments | select case when t2.commentisxml = 0 then 'isnotxmlformat' when t2.commentisxml = 1 then 'isxmlformat' end format from solution as t1 inner join method as t2 on t1.id = t2.solutionid where t2.id = 50 and t1.path = 'managedfusion_managedfusionmanagedfusion.sln' | Question: what is the comment format of method number 50 with the solution path 'managedfusion_managedfusionmanagedfusion.sln'? | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, For... | what is the comment format of method number 50 with the solution path 'managedfusion_managedfusionmanagedfusion.sln'? |
codebase_comments | select distinct substr(substr(name, instr(name, '.') + 1), 1, instr(substr(name, instr(name, '.') + 1), '.') - 1) task from method where nametokenized = 'string extensions to pascal case' | Question: what is the task method of the tokenized name 'string extensions to pascal case'? | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, ProcessedTime. Solutio... | what is the task method of the tokenized name 'string extensions to pascal case'? |
codebase_comments | select nametokenized from method where name = 'sky.excel.excelbook.typeconvert' | Question: provide the tokenized name of the method 'sky.excel.excelbook.typeconvert'. | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, ProcessedTime. Solution -> I... | provide the tokenized name of the method 'sky.excel.excelbook.typeconvert'. |
codebase_comments | select count(distinct 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' | Question: how many path does the github address 'https://github.com/jeffdik/tachy.git' have? | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, ProcessedTime. Soluti... | how many path does the github address 'https://github.com/jeffdik/tachy.git' have? |
codebase_comments | select t1.watchers from repo as t1 inner join solution as t2 on t1.id = t2.repoid where t2.path = 'maff_se3ue7us7.sln' | Question: how many watchers does the path 'maff_se3ue7us7.sln' have? | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, ProcessedTime. Solution -> Id, RepoId, Path, ... | how many watchers does the path 'maff_se3ue7us7.sln' have? |
codebase_comments | select t1.url from repo as t1 inner join solution as t2 on t1.id = t2.repoid where t2.wascompiled = 1 limit 5 | Question: list 5 github address that the solutions can be implemented without the need of compilation. | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, ProcessedTi... | list 5 github address that the solutions can be implemented without the need of compilation. |
codebase_comments | select distinct t1.path from solution as t1 inner join method as t2 on t1.id = t2.solutionid where t2.nametokenized = 'matrix multiply' | Question: what are the solution path of the tokenized name 'matrix multiply'? | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, ProcessedTime. Solution -> Id, RepoI... | what are the solution path of the tokenized name 'matrix multiply'? |
codebase_comments | select count(t3.commentisxml) 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/dogeth/vss2git.git' and t3.commentisxml = 1 | Question: how many xml format does the github address 'https://github.com/dogeth/vss2git.git' have? | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, ProcessedTime.... | how many xml format does the github address 'https://github.com/dogeth/vss2git.git' have? |
codebase_comments | select distinct t1.path from solution as t1 inner join method as t2 on t1.id = t2.solutionid where t2.sampledat = 636431758961741000 limit 5 | Question: list 5 solution path that has sampling time of 636431758961741000. | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, ProcessedTime. Solution -> Id, RepoId... | list 5 solution path that has sampling time of 636431758961741000. |
codebase_comments | select t1.url from repo as t1 inner join solution as t2 on t1.id = t2.repoid where t2.path = 'joeyrobert_bloomfilterdatatypes.bloomfilter.sln' | Question: what is the github address of the solution path 'joeyrobert_bloomfilterdatatypes.bloomfilter.sln'? | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, Proce... | what is the github address of the solution path 'joeyrobert_bloomfilterdatatypes.bloomfilter.sln'? |
codebase_comments | select distinct t2.name from solution as t1 inner join method as t2 on t1.id = t2.solutionid where t1.path = 'graffen_nlog.targets.syslogsrcnlog.targets.syslog.sln' | Question: list all the method name of the solution path 'graffen_nlog.targets.syslogsrcnlog.targets.syslog.sln'. | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, P... | list all the method name of the solution path 'graffen_nlog.targets.syslogsrcnlog.targets.syslog.sln'. |
codebase_comments | select distinct t2.nametokenized from solution as t1 inner join method as t2 on t1.id = t2.solutionid where t1.path = 'jurney_p4backupp4backupp4backup.sln' | Question: list all the tokenized name of the solution path 'jurney_p4backupp4backupp4backup.sln'. | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, ProcessedTime. S... | list all the tokenized name of the solution path 'jurney_p4backupp4backupp4backup.sln'. |
codebase_comments | select t1.url 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 t3.summary = 'a test for decompose' | Question: provide the github address with the summary of method 'a test for decompose'. | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, ProcessedTime. Solution ->... | provide the github address with the summary of method 'a test for decompose'. |
codebase_comments | select distinct t1.stars from repo as t1 inner join solution as t2 on t1.id = t2.repoid where t2.path = 'ninject_ninjectninject.sln' | Question: how many liked by people does the solution path 'ninject_ninjectninject.sln' have? | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, ProcessedTime. Soluti... | how many liked by people does the solution path 'ninject_ninjectninject.sln' have? |
codebase_comments | select count(t2.path) from repo as t1 inner join solution as t2 on t1.id = t2.repoid where t1.stars = 111 and t1.forks = 58 and t1.watchers = 111 | Question: how many solution path does the repository with 111 stars, 58 forks, and 111 watchers? | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks, Watchers, ProcessedTime. So... | how many solution path does the repository with 111 stars, 58 forks, and 111 watchers? |
codebase_comments | select cast(sum(t2.processedtime) as real) / count(t2.processedtime) from repo as t1 inner join solution as t2 on t1.id = t2.repoid where t1.stars = 254 and t1.forks = 88 and t1.watchers = 254 | Question: what is the average processed time of the solution with a repository of 254 likes, 88 followers, and 254 watchers? | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, Forks,... | what is the average processed time of the solution with a repository of 254 likes, 88 followers, and 254 watchers? |
codebase_comments | select count(distinct t3.lang) 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/managedfusion/managedfusion.git' | Question: how many language code of method is used for the github address 'https://github.com/managedfusion/managedfusion.git'? | Tables: Method -> Id, Name, FullComment, Summary, ApiCalls, CommentIsXml, SampledAt, SolutionId, Lang, NameTokenized. MethodParameter -> Id, MethodId, Type, Name. Repo -> Id, Url, Stars, For... | how many language code of method is used for the github address 'https://github.com/managedfusion/managedfusion.git'? |
trains | select count(id) from trains where direction = 'east' | Question: how many trains are there that run in the east direction? | Tables: cars -> id, train_id, position, shape, len, sides, roof, wheels, load_shape, load_num. trains -> id, direction. | Joins: cars.train_id = trains.id, | how many trains are there that run in the east direction? |
trains | select count(id) from cars where train_id = 1 | Question: how many cars are there on train no.1? | Tables: cars -> id, train_id, position, shape, len, sides, roof, wheels, load_shape, load_num. trains -> id, direction. | Joins: cars.train_id = trains.id, | how many cars are there on train no.1? |
trains | select shape from cars where train_id = 1 and position = 4 | Question: what is the shape of the tail car on train no.1? | Tables: cars -> id, train_id, position, shape, len, sides, roof, wheels, load_shape, load_num. trains -> id, direction. | Joins: cars.train_id = trains.id, | what is the shape of the tail car on train no.1? |
trains | select train_id from cars where shape in ('elipse', 'bucket') group by train_id | Question: please list the ids of all the trains with at least one car in a non-regular shape. | Tables: cars -> id, train_id, position, shape, len, sides, roof, wheels, load_shape, load_num. trains -> id, direction. | Joins: cars.train_id = trains.id, | please list the ids of all the trains with at least one car in a non-regular shape. |
trains | select count(id) from cars where train_id = 1 and roof = 'none' | Question: how many cars on train no.1 have the roof open? | Tables: cars -> id, train_id, position, shape, len, sides, roof, wheels, load_shape, load_num. trains -> id, direction. | Joins: cars.train_id = trains.id, | how many cars on train no.1 have the roof open? |
trains | select id from cars where train_id = 1 and wheels = 2 | Question: please list the ids of all the cars on train no.1 that have 2 wheels. | Tables: cars -> id, train_id, position, shape, len, sides, roof, wheels, load_shape, load_num. trains -> id, direction. | Joins: cars.train_id = trains.id, | please list the ids of all the cars on train no.1 that have 2 wheels. |
trains | select sum(case when t1.shape in ('bucket', 'elipse') then 1 else 0 end)as count from cars as t1 inner join trains as t2 on t1.train_id = t2.id where t2.direction = 'east' | Question: among the trains that run in the east direction, how many of them have at least one car in a non-regular shape? | Tables: cars -> id, train_id, position, shape, len, sides, roof, wheels, load_shape, load_num. trains -> id, direction. | Joins: cars.train_id = trains.id, | among the trains that run in the east direction, how many of them have at least one car in a non-regular shape? |
trains | select t1.id from trains as t1 inner join ( select train_id, max(position) as carsnum from cars group by train_id ) as t2 on t1.id = t2.train_id where t1.direction = 'east' and t2.carsnum < 4 | Question: please list the ids of all the trains that run in the east direction and have less than 4 cars. | Tables: cars -> id, train_id, position, shape, len, sides, roof, wheels, load_shape, load_num. trains -> id, direction. | Joins: cars.train_id = trains.id, | please list the ids of all the trains that run in the east direction and have less than 4 cars. |
trains | select t1.id from cars as t1 inner join trains as t2 on t1.train_id = t2.id where t2.direction = 'east' and t1.sides = 'double' | Question: please list the ids of all the cars with double sides on trains that run in the west direction. | Tables: cars -> id, train_id, position, shape, len, sides, roof, wheels, load_shape, load_num. trains -> id, direction. | Joins: cars.train_id = trains.id, | please list the ids of all the cars with double sides on trains that run in the west direction. |
trains | select sum(case when t2.longcarsnum > 2 then 1 else 0 end)as count from trains as t1 inner join ( select train_id, count(id) as longcarsnum from cars where len = 'long' group by train_id ) as t2 on t1.id = t2.train_id where t1.direction = 'west' | Question: among the trains that run in the east direction, how many of them have more than 2 long cars? | Tables: cars -> id, train_id, position, shape, len, sides, roof, wheels, load_shape, load_num. trains -> id, direction. | Joins: cars.train_id = trains.id, | among the trains that run in the east direction, how many of them have more than 2 long cars? |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.