Chinastark/bird_dataset huggingface dataset:
Database: movies_4
Question: How many movies have "vi" as their language code?
Evidence: "vi" as their language code refers to language_code = 'vi'
SQL: SELECT COUNT(T1.movie_id) FROM movie_languages AS T1 INNER JOIN language AS T2 ON T1.language_id = T2.language_id WHERE T2.language_code = 'vi'
Database: movies_4
Question: What is the third least common genre?
Evidence: least common genre refers to min(count(genre_name))
SQL: SELECT T2.genre_name FROM movie_genres AS T1 INNER JOIN genre AS T2 ON T1.genre_id = T2.genre_id GROUP BY T2.genre_id ORDER BY COUNT(T1.movie_id) LIMIT 2, 1
Database: movies_4
Question: What is the original language of the movie with the tagline "An offer you can't refuse."?
Evidence: language refers to language_name; original language refers to language_role = 'Original'
SQL: SELECT T3.language_name FROM movie AS T1 INNER JOIN movie_languages AS T2 ON T1.movie_id = T2.movie_id INNER JOIN language AS T3 ON T2.language_id = T3.language_id INNER JOIN language_role AS T4 ON T2.language_role_id = T4.role_id WHERE T4.language_role = 'Original' AND T1.tagline LIKE 'An offer you can%t refuse.'
Database: movies_4
Question: Provide the average revenue of all the French movies.
Evidence: French movies refers to country_name = 'France'; average revenue = AVG(revenue)
SQL: SELECT AVG(T1.revenue) FROM movie AS T1 INNER JOIN production_COUNTry AS T2 ON T1.movie_id = T2.movie_id INNER JOIN COUNTry AS T3 ON T2.COUNTry_id = T3.COUNTry_id WHERE T3.COUNTry_name = 'France'
Database: movies_4
Question: List all the unspecified gender characters.
Evidence: characters refers to character_name; gender = 'Unspecified'
SQL: SELECT T1.character_name FROM movie_cast AS T1 INNER JOIN gender AS T2 ON T1.gender_id = T2.gender_id WHERE T2.gender = 'Unspecified'
Database: movies_4
Question: What are the top 5 most popular movie directors?
Evidence: directors refers to job = 'Director'; most popular refers to max(popularity)
SQL: SELECT T3.person_name FROM movie AS T1 INNER JOIN movie_crew AS T2 ON T1.movie_id = T2.movie_id INNER JOIN person AS T3 ON T2.person_id = T3.person_id WHERE T2.job = 'Director' ORDER BY T1.popularity DESC LIMIT 5
Database: movies_4
Question: List the film with the highest budget in each genre.
Evidence: highest budget refers to max(budget); each genre refers to genre_name; film also means movie; list the film refers to title of movie
SQL: SELECT T3.genre_name, MAX(T1.budget) FROM movie AS T1 INNER JOIN movie_genres AS T2 ON T1.movie_id = T2.movie_id INNER JOIN genre AS T3 ON T2.genre_id = T3.genre_id GROUP BY T3.genre_name
Database: movies_4
Question: What is the title of the movie with the most keywords?
Evidence: most keywords refers to max(count(keyword_id))
SQL: SELECT T1.title FROM movie AS T1 INNER JOIN movie_keywords AS T2 ON T1.movie_id = T2.movie_id GROUP BY T1.title ORDER BY COUNT(T2.keyword_id) DESC LIMIT 1
Database: movies_4
Question: Which department has the most people?
Evidence: department refers to department_name; most people refers to max(count(department_id))
SQL: SELECT T1.department_name FROM department AS T1 INNER JOIN movie_crew AS T2 ON T1.department_id = T2.department_id GROUP BY T1.department_id ORDER BY COUNT(T2.department_id) DESC LIMIT 1
Database: movies_4
Question: What percentage of films are made in the US?
Evidence: films' and 'movies' are synonyms; made in the US refers to country_iso_code = 'US'; percentage = divide(sum(country_id) when country_iso_code = 'US', count(country_id)) * 100 as percentage
SQL: SELECT CAST(COUNT(CASE WHEN T3.COUNTry_iso_code = 'US' THEN T1.movie_id ELSE NULL END) AS REAL) * 100 / COUNT(T1.movie_id) FROM movie AS T1 INNER JOIN production_COUNTry AS T2 ON T1.movie_id = T2.movie_id INNER JOIN COUNTry AS T3 ON T2.COUNTry_id = T3.COUNTry_id
Database: movies_4
Question: What is the average ratio between female and male actors in a movie?
Evidence: female refers to gender = 'Female'；male refers to gender = 'Male'; average ratio = divide(divide(sum(gender_id) when gender = 'Female', sum(gender_id) when gender = 'Male'), count(movie_id)) as percentage
SQL: SELECT CAST(COUNT(CASE WHEN T2.gender = 'Female' THEN T1.person_id ELSE NULL END) AS REAL) / COUNT(CASE WHEN T2.gender = 'Male' THEN T1.person_id ELSE NULL END) FROM movie_cast AS T1 INNER JOIN gender AS T2 ON T1.gender_id = T2.gender_id
Database: movies_4
Question: List the movies released in 1945.
Evidence: List the movies refers to title; released in 1945 refers to release_date LIKE '1945%'
SQL: SELECT title FROM movie WHERE CAST(STRFTIME('%Y', release_date) AS INT) = 1945
Database: movies_4
Question: Provide the ID and ISO code of Belgium.
Evidence: ID refers to country_id; ISO code refers to country_iso_code; Belgium refers to country_name = 'Belgium'
SQL: SELECT COUNTry_id, COUNTry_iso_code FROM COUNTry WHERE COUNTry_name = 'Belgium'
Database: movies_4
Question: List the character names played by Catherine Deneuve.
SQL: SELECT T2.character_name FROM person AS T1 INNER JOIN movie_cast AS T2 ON T1.person_id = T2.person_id WHERE T1.person_name = 'Catherine Deneuve'
Database: movies_4
Question: List the movies in the Somali language.
Evidence: List the movies refers to title; Somali language refers to language_name = 'Somali'
SQL: SELECT T1.title FROM movie AS T1 INNER JOIN movie_languages AS T2 ON T1.movie_id = T2.movie_id INNER JOIN language AS T3 ON T2.language_id = T3.language_id WHERE T3.language_name = 'Somali'
Database: movies_4
Question: Provide the release date and language of the most popular movie.
Evidence: language refers to langauge_name; most popular movie refers to max(popularity)
SQL: SELECT T1.release_date, T3.language_name FROM movie AS T1 INNER JOIN movie_languages AS T2 ON T1.movie_id = T2.movie_id INNER JOIN language AS T3 ON T2.language_id = T3.language_id ORDER BY T1.popularity DESC LIMIT 1
Database: movies_4
Question: What is the original language of the "Four Rooms" movie?
Evidence: language refers to language_name; original language refers to language_role = 'Original'; "Four Rooms" refers to title = 'Four Rooms'
SQL: SELECT T3.language_name FROM movie AS T1 INNER JOIN movie_languages AS T2 ON T1.movie_id = T2.movie_id INNER JOIN language AS T3 ON T2.language_id = T3.language_id INNER JOIN language_role AS T4 ON T2.language_role_id = T4.role_id WHERE T4.language_role = 'Original' AND T1.title = 'Four Rooms'
Database: movies_4
Question: List the character names in the "Open Water" movie.
Evidence: "Open Water" movie refers to title = 'Open Water'
SQL: SELECT T2.character_name FROM movie AS T1 INNER JOIN movie_cast AS T2 ON T1.movie_id = T2.movie_id WHERE T1.title = 'Open Water'
Database: movies_4
Question: Who is the main actor in the "Pirates of the Caribbean: At World's End" movie?
Evidence: main actor refers to person_name where Min(cast_order); "Pirates of the Caribbean: At World's End" refers to title = 'Pirates of the Caribbean: At World''s End'
SQL: SELECT T3.person_name FROM movie AS T1 INNER JOIN movie_cast AS T2 ON T1.movie_id = T2.movie_id INNER JOIN person AS T3 ON T2.person_id = T3.person_id WHERE T1.title LIKE 'Pirates of the Caribbean: At World%s End' ORDER BY T2.cast_order LIMIT 1
Database: movies_4
Question: List the names of camera supervisors in the crew.
Evidence: names refers to person_name; camera supervisors refers to job = 'Camera Supervisor';
SQL: SELECT T1.person_name FROM person AS T1 INNER JOIN movie_crew AS T2 ON T1.person_id = T2.person_id WHERE T2.job = 'Camera Supervisor'
Database: movies_4
Question: List the job titles of Sally Menke in the crew.
Evidence: job titles refers to job
SQL: SELECT DISTINCT T2.job FROM person AS T1 INNER JOIN movie_crew AS T2 ON T1.person_id = T2.person_id WHERE T1.person_name = 'Sally Menke'
Database: movies_4
Question: Provide the names and departments of the person who worked as a music editor in the "Pirates of the Caribbean: At World's End" movie.
Evidence: names refers to person_name; departments refers to department_name; worked as a music editor refers to job = 'Music Editor'; "Pirates of the Caribbean: At World's End" refers to title = 'Pirates of the Caribbean: At World''s End'
SQL: SELECT T3.person_name, T4.department_name FROM movie AS T1 INNER JOIN movie_crew AS T2 ON T1.movie_id = T2.movie_id INNER JOIN person AS T3 ON T2.person_id = T3.person_id INNER JOIN department AS T4 ON T2.department_id = T4.department_id WHERE T1.title LIKE 'Pirates of the Caribbean: At World%s End' AND T2.job = 'Music Editor'
Database: movies_4
Question: Provide the titles and revenues of the movies produced by the DreamWorks company.
Evidence: produced by the DreamWorks company refers to company_name = 'DreamWorks'
SQL: SELECT T1.title, T1.revenue FROM movie AS T1 INNER JOIN movie_company AS T2 ON T1.movie_id = T2.movie_id INNER JOIN production_company AS T3 ON T2.company_id = T3.company_id WHERE T3.company_name = 'DreamWorks'
Database: movies_4
Question: How many movies were produced in Canada?
Evidence: produced in Canada refers to country_name = 'Canada'
SQL: SELECT COUNT(T2.movie_id) FROM COUNTry AS T1 INNER JOIN production_COUNTry AS T2 ON T1.COUNTry_id = T2.COUNTry_id WHERE T1.COUNTry_name = 'Canada'
Database: movies_4
Question: List the genres of Forrest Gump movie.
Evidence: genres refers to genre_name; Forrest Gump movie refers to title = 'Forrest Gump'
SQL: SELECT T3.genre_name FROM movie AS T1 INNER JOIN movie_genres AS T2 ON T1.movie_id = T2.movie_id INNER JOIN genre AS T3 ON T2.genre_id = T3.genre_id WHERE T1.title = 'Forrest Gump'
Database: movies_4
Question: Provide the production companies of the movie that has over 35% average running time per movie in 2016.
Evidence: production companies refers to company_name; in 2016 refers to release_date LIKE '2016%'; over 35% average running time per movie refers to divide(subtract(runtime, AVG(runtime)), AVG(runtime)) * 100 as percentage > 35
SQL: SELECT T.company_name FROM ( SELECT DISTINCT T3.company_name, T1.runtime FROM movie AS T1 INNER JOIN movie_company AS T2 ON T1.movie_id = T2.movie_id INNER JOIN production_company AS T3 ON T3.company_id = T2.company_id WHERE T1.release_date LIKE '2016%' ) T WHERE T.runtime * 100 > (0.35 * ( SELECT AVG(T1.runtime) FROM movie AS T1 INNER JOIN movie_company AS T2 ON T1.movie_id = T2.movie_id INNER JOIN production_company AS T3 ON T3.company_id = T2.company_id WHERE T1.release_date LIKE '2016%' ) + ( SELECT AVG(T1.runtime) FROM movie AS T1 INNER JOIN movie_company AS T2 ON T1.movie_id = T2.movie_id INNER JOIN production_company AS T3 ON T3.company_id = T2.company_id WHERE T1.release_date LIKE '2016%' )) * 100
Database: movies_4
Question: Find the difference in percentage of the movies under keywords of "woman director" and "independent film".
Evidence: under keywords of "woman director" and "independent film" refers to keyword_name = 'woman director' and keyword_name = 'independent film'; difference in percentage = divide(subtract(count(movie_id) when keyword_name = 'woman director', count(movie_id) when keyword_name = 'independent film'), count(movie_id)) as percentage
SQL: SELECT CAST((SUM(CASE WHEN T1.keyword_name = 'woman director' THEN 1 ELSE 0 END) - SUM(CASE WHEN T1.keyword_name = 'independent film' THEN 1 ELSE 0 END)) AS REAL) * 100 / SUM(CASE WHEN T1.keyword_name = 'independent film' THEN 1 ELSE 0 END) FROM keyword AS T1 INNER JOIN movie_keywords AS T2 ON T1.keyword_id = T2.keyword_id
Database: movies_4
Question: Which genre does the movie Dancer in the Dark belong to?
Evidence: genre refers to genre_name; movie Dancer in the Dark refers to title = 'Dancer in the Dark'
SQL: SELECT T3.genre_name FROM movie AS T1 INNER JOIN movie_genres AS T2 ON T1.movie_id = T2.movie_id INNER JOIN genre AS T3 ON T2.genre_id = T3.genre_id WHERE T1.title = 'Dancer in the Dark'
Database: movies_4
Question: How many adventure movies are there that were released in 2000?
Evidence: adventure movies refers to genre_name = 'Adventure'; released in 2000 refers to release_date LIKE '2000%'
SQL: SELECT COUNT(T1.movie_id) FROM movie AS T1 INNER JOIN movie_genres AS T2 ON T1.movie_id = T2.movie_id INNER JOIN genre AS T3 ON T2.genre_id = T3.genre_id WHERE T3.genre_name = 'Adventure' AND CAST(STRFTIME('%Y', T1.release_date) AS INT) = 2000
Database: movies_4
Question: Which movies did the company Paramount Pictures produce in 2000?
Evidence: Which movies refers to title; company Paramount Pictures refers to company_name = 'Paramount Pictures'; in 2000 refers to release_date LIKE '2000%'
SQL: SELECT T3.title FROM production_company AS T1 INNER JOIN movie_company AS T2 ON T1.company_id = T2.company_id INNER JOIN movie AS T3 ON T2.movie_id = T3.movie_id WHERE T1.company_name = 'Paramount Pictures' AND CAST(STRFTIME('%Y', T3.release_date) AS INT) = 2000
Database: movies_4
Question: What keyword can the user use to search for the movie Finding Nemo?
Evidence: What keyword refers to keyword_name; Finding Nemo refers to title = 'Finding Nemo'
SQL: SELECT T3.keyword_name FROM movie AS T1 INNER JOIN movie_keywords AS T2 ON T1.movie_id = T2.movie_id INNER JOIN keyword AS T3 ON T2.keyword_id = T3.keyword_id WHERE T1.title = 'Finding Nemo'
Database: movies_4
Question: Name the horror movies with positive ratings greater than 7.
Evidence: Name the horror movies refers to title where genre_name = 'horror'; positive ratings greater than 7 refers to vote_average > 7
SQL: SELECT T1.title FROM movie AS T1 INNER JOIN movie_genres AS T2 ON T1.movie_id = T2.movie_id INNER JOIN genre AS T3 ON T2.genre_id = T3.genre_id WHERE T3.genre_name = 'Horror' AND T1.vote_average > 7
Database: movies_4
Question: How many production companies made more than 150 movies?
Evidence: more than 150 movies refers to COUNT(company_name) > 150
SQL: SELECT COUNT(*) FROM ( SELECT T1.company_name AS CNAME FROM production_company AS T1 INNER JOIN movie_company AS T2 ON T1.company_id = T2.company_id GROUP BY T1.company_id HAVING COUNT(T1.company_name) > 150 )
Database: movies_4
Question: What is the role of Mark Hammel?
Evidence: role refers to job
SQL: SELECT T2.job FROM person AS T1 INNER JOIN movie_crew AS T2 ON T1.person_id = T2.person_id WHERE T1.person_name = 'Mark Hammel'
Database: movies_4
Question: How many main actors are there in the movie Pirates of the Caribbean: At World's End?
Evidence: main actors refers to gender = 'male' and min(cast_order); Pirates of the Caribbean: At World's End refers to title = 'Pirates of the Caribbean: At World''s End'
SQL: SELECT COUNT(T2.cast_order) FROM movie AS T1 INNER JOIN movie_cast AS T2 ON T1.movie_id = T2.movie_id INNER JOIN gender AS T3 ON T3.gender_id = T2.gender_id WHERE T3.gender = 'Male' OR T3.gender = 'Female' AND T1.title = 'Pirates of the Caribbean: At World''s End' AND T2.cast_order = ( SELECT MIN(T2.cast_order) FROM movie AS T1 INNER JOIN movie_cast AS T2 ON T1.movie_id = T2.movie_id INNER JOIN gender AS T3 ON T3.gender_id = T2.gender_id WHERE T3.gender = 'Male' OR T3.gender = 'Female' AND T1.title = 'Pirates of the Caribbean: At World''s End' )
Database: movies_4
Question: Which movies have the participation of actor Harrison Ford?
Evidence: Which movies refers to title; actor refers to person_name
SQL: SELECT T1.title FROM movie AS T1 INNER JOIN movie_cast AS T2 ON T1.movie_id = T2.movie_id INNER JOIN person AS T3 ON T2.person_id = T3.person_id WHERE T3.person_name = 'Harrison Ford'
Database: movies_4
Question: Which character did Orlando Bloom play in the movie Pirates of the Caribbean: The Curse of the Black Pearl?
Evidence: Which character refers to character_name; movie Pirates of the Caribbean: The Curse of the Black Pearl refers to title = 'Pirates of the Caribbean: The Curse of the Black Pearl'
SQL: SELECT T2.character_name FROM movie AS T1 INNER JOIN movie_cast AS T2 ON T1.movie_id = T2.movie_id INNER JOIN person AS T3 ON T2.person_id = T3.person_id WHERE T1.title = 'Pirates of the Caribbean: The Curse of the Black Pearl' AND T3.person_name = 'Orlando Bloom'
Database: movies_4
Question: What is the average number of horror movies among all movies genre?
Evidence: horror movies refers to genre_name = 'horror'; average number = divide(sum(movie_id) when genre_name = 'horror', count(movie_id))
SQL: SELECT CAST(COUNT(CASE WHEN T3.genre_name = 'Horror' THEN T1.movie_id ELSE NULL END) AS REAL) / COUNT(T1.movie_id) FROM movie AS T1 INNER JOIN movie_genres AS T2 ON T1.movie_id = T2.movie_id INNER JOIN genre AS T3 ON T2.genre_id = T3.genre_id
Database: movies_4
Question: List the names of all the producers in the movie "Pirates of the Caribbean: At World's End".
Evidence: List the names refers to person_name; producers refers to job = 'Producer'; "Pirates of the Caribbean: At World's End" refers to title = 'Pirates of the Caribbean: The Curse of the Black Pearl'
SQL: SELECT T3.person_name FROM movie AS T1 INNER JOIN movie_crew AS T2 ON T1.movie_id = T2.movie_id INNER JOIN person AS T3 ON T2.person_id = T3.person_id WHERE T1.title = 'Pirates of the Caribbean: The Curse of the Black Pearl' AND T2.job = 'Producer'
Database: movies_4
Question: Calculate the average income made by movies using the keyword "paris". List the title of the movies.
Evidence: income refers to revenue; keyword "paris" refers to keyword_name = 'paris'; average income = AVG(revenue)
SQL: SELECT AVG(T1.revenue), T1.title FROM movie AS T1 INNER JOIN movie_keywords AS T2 ON T1.movie_id = T2.movie_id INNER JOIN keyword AS T3 ON T2.keyword_id = T3.keyword_id WHERE T3.keyword_name = 'paris'
Database: codebase_comments
Question: How many English language codes whose comments for the method are in the XML format?
Evidence: English language refers to Lang = 'en'; the comments for this method is XML format refers to CommentIsXml = 1;
SQL: SELECT COUNT(Lang) FROM Method WHERE Lang = 'en' AND CommentIsXml = 1
Database: codebase_comments
Question: What is the task of the method whose tokenized name is "online median filter test median window filling"?
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 = 'online median filter test median window filling'
Database: codebase_comments
Question: What is the time of sampling of the solution with the highest sampling time? Indicate the id number of the solution.
Evidence: highest sampling time refers to max(SampledAt); id number of the solution refers to SolutionId;
SQL: SELECT DISTINCT SampledAt, SolutionId FROM Method WHERE SampledAt = ( SELECT MAX(SampledAt) FROM Method )
Database: codebase_comments
Question: How many followers do the most followed repository on Github have? Give the github address of the repository.
Evidence: more forks refers to more people follow this repository; most followed repository refers to max(Forks);  the github address of the repository refers to Url;
SQL: SELECT Forks, Url FROM Repo WHERE Forks = ( SELECT MAX(Forks) FROM Repo )
Database: codebase_comments
Question: What is the id of the repository with the highest number of solution path?
Evidence: highest number of solution path refers to max(count(Path)); id of the repository refers to RepoId
SQL: SELECT RepoId FROM solution GROUP BY RepoId ORDER BY COUNT(Path) DESC LIMIT 1
Database: codebase_comments
Question: What is the most liked repository? Indicate its github address and the amount of stars it has received.
Evidence: more stars mean more people like this repository; most liked refers to max(Stars); the github address of repository refers to Url;
SQL: SELECT Url, Stars FROM Repo WHERE Stars = ( SELECT MAX(Stars) FROM Repo )
Database: codebase_comments
Question: What is the name of the solution path with the highest processed time?
Evidence: highest processed time refers to max(ProcessedTime);
SQL: SELECT Path FROM Solution WHERE ProcessedTime = ( SELECT MAX(ProcessedTime) FROM Solution )
Database: codebase_comments
Question: How much is the processed time of downloading the most popular repository?
Evidence: more watchers mean that this repository is more popular;
SQL: SELECT ProcessedTime FROM Repo WHERE Watchers = ( SELECT MAX(Watchers) FROM Repo )
Database: codebase_comments
Question: What is the github address of the "nofear_Mara\Mara.sln" solution path?
Evidence: github address of repository refers to Url;
SQL: SELECT Url FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId WHERE Path = 'nofear_MaraMara.sln'
Database: codebase_comments
Question: Which repository has the longest amount of processed time of downloading? Indicate whether the solution paths in the repository can be implemented without needs of compilation.
Evidence: longest amount of processed time refers to max(ProcessedTime); the repository can be implemented without needs of compilation refers to WasCompiled = 1;
SQL: SELECT DISTINCT T1.id, T2.WasCompiled FROM Repo AS T1 INNER JOIN Solution AS T2 ON T1.Id = T2.RepoId WHERE T1.ProcessedTime = ( SELECT MAX(ProcessedTime) FROM Repo )
Database: codebase_comments
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
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
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
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
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
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
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'