Question: What are the names of storms that both affected two or more regions and affected a total of 10 or more cities?


Question: Show all storm names except for those with at least two affected regions.


Question: What are the names of storms that did not affect two or more regions?


Question: Show the region name with at least two storms.


Question: What are the names of regions with two or more storms?


Question: Show the delegates and the names of county they belong to.

Miller, Warren E. Warren E. Miller
Howard

DeBoy, Steven J. Sr. Steven J. DeBoy, Sr.

Malone, James E. Jr. James E. Malone, Jr.

Bobo, Elizabeth Elizabeth Bobo
Baltimore County

Pendergrass, Shane E. Shane Pendergrass
Howard


Question: What are the delegate and name of the county they belong to, for each county?

Miller, Warren E. Warren E. Miller
Howard

DeBoy, Steven J. Sr. Steven J. DeBoy, Sr.

Malone, James E. Jr. James E. Malone, Jr.

Bobo, Elizabeth Elizabeth Bobo
Baltimore County

Pendergrass, Shane E. Shane Pendergrass
Howard


Question: Which delegates are from counties with population smaller than 100000?

DeBoy, Steven J. Sr. Steven J. DeBoy, Sr.

Malone, James E. Jr. James E. Malone, Jr.


Question: Find the delegates who are from counties with population below 100000.

DeBoy, Steven J. Sr. Steven J. DeBoy, Sr.

Malone, James E. Jr. James E. Malone, Jr.


Question: How many distinct delegates are from counties with population larger than 50000?


Question: Count the number of distinct delegates who are from counties with population above 50000.


Question: What are the names of the county that the delegates on "Appropriations" committee belong to?


Question: Which county do the delegates on "Appropriations" committee belong to? Give me the county names.


Question: Show the delegates and the names of the party they belong to.

Miller, Warren E. Warren E. Miller
Democratic

DeBoy, Steven J. Sr. Steven J. DeBoy, Sr.

Malone, James E. Jr. James E. Malone, Jr.

Bobo, Elizabeth Elizabeth Bobo
Democratic

Pendergrass, Shane E. Shane Pendergrass
Independence

Turner, Frank S. Frank S. Turner
Working Families


Question: For each delegate, find the names of the party they are part of.

Miller, Warren E. Warren E. Miller
Democratic

DeBoy, Steven J. Sr. Steven J. DeBoy, Sr.

Malone, James E. Jr. James E. Malone, Jr.

Bobo, Elizabeth Elizabeth Bobo
Democratic

Pendergrass, Shane E. Shane Pendergrass
Independence

Turner, Frank S. Frank S. Turner
Working Families


Question: Who were the governors of the parties associated with delegates from district 1?


Question: Find the parties associated with the delegates from district 1. Who served as governors of the parties?


Question: Who were the comptrollers of the parties associated with the delegates from district 1 or district 2?


Question: Find the parties associated with the delegates from district 1 or 2. Who served as comptrollers of the parties?


Question: Return all the committees that have delegates from Democratic party.


Question: Which committees have delegates from the Democratic party?


Question: Show the name of each county along with the corresponding number of delegates from that county.


Question: For each county, find the name of the county and the number of delegates from that county.


Question: Show the name of each party and the corresponding number of delegates from that party.


Question: For each party, return the name of the party and the number of delegates from that party.


Question: Show the names of counties that have at least two delegates.


Question: Which counties have two or more delegates? Give me the county names.


Question: Show the name of the party that has the most delegates.


Question: Which party has the largest number of delegates?


Question: What are the names of parties that do not have delegates in election?


Question: Which parties did not have any delegates in elections?


Question: What are the names of parties that have both delegates on "Appropriations" committee and


Question: Which parties have delegates in both the "Appropriations" committee and the "Economic Matters" committee?


Question: Which committees have delegates from both democratic party and liberal party?


Question: Find the committees that have delegates both from from the democratic party and the liberal party.


Question: List the names of journalists who have not reported any event.


Question: Find the average age and experience working length of journalists working on different role type.


Question: How long does student Linda Smith spend on the restaurant in total?


Question: At which restaurant did the students spend the least amount of time? List restaurant and the time students spent on in total.


Question: Which student visited restaurant most often? List student's first name and last name.


Question: Find the name and price of the product that has been ordered the greatest number of times.


Question: Find the states which do not have any employee in their record.


Question: Find the name of route that has the highest number of deliveries.


Question: List the state names and the number of customers living in each state.


Question: Retrieve the title of the paper that has the largest number of authors.


Question: Which paper has the most authors? Give me the paper title.


Question: Which city has the most addresses? List the city name, number of addresses, and city id.


Question: What are the city name, id, and number of addresses corresponding to the city with the most addressed?


Question: Which film is rented at a fee of 0.99 and has less than 3 in the inventory? List the film title and id.


Question: What are the title and id of the film which has a rental rate of 0.99 and an inventory of below 3?


Question: How many cities are in Australia?


Question: Count the number of cities in Australia.


Question: Which countries have at least 3 cities?


Question: What are the countries that contain 3 or more cities?


Question: Which film has the most number of actors or actresses? List the film name, film id and description.

A Insightful Story of a Man And a Feminist who must Fight a Composer in Australia


Question: What are the title, id, and description of the movie with the greatest number of actors?

A Insightful Story of a Man And a Feminist who must Fight a Composer in Australia


Question: Which film actor (actress) starred the most films? List his or her first name, last name and actor id.


Question: Return the full name and id of the actor or actress who starred in the greatest number of films.


Question: Which film actors (actresses) played a role in more than 30 films? List his or her first name and last name.


Question: What are the full names of actors who had roles in more than 30 films?


Question: Which customer, who has made at least one payment, has spent the least money? List his or her first name, last name, and the id.


Question: What is the full name and id of the customer who has the lowest total amount of payment?


Question: How many films are there in each category? List the genre name, genre id and the count.


Question: What are the names and ids of the different categories, and how many films are in each?


Question: Which film has the most copies in the inventory? List both title and id.


Question: What is the title and id of the film that has the greatest number of copies in inventory?


Question: Where does the customer with the first name Linda live? And what is her email?


Question: Return the address and email of the customer with the first name Linda.


Question: What is the first name and the last name of the customer who made the earliest rental?


Question: Return the full name of the customer who made the first rental.


Question: What are the first names of customers who have not rented any films after '2005-08-23 02:06:01'?


Question: Return the first names of customers who did not rented a film after the date '2005-08-23 02:06:01'.


Question: List the name of all different customers who have some loan sorted by their total loan amount.


Question: What are the names of the different customers who have taken out a loan, ordered by the total amount that they have taken?


Question: Find the name of customers who do not have a loan with a type of Mortgages.


Question: What are the names of customers who have not taken a Mortage loan?


Question: Find the name of customers who have loans of both Mortgages and Auto.


Question: What are the names of customers who have taken both Mortgage and Auto loans?


Question: Find the name of customer who has the highest amount of loans.


Question: What is the name of the customer who has greatest total loan amount?


Question: Find the total amount of loans offered by each bank branch.


Question: What are the names of the different bank branches, and what are their total loan amounts?


Question: Find the name of customers who have more than one loan.


Question: What are the names of customers who have taken out more than one loan?


Question: Find the name and account balance of the customers who have loans with a total amount of more than 5000.


Question: What are the names and account balances for customers who have taken a total amount of more than 5000 in loans?


Question: Find the name of bank branch that provided the greatest total amount of loans.


Question: What is the name of the bank branch that has lent the greatest amount?


Question: Find the name of bank branches that provided some loans.


Question: What are the names of the different banks that have provided loans?


Question: Find the name and credit score of the customers who have some loans.


Question: What are the different names and credit scores of customers who have taken a loan?


Question: Find the the name of the customers who have a loan with amount more than 3000.


Question: What are the names of customers who have a loan of more than 3000 in amount?


Question: Find the city and name of bank branches that provide business loans.


Question: What are the names and cities of bank branches that offer loans for business?


Question: Find the total amount of loans provided by bank branches in the state of New York.


Question: What is the total amount of money loaned by banks in New York state?


Question: Find the average credit score of the customers who have some loan.


Question: What is the average credit score for customers who have taken a loan?


Question: Find the average credit score of the customers who do not have any loan.


Question: What is the average credit score for customers who have never taken a loan?


Question: Find the id and first name of the student that has the most number of assessment notes?


Question: Find the ids and first names of the 3 teachers that have the most number of assessment notes?


Question: Find the id and last name of the student that has the most behavior incidents?


Question: Find the id and last name of the teacher that has the most detentions with detention type code "AFTER"?


Question: What are the id and first name of the student whose addresses have the highest average monthly rental?


Question: Find the id and city of the student address with the highest average monthly rental.


Question: What are the code and description of the most frequent behavior incident type?


Question: What are the code and description of the least frequent detention type ?


Question: Find the dates of assessment notes for students with first name "Fanny".


Question: Find the texts of assessment notes for teachers with last name "Schuster".


Question: Find the start and end dates of behavior incidents of students with last name "Fahey".


Question: Find the start and end dates of detentions of teachers with last name "Schultz".


Question: What are the id and zip code of the address with the highest monthly rental?


Question: What is the cell phone number of the student whose address has the lowest monthly rental?


Question: What are the monthly rentals of student addresses in Texas state?


Question: What are the first names and last names of students with address in Wisconsin state?


Question: What are the line 1 and average monthly rentals of all student addresses?


Question: What is the zip code of the address where the teacher with first name "Lyla" lives?


Question: What are the email addresses of teachers whose address has zip code "918"?


Question: How many students are not involved in any behavior incident?


Question: Find the last names of teachers who are not involved in any detention.


Question: How many assets does each maintenance contract contain? List the number and the contract id.


Question: How many assets does each third party company supply? List the count and the company id.


Question: Which engineer has visited the most times? Show the engineer id, first name and last name.


Question: Which parts have more than 2 faults? Show the part name and id.


Question: How many assets can each parts be used in? List the part name and the number.


Question: What are all the fault descriptions and the fault status of all the faults recoreded in the logs?


Question: How many engineer visits are required at most for a single fault log? List the number and the log entry id.


Question: Which engineers have never visited to maintain the assets? List the engineer first name and last name.


Question: Which kind of part has the least number of faults? List the part name.


Question: Among those engineers who have visited, which engineer makes the least number of visits? List the engineer id, first name and last name.


Question: Which fault log included the most number of faulty parts? List the fault log id, description and record time.


Question: Which skill is used in fixing the most number of faults? List the skill id and description.


Question: Which company started the earliest the maintenance contract? Show the company name.


Question: How many engineers did each staff contact? List both the contact staff name and number of engineers contacted.


Question: Which assets did not incur any fault log? List the asset model.


Question: Find the name of the train whose route runs through greatest number of stations.


Question: Find the number of trains for each station, as well as the station network name and services.

Amersham
Metropolitan line and Chiltern Railways

Bushey
London Overground and London Midland

Chalfont & Latimer
Metropolitan line and Chiltern Railways


Question: Give me the maximum low temperature and average precipitation at the Amersham station.


Question: Find the id and local authority of the station with has the highest average high temperature.


Question: Find the id and local authority of the station whose maximum precipitation is higher than 50.


Question: Find the number of professors in accounting department.


Question: How many professors are in the accounting dept?


Question: What are the first names and date of birth of professors teaching course ACCT-211?


Question: What are the first names and birthdates of the professors in charge of ACCT-211?


Question: How many classes are professor whose last name is Graztevski has?


Question: How many classes does the professor whose last name is Graztevski teach?


Question: Find the number of classes in each department.


Question: How many classes are held in each department?


Question: What is the number of professors for different school?


Question: How many different professors are there for the different schools?


Question: Which school has the smallest amount of professors?


Question: Which school has the fewest professors?


Question: What is the name and the average gpa of department whose students have the highest average gpa?


Question: Which department has the highest average student GPA, and what is the average gpa?


Question: How many courses are offered by the Computer Info. Systems department?


Question: How many courses does the department of Computer Information Systmes offer?


Question: Find the total credits of all classes offered by each department.


Question: What are the total number of credits offered by each department?


Question: How many students enrolled in class ACCT-211?


Question: What are the total number of students enrolled in ACCT-211?


Question: Find the first names and offices of all professors sorted by alphabetical order of their first name.


Question: What are the first names and office locations for all professors sorted alphabetically by first name?


Question: What is the first name of students who got grade C in any class?


Question: What are the first names of all students who got a grade C in a class?


Question: What is the name of department where has the smallest number of professors?


Question: What is the name of the department with the fewest professors?


Question: What is the name of department where has the largest number of professors with a Ph.D. degree?


Question: Which department has the most professors with a Ph.D.?


Question: What are the first names of the professors who do not teach a class.


Question: What are the first names of all professors not teaching any classes?


Question: Find the last name and hire date of the professor who is in office DRE 102.


Question: What is the last name of the professor whose office is located in DRE 102, and when were they hired?


Question: How many professors who are from either Accounting or Biology department?


Question: What is the number of professors who are in the Accounting or Biology departments?


Question: Find the first name of the professor who is teaching two courses with code CIS-220 and QM-261.


Question: What is the first name of the professor who is teaching CIS-220 and QM-261?


Question: What is the department name of the students with lowest gpa belongs to?


Question: What is the name of the department with the student that has the lowest GPA?


Question: Find the name and address of the department that has the highest number of students.


Question: What is the name and address of the department with the most students?


Question: Find the name, address, number of students in the departments that have the top 3 highest number of students.


Question: What is the name, address, and number of students in the departments that have the 3 most students?


Question: Find the first names of all instructors who have taught some course and the course code.


Question: What are the first names of all teachers who have taught a course and the corresponding course codes?


Question: Find names of all students who took some course and got A or C.


Question: What are the names of all students taking a course who received an A or C?


Question: What is the last name of the student who got a grade A in the class with code 10018.


Question: What is the last name of the student who received an A in the class with the code 10018?


Question: Find the first names of professors who are teaching more than one class.


Question: What are the first names of all professors who teach more than one class?


Question: Find the name of department that offers the class whose description has the word "Statistics".


Question: What is the name of the department that offers a course that has a description including the word "Statistics"?


Question: Please show the names and the players of clubs.


Question: What are the names and players of all the clubs?


Question: Show the names of clubs that have players with position "Right Wing".


Question: What are the names of the clubs that have players in the position of "Right Wing"?


Question: What is the average points of players from club with name "AIB".


Question: What is the average number of points for players from the "AIB" club?


Question: List the names of clubs that do not have any players.


Question: What are the names of all clubs that do not have any players?


Question: Find the names of furnitures whose prices are lower than the highest price.


Question: Find the id and number of shops for the company that produces the most expensive furniture.


Question: Find the number of funiture types produced by each manufacturer as well as the company names.


Question: Give me the names and prices of furnitures which some companies are manufacturing.


Question: Find the market shares and names of furnitures which no any company is producing in our records.


Question: Display the first name and department name for each employee.


Question: What are the first name and department name of all employees?


Question: display the department name and number of employees in each of the department.


Question: Give the name of each department and the number of employees in each.


Question: Can you return all detailed info of jobs which was done by any of the employees who is presently earning a salary on and above 12000?


Question: What is all the job history info done by employees earning a salary greater than or equal to 12000?


Question: display job title and average salary of employees.


Question: What is the average salary for each job title?


Question: find the name of all departments that do actually have one or more employees assigned to them.


Question: What are the names of departments that have at least one employee.


Question: get the details of employees who manage a department.


Question: What is all the information regarding employees who are managers?


Question: display the employee ID and job name for all those jobs in department 80.


Question: what are the employee ids and job titles for employees in department 80?


Question: What is the first name and job id for all employees in the Finance department?


Question: Give the first name and job id for all employees in the Finance department.


Question: Find the ids of the employees who does not work in those departments where some employees works whose manager id within the range 100 and 200.


Question: What are the ids for employees who do not work in departments with managers that have ids between 100 and 200?


Question: display all the information of those employees who did not have any job in the past.


Question: What is all the information about employees who have never had a job in the past?


Question: display the department name, city, and state province for each department.


Question: What are the department names, cities, and state provinces for each department?


Question: display the department name and number of employees in each of the department.


Question: What are the department names and how many employees work in each of them?


Question: List the name and country of origin for all singers who have produced songs with rating above 9.


Question: What are the different names and countries of origins for all artists whose song ratings are above 9?


Question: List the file size and format for all songs that have resolution lower than 800.


Question: What are the file sizes and formats for all songs with a resolution lower than 800?


Question: What is the name of the artist who produced the shortest song?


Question: What are the names of the artists who sang the shortest song?


Question: What are the names and countries of origin for the artists who produced the top three highly rated songs.


Question: What are the names of the singers who sang the top 3 most highly rated songs and what countries do they hail from?


Question: What is the average rating of songs produced by female artists?


Question: How many songs, on average, are sung by a female artist?


Question: Find the names of the artists who are from UK and have produced English songs.


Question: What are the names of the artists that are from the UK and sang songs in English?


Question: Find the id of songs that are available in mp4 format and have resolution lower than 1000.


Question: What is the id of the files that are available in the format of mp4 and a resolution smaller than 1000?


Question: What is the country of origin of the artist who is female and produced a song in Bangla?


Question: What countries are the female artists who sung in the language Bangla from?


Question: What is the average duration of songs that have mp3 format and resolution below 800?


Question: What is the average song duration for the songs that are in mp3 format and whose resolution below 800?


Question: Return the gender and name of artist who produced the song with the lowest resolution.


Question: What is the gender and name of the artist who sang the song with the smallest resolution?


Question: What is the name and country of origin of the artist who released a song that has "love" in its title?


Question: What are the names of the artists who released a song that has the word love in its title, and where are the artists from?


Question: List the name and gender for all artists who released songs in March.


Question: What are the names and genders of all artists who released songs in the month of March?


Question: What are the ids of songs that are available in either mp4 format or have resolution above 720?


Question: What are the ids of all songs that are available on mp4 or have a higher resolution than 720?


Question: List the names of all songs that have 4 minute duration or are in English.


Question: What are the names of all songs that are approximately 4 minutes long or are in English?


Question: Return the names of songs for which format is mp3 and resolution is below 1000.


Question: What are the names of all songs that are in mp3 format and have a resolution lower than 1000?


Question: Return the names of singers who are from UK and released an English song.


Question: What are the names of all singers that are from the UK and released a song in English?


Question: What are the maximum and minimum resolution of songs whose duration is 3 minutes?


Question: What is the maximum and minimum resolution of all songs that are approximately 3 minutes long?


Question: What are the maximum duration and resolution of songs grouped and ordered by languages?


Question: What are the maximum duration and resolution of all songs, for each language, ordered alphabetically by language?


Question: What are the shortest duration and lowest rating of songs grouped by genre and ordered by genre?


Question: What is the shortest and most poorly rated song for each genre, ordered alphabetically by genre?


Question: Find the names and number of works of all artists who have at least one English songs.


Question: What are the names and number of works for all artists who have sung at least one song in English?


Question: Find the name and country of origin for all artists who have release at least one song of resolution above 900.


Question: What is the name and country of origin for each artist who has released a song with a resolution higher than 900?


Question: Find the names and number of works of the three artists who have produced the most songs.


Question: What are the names of the three artists who have produced the most songs, and how many works did they produce?


Question: Find the country of origin for the artist who made the least number of songs?


Question: What country is the artist who made the fewest songs from?


Question: Find the top 3 artists who have the largest number of songs works whose language is Bangla.


Question: What are the top 3 artists with the largest number of songs in the language Bangla?


Question: List the duration, file size and format of songs whose genre is pop, ordered by title?


Question: What is the duration, file size, and song format for every pop song, ordered by title alphabetically?


Question: Find the names of the artists who are from Bangladesh and have never received rating higher than 7.


Question: What are the names of the different artists from Bangladesh who never received a rating higher than a 7?


Question: what is the full name and id of the college with the largest number of baseball players?


Question: Find the full name and id of the college that has the most baseball players.


Question: What is average salary of the players in the team named 'Boston Red Stockings' ?


Question: Compute the average salary of the players in the team called 'Boston Red Stockings'.


Question: What are first and last names of players participating in all star game in 1998?


Question: List the first and last name for players who participated in all star game in 1998.


Question: What are the first name, last name and id of the player with the most all star game experiences? Also list the count.


Question: Which player has the most all star game experiences? Give me the first name, last name and id of the player, as well as the number of times the player participated in all star game.


Question: In 2014, what are the id and rank of the team that has the largest average number of attendance?


Question: Find the id and rank of the team that has the highest average attendance rate in 2014.


Question: What are the manager's first name, last name and id who won the most manager award?


Question: Which manager won the most manager award? Give me the manager's first name, last name and id.


Question: Which 3 players won the most player awards? List their full name and id.


Question: Find the first name, last name and id for the top three players won the most player awards.


Question: What is the highest salary among each team? List the team name, id and maximum salary.


Question: For each team, return the team name, id and the maximum salary among the team.


Question: What are the name and id of the team offering the lowest average salary?


Question: Which team offers the lowest average salary? Give me the name and id of the team.


Question: Find the players' first name and last name who won award both in 1960 and in 1961.


Question: Which players won awards in both 1960 and 1961? Return their first names and last names.


Question: List the maximum scores of the team Boston Red Stockings when the team won in postseason?


Question: What are the maximum scores the team Boston Red Stockings got when the team won in postseason?


Question: How many times did Boston Red Stockings lose in 2009 postseason?


Question: Count the number of times the team "Boston Red Stockings" lost in 2009 postseason.


Question: What are the name and id of the team with the most victories in 2008 postseason?


Question: Find the name and id of the team that won the most times in 2008 postseason.


Question: What is the number of wins the team Boston Red Stockings got in the postseasons each year in history?


Question: For each year, return the year and the number of times the team Boston Red Stockings won in the postseasons.


Question: What is the total number of postseason games that team Boston Red Stockings participated in?


Question: How many times in total did the team Boston Red Stockings participate in postseason games?


Question: What is the total salary paid by team Boston Red Stockings in 2010?


Question: What is the total salary expenses of team Boston Red Stockings in 2010?


Question: How many players were in the team Boston Red Stockings in 2000?


Question: How many players did Boston Red Stockings have in 2000?


Question: How many games were played in park "Columbia Park" in 1907?


Question: Count the number of games taken place in park "Columbia Park" in 1907.


Question: How many games were played in city Atlanta in 2000?


Question: Find the number of games taken place in city Atlanta in 2000.


Question: What is the total home game attendance of team Boston Red Stockings from 2000 to 2010?


Question: How many games in total did team Boston Red Stockings attend from 2000 to 2010?


Question: How much did the the player with first name Len and last name Barker earn between 1985 to 1990 in total?


Question: Compute the total salary that the player with first name Len and last name Barker received between 1985 to 1990.


Question: How many home games did the team Boston Red Stockings play from 1990 to 2000 in total?


Question: Count the total number of games the team Boston Red Stockings attended from 1990 to 2000.


Question: Which team had the least number of attendances in home games in 1980?


Question: Find the team that attended the least number of home games in 1980.


Question: Which park had most attendances in 2008?


Question: Which park did the most people attend in 2008?


Question: What are the id and name of the photos for mountains?


Question: What are the id and name of the mountains that have at least 2 photos?


Question: What are the names of the cameras that have taken picture of the most mountains?


Question: What are the names of photos taken with the lens brand 'Sigma' or 'Olympus'?


Question: How many camera lenses are not used in taking any photos?


Question: How many distinct kinds of camera lenses are used to take photos of mountains in the country 'Ethiopia'?


Question: What is the name of each camera lens and the number of photos taken by it? Order the result by the count of photos.

Panasonic Leica DG Nocticron 42.5mm f /1.2

Schneider Kreuznach Super Angulon 14mm f /2.0


Question: Find the names of the channels that are broadcast in the morning.


Question: Which channels are broadcast in the morning? Give me the channel names.


Question: what are the names of the channels that broadcast in both morning and night?


Question: Which channels broadcast both in the morning and at night? Give me the channel names.


Question: Find the names of programs that are never broadcasted in the morning.


Question: Which programs are never broadcasted in the morning? Give me the names of the programs.


Question: find the program owners that have some programs in both morning and night time.


Question: Who are the owners of the programs that broadcast both in the morning and at night?


Question: Find the name of the program that is broadcast most frequently.


Question: Which program is broadcast most frequently? Give me the program name.


Question: Find the login name of the course author that teaches the course with name "advanced database".


Question: Which course author teaches the "advanced database" course? Give me his or her login name.


Question: Find the addresses of the course authors who teach the course with name "operating system" or "data structure".

8928 Kunze Valley Apt. 747
South Jedidiahmouth, DE 28167

425 White Brooks
Emmaleefort, IN 97850-2510


Question: What are the addresses of the course authors who teach either "operating system" or "data structure" course.

8928 Kunze Valley Apt. 747
South Jedidiahmouth, DE 28167

425 White Brooks
Emmaleefort, IN 97850-2510


Question: Find the personal name, family name, and author ID of the course author that teaches the most courses.


Question: What are the personal name, family name, and author ID of the course author who teaches the most courses?


Question: Find the addresses and author IDs of the course authors that teach at least two courses.

5284 Champlin Roads
Cassinport, WY 54636

92220 Hellen Skyway Apt. 635
Rennerview, MS 81036

0256 Walter Meadows Suite 523
Norbertoborough, AZ 49193

139 O'Conner Circles
Virginieland, KS 23365

3602 Boehm Forest
Zulaufton, DC 35229-0366


Question: Which course authors teach two or more courses? Give me their addresses and author IDs.

5284 Champlin Roads
Cassinport, WY 54636

92220 Hellen Skyway Apt. 635
Rennerview, MS 81036

0256 Walter Meadows Suite 523
Norbertoborough, AZ 49193

139 O'Conner Circles
Virginieland, KS 23365

3602 Boehm Forest
Zulaufton, DC 35229-0366


Question: Find the names of courses taught by the tutor who has personal name "Julio".


Question: What are the names of the courses taught by the tutor whose personal name is "Julio"?


Question: Find the names and descriptions of courses that belong to the subject named "Computer Science".


Question: What are the names and descriptions of the all courses under the "Computer Science" subject?


Question: Find the subject ID, subject name, and the corresponding number of available courses for each subject.


Question: What are the subject ID, subject name, and the number of available courses for each subject?


Question: Find the subject ID, name of subject and the corresponding number of courses for each subject, and sort by the course count in ascending order.


Question: List the subject ID, name of subject and the number of courses available for each subject in ascending order of the course counts.


Question: What is the date of enrollment of the course named "Spanish"?


Question: Find the the date of enrollment of the "Spanish" course.


Question: What is the name of the course that has the most student enrollment?


Question: Which course is enrolled in by the most students? Give me the course name.


Question: What are the names of the courses that have exactly 1 student enrollment?


Question: Find the names of the courses that have just one student enrollment.


Question: What are the descriptions and names of the courses that have student enrollment bigger than 2?


Question: Return the descriptions and names of the courses that have more than two students enrolled in.


Question: What is the name of each course and the corresponding number of student enrollment?


Question: List the name and the number of enrolled student for each course.


Question: What are the enrollment dates of all the tests that have result "Pass"?


Question: Find the enrollment date for all the tests that have "Pass" result.


Question: What are the completion dates of all the tests that have result "Fail"?


Question: Return the completion date for all the tests that have "Fail" result.


Question: List the dates of enrollment and completion of the student with personal name "Karson".


Question: On what dates did the student whose personal name is "Karson" enroll in and complete the courses?


Question: List the dates of enrollment and completion of the student with family name "Zieme" and personal name "Bernie".


Question: On what dates did the student with family name "Zieme" and personal name "Bernie" enroll in and complete the courses?


Question: Find the student ID and login name of the student with the most course enrollments


Question: What are the student ID and login name of the student who are enrolled in the most courses?


Question: Find the student ID and personal name of the student with at least two enrollments.


Question: Which student are enrolled in at least two courses? Give me the student ID and personal name.


Question: Find the student ID and middle name for all the students with at most two enrollments.


Question: What are the student IDs and middle names of the students enrolled in at most two courses?


Question: Find the personal names of students not enrolled in any course.


Question: Which students not enrolled in any course? Find their personal names.


Question: How many students did not have any course enrollment?


Question: Count the number of students who did not enroll in any course.


Question: Which claims caused more than 2 settlements or have the maximum claim value? List the date the claim was made and the claim id.


Question: Find the claims that led to more than two settlements or have the maximum claim value. For each of them, return the date the claim was made and the id of the claim.


Question: How many settlements does each claim correspond to? List the claim id and the number of settlements.


Question: Find the number of settlements each claim corresponds to. Show the number together with the claim id.


Question: Which claim incurred the most number of settlements? List the claim id, the date the claim was made, and the number.


Question: Find the claim id and claim date of the claim that incurred the most settlement count. Also tell me the count.


Question: How many settlements were made on the claim with the most recent claim settlement date? List the number and the claim id.


Question: Find the claim id and the number of settlements made for the claim with the most recent settlement date.


Question: Who are the customers that had more than 1 policy? List the customer details and id.


Question: Find the the customer details and id for the customers who had more than one policy.


Question: List the details of the customers who do not have any policies.


Question: Which customers do not have any policies? Find the details of these customers.


Question: List the date the claim was made, the date it was settled and the amount settled for all the claims which had exactly one settlement.


Question: Which claims had exactly one settlement? For each, tell me the the date the claim was made, the date it was settled and the amount settled.


Question: what is the name and position of the head whose department has least number of employees?


Question: Find the name and position of the head of the department with the least employees.


Question: What are names of patients who made an appointment?


Question: List the names of patients who have made appointments.


Question: what are name and phone number of patients who had more than one appointment?


Question: Which patients made more than one appointment? Tell me the name and phone number of these patients.


Question: List the name of physicians who took some appointment.


Question: What are the names of all the physicians who took appointments.


Question: List the name of physicians who never took any appointment.


Question: Which physicians have never taken any appointment? Find their names.


Question: What is the name of the patient who made the most recent appointment?


Question: Find the name of the patient who made the appointment with the most recent start date.


Question: How many patients stay in room 112?


Question: Count the number of patients who stayed in room 112.


Question: What is the name of the nurse has the most appointments?


Question: Find the name of the nurse who has the largest number of appointments.


Question: How many patients do each physician take care of? List their names and number of patients they take care of.


Question: Return the name of each physician and the number of patients he or she treats.


Question: Find the name of physicians who are in charge of more than one patient.


Question: Which physicians are in charge of more than one patient? Give me their names.


Question: Find the number of rooms located on each block floor.


Question: How many rooms does each block floor have?


Question: Find the number of rooms for different block code?


Question: How many rooms are located for each block code?


Question: Find the number of medications prescribed for each brand.


Question: How many medications are prescribed for each brand?


Question: Find the patient who has the most recent undergoing treatment?


Question: Which patient is undergoing the most recent treatment?


Question: Find the names of nurses who are nursing an undergoing treatment.


Question: Which nurses are in charge of patients undergoing treatments?


Question: What are the names of the physician who prescribed the highest dose?


Question: Find the physician who prescribed the highest dose. What is his or her name?


Question: List the names of departments where some physicians are primarily affiliated with.


Question: What are the names of departments that have primarily affiliated physicians.


Question: What nurses are on call with block floor 1 and block code 1? Tell me their names.


Question: Find the ids of the nurses who are on call in block floor 1 and block code 1.


Question: Find the names of nurses who are on call.


Question: What are the distinct names of nurses on call?


Question: Show codes and fates of missions, and names of ships involved.

VMV-4 Former: Sterling
Retired 1939
Trader

VMV-7
Lost (burned and sunk) 1933
Clan McTavish


Question: What are the mission codes, fates, and names of the ships involved?

VMV-4 Former: Sterling
Retired 1939
Trader

VMV-7
Lost (burned and sunk) 1933
Clan McTavish


Question: Show names of ships involved in a mission launched after 1928.


Question: What are the names of ships that were involved in a mission launched after 1928?


Question: Show the distinct fate of missions that involve ships with nationality "United States"


Question: What are the different fates of the mission that involved ships from the United States?


Question: List the name of ships that are not involved in any mission


Question: What are the names of the ships that are not involved in any missions?


Question: Find the last names of the teachers that teach fifth grade.


Question: what are the last names of the teachers who teach grade 5?


Question: Find the first names of the teachers that teach first grade.


Question: What are the first names of the teachers who teach grade 1?


Question: How many students does LORIA ONDERSMA teaches?


Question: Count the number of students the teacher LORIA ONDERSMA teaches.


Question: How many students does KAWA GORDON teaches?


Question: Find the number of students taught by the teacher KAWA GORDON.


Question: Find the number of students taught by TARRING LEIA.


Question: How many students are taught by teacher TARRING LEIA?


Question: How many teachers does the student named CHRISSY NABOZNY have?


Question: Find the number of teachers who teach the student called CHRISSY NABOZNY.


Question: How many teachers does the student named MADLOCK RAY have?


Question: Find the number of teachers who teach the student called MADLOCK RAY.


Question: Find all first-grade students who are NOT taught by OTHA MOYER. Report their first and last names.


Question: What are the first and last names of the first-grade students who are NOT taught by teacher OTHA MOYER?


Question: Find the last names of the students in third grade that are not taught by COVIN JEROME.


Question: Which students in third grade are not taught by teacher COVIN JEROME? Give me the last names of the students.


Question: Find the name of the teacher who teaches the largest number of students.


Question: Which teacher teaches the most students? Give me the first name and last name of the teacher.


Question: List the names of people that are not employed by any company


Question: Please show the titles of films and the types of market estimations.

ET the Extra-Terrestrial
Mass suicide murder

An Officer and a Gentleman
Mass human sacrifice


Question: What are the titles of films and corresponding types of market estimations?

ET the Extra-Terrestrial
Mass suicide murder

An Officer and a Gentleman
Mass human sacrifice


Question: Show the distinct director of films with market estimation in the year of 1995.


Question: Who are the different directors of films which had market estimation in 1995?


Question: What is the average number of cities of markets with low film market estimate bigger than 10000?


Question: Give the average number of cities within markets that had a low market estimation larger than 10000?


Question: Please list the countries and years of film market estimations.


Question: What are the countries of markets and their corresponding years of market estimation?


Question: Please list the years of film market estimations when the market is in country "Japan" in descending order.


Question: What are the years of film market estimation for the market of Japan, ordered by year descending?


Question: List the title of films that do not have any market estimation.


Question: What are the titles of films that do not have a film market estimation?


Question: What is the title of the film that has the highest high market estimation.


Question: Return the title of the film with the highest high estimate?


Question: What is the day Number and date of all the documents?


Question: Return the day Number and stored date for all the documents.


Question: What is the document type name for the document with name "How to read a book"?


Question: Find the document type name of the document named "How to read a book".


Question: What is the role name and role description for employee called Ebba?

Vero harum corrupti odit ipsa vero et odio. Iste et recusandae temporibus maxime. Magni aspernatur fugit quis explicabo totam esse corrupti.


Question: Show the name and description of the role played by the employee named Ebba.

Vero harum corrupti odit ipsa vero et odio. Iste et recusandae temporibus maxime. Magni aspernatur fugit quis explicabo totam esse corrupti.


Question: Show the names of employees with role name Editor.


Question: Find the names of all the employees whose the role name is "Editor".


Question: Show the employee ids for all employees with role name "Human Resource" or "Manager".


Question: What are the employee ids of the employees whose role name is "Human Resource" or "Manager"?


Question: What is "the date in location from" and "the date in location to" for the document with name "Robin CV"?


Question: Find the starting date and ending data in location for the document named "Robin CV".


Question: Show the location name and code with the least documents.


Question: What are the name and code of the location with the smallest number of documents?


Question: What are the names of the employees who authorised the destruction and the employees who destroyed the corresponding documents?


Question: List the names of the employees who authorized the destruction of documents and the employees who destroyed the corresponding documents.


Question: Show the ids of the employees who don't authorize destruction for any document.


Question: Which employees do not authorize destruction for any document? Give me their employee ids.


Question: Show the ids of all employees who don't destroy any document.


Question: Which employees do not destroy any document? Find their employee ids.


Question: Where is the club "Hopkins Student Enterprises" located?


Question: Tell me the location of the club "Hopkins Student Enterprises".


Question: How many different roles are there in the club "Bootup Baltimore"?


Question: Count the number of different positions in the club "Bootup Baltimore".


Question: What are the distinct grant amount for the grants where the documents were sent before '1986-08-26 20:49:27' and grant were ended after '1989-03-16 18:27:16'?


Question: What are the different grant amounts for documents sent before '1986-08-26 20:49:27' and after the grant ended on '1989-03-16 18:27:16'?


Question: List the project details of the project both producing patent and paper as outcomes.


Question: What are the details of the project that is producing both patents and papers as outcomes?


Question: Find the organisation ids and details of the organisations which are involved in


Question: What are the ids and details for all organizations that have grants of more than 6000 dollars?


Question: What is the organisation type and id of the organisation which has the most number of research staff?


Question: What is the type and id of the organization that has the most research staff?


Question: Which organisation type hires most research staff?


Question: What is the type of the organization with the most research staff?


Question: List the project details of the projects which did not hire any staff for a researcher role.


Question: What are the details for all projects that did not hire any staff in a research role?


Question: How many staff does each project has? List the project id and the number in an ascending order.


Question: For each project id, how many staff does it have? List them in increasing order.


Question: Which project made the most number of outcomes? List the project details and the project id.


Question: What are the details and id of the project with the most outcomes?


Question: Which projects have no outcome? List the project details.


Question: What are the details of the project with no outcomes?


Question: Which organisation hired the most number of research staff? List the organisation id, type and detail.


Question: What are the ids, types, and details of the organization with the most research staff?


Question: Find the organisation type description of the organisation detailed as 'quo'.


Question: What is the type description of the organization whose detail is listed as 'quo'?


Question: What are all the details of the organisations described as 'Sponsor'? Sort the result in an ascending order.


Question: What are the details of all organizations that are described as Sponsors and sort the results in ascending order?


Question: List the organisation id with the maximum outcome count, and the count.


Question: What is the id of the organization with the maximum number of outcomes and how many outcomes are there?


Question: How many tasks does each project have? List the task count and the project detail.


Question: For each project id, how many tasks are there?


Question: What are the descriptions of all the project outcomes?


Question: List the description of the outcomes for all projects.


Question: How many friends does Dan have?


Question: How many friends does Dan have?


Question: Find the name and age of the person who is a friend of both Dan and Alice.


Question: What are the names and ages of every person who is a friend of both Dan and Alice?


Question: Find the name and age of the person who is a friend of Dan or Alice.


Question: What are the different names and ages of every friend of either Dan or alice?


Question: Find the name of the person who has friends with age above 40 but not under age 30?


Question: What are the names of the people who are older 40 but no friends under age 30?


Question: Find the name of the person who has no student friends.


Question: What are the names of the people who have no friends who are students?


Question: Who are the friends of Bob?


Question: Who are Bob's friends?


Question: Find the name of persons who are friends with Bob.


Question: What are the names of all of Bob's friends?


Question: Who has a friend that is from new york city?


Question: What are the names of all friends who are from New York?


Question: Who has friends that are younger than the average age?


Question: What are the different names of friends who are younger than the average age for a friend?


Question: Who has friends that are older than the average age? Print their friends and their ages as well


Question: Whare the names, friends, and ages of all people who are older than the average age of a person?


Question: What is the age of the friend of Zach with longest year relationship?


Question: What are the ages of all of Zach's friends who are in the longest relationship?


Question: Find the name, age, and job title of persons who are friends with Alice for the longest years.


Question: What are the names, ages, and jobs of all people who are friends with Alice for the longest amount of time?


Question: Who is the person that has no friend?


Question: What are the names of all people who do not have friends?


Question: Which person whose friends have the oldest average age?


Question: What is the name of the person who has the oldest average age for their friends, and what is that average age?


Question: What is the total number of people who has no friend living in the city of Austin.


Question: What is the total number of people who have no friends living in Austin?


Question: Find Alice's friends of friends.


Question: What are the names of all of Alice's friends of friends?


Question: Show the names of members and names of colleges they go to.


Question: Show the names of members and the locations of colleges they go to in ascending alphabetical order of member names.


Question: Show the distinct leader names of colleges associated with members from country "Canada".


Question: Show the names of members and the decoration themes they have.


Question: Show the names of members that have a rank in round higher than 3.


Question: Show the names of members in ascending order of their rank in rounds.


Question: List the names of members who did not participate in any round.


Question: What is the structure of the document with the least number of accesses?


Question: Return the structure description of the document that has been accessed the fewest number of times.


Question: What are all the section titles of the document named "David CV"?


Question: Give the section titles of the document with the name "David CV".


Question: Find all the name of documents without any sections.


Question: What are the names of documents that do not have any sections?


Question: What is the name of the document with the most number of sections?


Question: Return the name of the document that has the most sections.


Question: Find the description of the most popular role among the users that have logged in.


Question: What is the description of the most popular role among users that have logged in?


Question: List the names of buildings that have no company office.


Question: Which buildings do not have any company office? Give me the building names.


Question: Show the names of products and the number of events they are in.


Question: Show the names of products and the number of events they are in, sorted by the number of events in descending order.


Question: Show the names of products that are in at least two events.


Question: Show the names of products that are in at least two events in ascending alphabetical order of product name.


Question: List the names of products that are not in any event.


Question: List the name of artworks that are not nominated.


Question: Show the name and phone of the customer without any mailshot.


Question: Show the name and phone for customers with a mailshot with outcome code 'No Response'.


Question: Show the names of customers who have at least 2 mailshots with outcome code 'Order'.


Question: Show the names of customers who have the most mailshots.


Question: What are the name and payment method of customers who have both mailshots in 'Order' outcome and mailshots in 'No Response' outcome.


Question: Show the premise type and address type code for all customer addresses.


Question: Show the names of customers having an order with shipping method FedEx and order status Paid.


Question: Find the name of the department that has the biggest number of students minored in?


Question: What is the name of the department with the most students minoring in it?


Question: Find the name of the department that has no students minored in?


Question: What is the name of the department htat has no students minoring in it?


Question: Find the name of the department that has the fewest members.


Question: What is the name of the department with the fewest members?


Question: What are the first and last names of the instructors who teach the top 3 number of courses?


Question: What are the full names of the 3 instructors who teach the most courses?


Question: Which building does the instructor who teaches the most number of courses live in?


Question: Give the building that the instructor who teaches the greatest number of courses lives in.


Question: What are the name of courses that have at least five enrollments?


Question: Give the names of the courses with at least five enrollments.


Question: Find the first name and last name of the instructor of course that has course name


Question: What is the full name of the instructor who has a course named COMPUTER LITERACY?


Question: Find the department name and room of the course INTRODUCTION TO COMPUTER SCIENCE.


Question: What are the department name and room for the course INTRODUCTION TO COMPUTER SCIENCE?


Question: Find the full names of faculties who are members of department with department number 520.


Question: What are the full names of faculty members who are a part of department 520?


Question: What are the first names and last names of the students that minor in the department with DNO 140.


Question: What are the full names of students minoring in department 140?


Question: Return the address of customer 10.


Question: What is the address for the customer with id 10?


Question: What are the staff ids and genders of all staffs whose job title is Department Manager?


Question: Return the staff ids and genders for any staff with the title Department Manager.


Question: What are the name, phone number and email address of the customer who made the largest number of orders?


Question: Return the name, phone number and email address for the customer with the most orders.


Question: How many department stores does the store chain South have?


Question: Count the number of stores the chain South has.


Question: What is the name and job title of the staff who was assigned the latest?


Question: Return the name and job title of the staff with the latest date assigned.


Question: Give me the product type, name and price for all the products supplied by supplier id 3.


Question: Return the product type, name, and price for products supplied by supplier 3.


Question: Return the distinct name of customers whose order status is Pending, in the order of customer id.


Question: What are the distinct names of customers with an order status of Pending, sorted by customer id?


Question: Find the name and address of the customers who have both New and Pending orders.

9581 Will Flat Suite 272
East Cathryn, WY 30751-4404


Question: What are the names and addressed of customers who have both New and Pending orders?

9581 Will Flat Suite 272
East Cathryn, WY 30751-4404


Question: Return ids of all the products that are supplied by supplier id 2 and are more expensive than the average price of all products.


Question: What are the ids of products from the supplier with id 2, which are more expensive than the average price across all products?


Question: What is the id and name of the department store that has both marketing and managing department?


Question: What are the ids and names of department stores with both marketing and managing departments?


Question: Find the id and name of the staff who has been assigned for the shortest period.


Question: What is the id and name of the staff who has been assigned for the least amount of time?


Question: What is id of the staff who had a Staff Department Assignment earlier than any Clerical Staff?


Question: Return the id of the staff whose Staff Department Assignment was earlier than that of any Clerical Staff.


Question: Return the name and gender of the staff who was assigned in 2016.


Question: What are the names and genders of staff who were assigned in 2016?


Question: List the name of staff who has been assigned multiple jobs.


Question: What are the names of staff who have been assigned multiple jobs?


Question: What are the phone numbers of all customers and suppliers.


Question: Return the phone numbers for all customers and suppliers.


Question: Return the ids of all products that were ordered more than three times or supplied more than 80000.


Question: What are the ids of all products that were either ordered more than 3 times or have a cumulative amount purchased of above 80000?


Question: Find the name and gender of the staff who has been assigned the job of Sales Person but never Clerical Staff.


Question: What are the names and genders of staff who have held the title Sales Person, but never Clerical Staff?


Question: Please list the location and the winning aircraft name.

Flamengo Beach , Rio de Janeiro
Bell 206B3 JetRanger

River Danube , Budapest
CH-53E Super Stallion


Question: What is the location and name of the winning aircraft?

Flamengo Beach , Rio de Janeiro
Bell 206B3 JetRanger

River Danube , Budapest
CH-53E Super Stallion


Question: List the name of the aircraft that has been named winning aircraft the most number of times.


Question: What is the name of the aircraft that has won an award the most?


Question: List the names of aircrafts and the number of times it won matches.


Question: For each aircraft that has won an award, what is its name and how many time has it won?


Question: List the names of aircrafts and that won matches at least twice.


Question: What are the names of all aircrafts that have won a match at least twice?


Question: find the name and age of the pilot who has won the most number of times among the pilots who are younger than 30.


Question: What is the name and age of the pilot younger than 30 who has won the most number of times?


Question: what is the name and age of the youngest winning pilot?


Question: How old is the youngest winning pilot and what is their name?


Question: find the name of pilots who did not win the matches held in the country of Australia.


Question: What are the names of the pilots that have not won any matches in Australia?


Question: How many residents does each property have? List property id and resident count.


Question: What is the distinct service types that are provided by the organization which has detail 'Denesik and Sons Party'?


Question: How many services has each resident requested? List the resident id, details, and the count in descending order of the count.


Question: What is the maximum number that a certain service is provided? List the service id, details and number.


Question: List the id and type of each thing, and the details of the organization that owns it.

Electronics
Reinger, Hudson and Nolan Group


Question: What are the id and details of the customers who have at least 3 events?


Question: What is each customer's move in date, and the corresponding customer id and details?

2016-09-27 12:00:00
Mackenzie Hettinger V

2016-09-27 12:00:00
Mackenzie Hettinger V


Question: Which events have the number of notes between one and three? List the event id and the property id.


Question: What are the distinct id and type of the thing that has the status 'Close' or has a status record before the date '2017-06-19 02:59:21'


Question: How many distinct locations have the things with service detail 'Unsatisfied' been located in?


Question: How many customers did not have any event?


Question: For each player, show the team and the location of school they belong to.


Question: What are the team and the location of school each player belongs to?


Question: Show the locations of schools that have more than 1 player.


Question: Which schools have more than 1 player? Give me the school locations.


Question: Show the denomination of the school that has the most players.


Question: What is the denomination of the school the most players belong to?


Question: Show locations and nicknames of schools.


Question: What are the location and nickname of each school?


Question: What is minimum hours of the students playing in different position?


Question: For each position, what is the minimum time students spent practicing?


Question: Find the states where have some college students in tryout.


Question: What are the different states that have students trying out?


Question: Find the states where have some college students in tryout and their decisions are yes.


Question: What are the different states that had students successfully try out?


Question: Find the name and college of students whose decisions are yes in the tryout.


Question: What are the names of all the players who received a yes during tryouts, and also what are the names of their colleges?


Question: Find the name of all students who were in the tryout sorted in alphabetic order.


Question: What are the names of all students who tried out in alphabetical order?


Question: Find the name and hours of the students whose tryout decision is yes.


Question: What are the names and hours spent practicing of every student who received a yes at tryouts?


Question: Find the states of the colleges that have students in the tryout who played in striker position.


Question: What are the states of the colleges where students who tried out for the striker position attend?


Question: Find the names of the students who are in the position of striker and got a yes tryout decision.


Question: What are the names of all students who successfully tried out for the position of striker?


Question: Find the average and maximum hours for the students whose tryout decision is yes.


Question: What is the average and maximum number of hours students who made the team practiced?


Question: Find the average hours for the students whose tryout decision is no.


Question: What is the average number of hours spent practicing for students who got rejected?


Question: What is the maximum training hours for the students whose training hours is greater than 1000 in different positions?


Question: For each position, what is the maximum number of  hours for students who spent more than 1000 hours training?


Question: Which colleges do the tryout players whose name starts with letter D go to?


Question: Which colleges does each player with a name that starts with the letter D  who tried out go to?


Question: What is the state and enrollment of the colleges where have any students who got accepted in the tryout decision.


Question: How many students are enrolled in colleges that have student accepted during tryouts, and in which states are those colleges?


Question: Find the names of states that have some college students playing in goalie and mid positions.


Question: What are the names of the states that have some college students playing in the positions of goalie and mid-field?


Question: Find the names of states that have some college students playing in the mid position but not in the goalie position.


Question: What are the names of all the states with college students playing in the mid position but no goalies?


Question: How many states that have some college students playing in the mid position but not in the goalie position.


Question: What is the count of states with college students playing in the mid position but not as goalies?


Question: What is the total number of enrollment of schools that do not have any goalie player?


Question: What is the total number of students enrolled in schools without any goalies?


Question: Show names of shops that have more than one kind of device in stock.


Question: What are the names of shops that have more than a single kind of device in stock?


Question: Show the name of the shop that has the most kind of devices in stock.


Question: What is the name of the shop that has the most different kinds of devices in stock?


Question: Show the name of the shop that have the largest quantity of devices in stock.


Question: What is the name of the shop that has the greatest quantity of devices in stock?


Question: List the names of shops that have no devices in stock.


Question: What are the names of shops that do not have any devices in stock?


Question: List the carriers of devices that have no devices in stock.


Question: What are the carriers of devices that are not in stock anywhere?


Question: Show the carriers of devices in stock at more than one shop.


Question: What are the carriers of devices that are in stock in more than a single shop?


Question: Which city is the address of the store named "FJA Filming" located in?


Question: Find the city the store named "FJA Filming" is in.


Question: What are the states or counties of the address of the stores with marketing region code "CA"?


Question: Find the states or counties where the stores with marketing region code "CA" are located.


Question: What is the name of the marketing region that the store Rob Dinning belongs to?


Question: Return the name of the marketing region the store Rob Dinning is located in.


Question: What are the descriptions of the service types with product price above 100?


Question: Give me the descriptions of the service types that cost more than 100.


Question: What is the description, code and the corresponding count of each service type?


Question: List the description, code and the number of services for each service type.


Question: What is the description and code of the type of service that is performed the most often?


Question: Find the description and code of the service type that is performed the most times.


Question: What are the phones and emails of workshop groups in which services are performed?


Question: Give me all the phone numbers and email addresses of the workshop groups where services are performed.


Question: What are the names of workshop groups in which services with product name "film" are performed?


Question: Find the names of the workshop groups where services with product name "film" are performed.


Question: What are the total order quantities of photo products?


Question: Compute the total order quantities of the product "photo".


Question: What are the order details of the products with price higher than 2000?


Question: Find the order detail for the products with price above 2000.


Question: What are the actual delivery dates of orders with quantity 1?


Question: List the actual delivery date for all the orders with quantity 1


Question: What are the names of the drama workshop groups with address in Feliciaberg city?


Question: Return the the names of the drama workshop groups that are located in Feliciaberg city.


Question: What are the email addresses of the drama workshop groups with address in Alaska state?


Question: List the email addresses of the drama workshop groups located in Alaska state.


Question: Show all cities along with the number of drama workshop groups in each city.


Question: How many drama workshop groups are there in each city? Return both the city and the count.


Question: What are the names of the workshop groups that have bookings with status code "stop"?


Question: Which workshop groups have bookings with status code "stop"? Give me the names.


Question: Show the names of all the clients with no booking.


Question: What are the names of the clients who do not have any booking?


Question: What is the description of the service type which offers both the photo product and the film product?


Question: Give me the description of the service type that offers not only the photo product but also the film product.


Question: Find the average prices of all products from each manufacture, and list each company's name.


Question: What are the average prices of products for each manufacturer?


Question: Find the number of different products that are produced by companies at different headquarter cities.


Question: How many different products are produced in each headquarter city?


Question: Find number of products which Sony does not make.


Question: How many products are not made by Sony?


Question: Find the name of companies that do not make DVD drive.


Question: What are the names of companies that do not make DVD drives?


Question: Find the number of products for each manufacturer, showing the name of each company.


Question: How many products are there for each manufacturer?


Question: Select all the data from the products and each product's manufacturer.

Code Name Price Manufacturer Code Name Headquarter Founder Revenue


Question: What is all the product data, as well as  each product's manufacturer?

Code Name Price Manufacturer Code Name Headquarter Founder Revenue


Question: Select the average price of each manufacturer's products, showing the manufacturer's name.


Question: What are the average prices of products, grouped by manufacturer name?


Question: Select the names of manufacturer whose products have an average price higher than or equal to $150.


Question: What are the names and average prices of products for manufacturers whose products cost on average 150 or more?


Question: Select the name of each manufacturer along with the name and price of its most expensive product.


Question: For each manufacturer name, what are the names and prices of their most expensive product?


Question: List the first and last names of all distinct staff members who are assigned to the problem whose id is 1.


Question: Which staff members are assigned to the problem with id 1? Give me their first and last names.


Question: List the problem id and log id which are assigned to the staff named Rylan Homenick.


Question: Which problem id and log id are assigned to the staff named Rylan Homenick?


Question: How many problems are there for product voluptatem?


Question: How many problems did the product called "voluptatem" have in record?


Question: How many problems does the product with the most problems have? List the number of the problems and product name.


Question: Which product has the most problems? Give me the number of problems and the product name.


Question: Give me a list of descriptions of the problems that are reported by the staff whose first name is Christop.


Question: Which problems are reported by the staff with first name "Christop"? Show the descriptions of the problems.


Question: Find the ids of the problems that are reported by the staff whose last name is Bosco.


Question: Which problems are reported by the staff with last name "Bosco"? Show the ids of the problems.


Question: For each product which has problems, what are the number of problems and the product id?


Question: For each product with some problems, list the count of problems and the product id.


Question: For each product that has problems, find the number of problems reported after 1986-11-13 and the product id?


Question: What are the products that have problems reported after 1986-11-13? Give me the product id and the count of problems reported after 1986-11-13.


Question: What are the id of problems reported by the staff named Dameon Frami or Jolie Weber?


Question: Which problems were reported by the staff named Dameon Frami or Jolie Weber? Give me the ids of the problems.


Question: What are the product ids for the problems reported by Christop Berge with closure authorised by Ashley Medhurst?


Question: For which product was there a problem reported by Christop Berge, with closure authorised by Ashley Medhurst? Return the product ids.


Question: What are the ids of the problems reported before the date of any problem reported by Lysanne Turcotte?


Question: Which problems were reported before the date of any problem reported by the staff Lysanne Turcotte? Give me the ids of the problems.


Question: What are the ids of the problems reported after the date of any problems reported by Rylan Homenick?


Question: Find the ids of the problems reported after the date of any problems reported by the staff Rylan Homenick.


Question: Find the top 3 products which have the largest number of problems?


Question: What are the three products that have the most problems?s


Question: Show all branch names with the number of members in each branch registered after 2015.


Question: For each branch id, what are the names of the branches that were registered after 2015?


Question: Show member names without any registered branch.


Question: What are the names of the members that have never registered at any branch?


Question: List the branch name and city without any registered members.


Question: What are the names and cities of the branches that do not have any registered members?


Question: What is the name and open year for the branch with most number of memberships registered in 2016?


Question: What is the name and opening year for the branch that registered the most members in 2016?


Question: Show the member name and hometown who registered a branch in 2016.

Ventrell Jenkins
Columbia, South Carolina


Question: What are the member names and hometowns of those who registered at a branch in 2016?

Ventrell Jenkins
Columbia, South Carolina


Question: What is the sum of total pounds of purchase in year 2018 for all branches in London?


Question: How many total pounds were purchased in the year 2018 at all London branches?


Question: What is the total number of purchases for members with level 6?


Question: What are the total purchases for members rated at level 6?


Question: Find the distinct last names of the students who have class president votes.


Question: What are the distinct last names of the students who have class president votes?


Question: Find the distinct first names of the students who have class senator votes.


Question: What are the distinct first names of the students who have class president votes?


Question: Find the distinct ages of students who have secretary votes in the fall election cycle.


Question: What are the distinct ages of students who have secretary votes in the fall election cycle?


Question: Find the distinct Advisor of students who have treasurer votes in the spring election cycle.


Question: Who served as an advisor for students who have treasurer votes in the spring election cycle?


Question: Find the distinct majors of students who have treasurer votes.


Question: What are the distinct majors that students with treasurer votes are studying?


Question: Find the first and last names of all the female (sex is F) students who have president votes.


Question: What are the first and last names of all the female students who have president votes?


Question: Find the first and last name of all the students of age 18 who have vice president votes.


Question: What are the first names and last names of the students who are 18 years old and have vice president votes.


Question: How many male (sex is M) students have class senator votes in the fall election cycle?


Question: Count the number of male students who had class senator votes in the fall election cycle.


Question: Find the number of students whose city code is NYC and who have class senator votes in the spring election cycle.


Question: Which students live in the city with code "NYC" and have class senator votes in the spring election cycle? Count the numbers.


Question: Find the average age of students who live in the city with code "NYC" and have secretary votes in the spring election cycle.


Question: What is the average age of students who have city code "NYC" and have secretary votes for the spring election cycle?


Question: Find the average age of female (sex is F) students who have secretary votes in the spring election cycle.


Question: What is the average age of the female students with secretary votes in the spring election cycle?


Question: Find the distinct first names of all the students who have vice president votes and whose city code is not PIT.


Question: What are the distinct first names of the students who have vice president votes and reside in a city whose city code is not PIT?


Question: Find the distinct last names of all the students who have president votes and whose advisor is not 2192.


Question: What are the distinct last names of the students who have president votes but do not have 2192 as the advisor?


Question: Find the distinct last names of all the students who have president votes and whose advisor is 8741.


Question: What are the distinct last names of the students who have president votes and have 8741 as the advisor?


Question: List the names, color descriptions and product descriptions of products with category "Herbs".


Question: What are the names, color descriptions, and product descriptions for products in the 'Herbs' category?


Question: What is the name of the product with the color description 'yellow'?


Question: Give the name of the products that have a color description 'yellow'.


Question: Find the category descriptions of the products whose descriptions include letter 't'.


Question: What are the descriptions of the categories that products with product descriptions that contain the letter t are in?


Question: What is the color description of the product with name "catnip"?


Question: Give the color description for the product 'catnip'.


Question: What is the color code and description of the product named "chervil"?


Question: Return the color code and description for the product with the name 'chervil'.


Question: List all the product names with the color description "white".


Question: What are the names of products with 'white' as their color description?


Question: What are the name and typical buying and selling prices of the products that have color described as "yellow"?


Question: Return the names and typical buying and selling prices for products that have 'yellow' as their color description.


Question: How many characteristics does the product named "sesame" have?


Question: Count the number of characteristics the product 'sesame' has.


Question: What is the unit of measurement of product named "cumin"?


Question: Give the unit of measure for the product with the name 'cumin'.


Question: Find the unit of measurement and product category code of product named "chervil".


Question: What are the unit of measure and category code for the 'chervil' product?


Question: What is the description of the color for most products?


Question: Return the color description that is most common across all products.


Question: What is the description of the color used by least products?


Question: Give the color description that is least common across products.


Question: What are the names, details and data types of the characteristics which are never used by any product?


Question: Give the names, details, and data types of characteristics that are not found in any product.


Question: How many colors are never used by any product?


Question: Count the number of colors that are not used in any products.


Question: Find the names of swimmers who has a result of "win".


Question: What is the name of the stadium which held the most events?


Question: Find the name and capacity of the stadium where the event named "World Junior" happened.


Question: Find the names of stadiums which have never had any event.


Question: Find the name of the swimmer who has the most records.


Question: Find the name of the swimmer who has at least 2 records.


Question: Find the name and nationality of the swimmer who has won (i.e., has a result of "win") more than 1 time.


Question: Find the names of the swimmers who have no record.


Question: Find the names of the swimmers who have both "win" and "loss" results in the record.


Question: Show the names of trains and locations of railways they are in.


Question: Show the builder of railways associated with the trains named "Andaman Exp".


Question: Show id and location of railways that are associated with more than one train.


Question: Show the id and builder of the railway that are associated with the most trains.


Question: List the object number of railways that do not have any trains.


Question: Show names and phones of customers who do not have address information.


Question: Show the name of the customer who has the most orders.


Question: Show the names of customers who have both an order in completed status and an order in part status.


Question: Show the product name and total order quantity for each product.


Question: Show the names of customers who use Credit Card payment method and have more than 2 orders.


Question: Find the number of amenities for each of the dorms that can accommodate more than 100 students.


Question: For each dorm, how many amenities does it have?


Question: Find the name of amenity that is most common in all dorms.


Question: What is the most common amenity in the dorms?


Question: List the name of all products along with the number of complaints that they have received.


Question: What are all the different product names, and how many complains has each received?


Question: Find the emails of customers who has filed a complaints of the product with the most complaints.


Question: What are the emails of customers who have filed complaints on the product which has had the greatest number of complaints?


Question: What is the phone number of the customer who has filed the most recent complaint?


Question: Return the phone number of the customer who filed the complaint that was raised most recently.


Question: Find the email and phone number of the customers who have never filed a complaint before.


Question: What are the emails and phone numbers of custoemrs who have never filed a complaint?


Question: Find the phone number of all the customers and staff.


Question: What are the phone numbers of all customers and all staff members?


Question: What is the last name of the staff who has handled the first ever complaint?


Question: Return the last name of the staff member who handled the complaint with the earliest date raised.


Question: What is first names of the top 5 staff who have handled the greatest number of complaints?


Question: Return the first names of the 5 staff members who have handled the most complaints.


Question: Show the authors of submissions and the acceptance results of their submissions.


Question: For each submission, find its author and acceptance result.


Question: Show the result of the submission with the highest score.


Question: Which submission received the highest score in acceptance result. Show me the result.


Question: Show each author and the number of workshops they submitted to.


Question: How many workshops did each author submit to? Return the author name and the number of workshops.


Question: Show the authors who have submissions to more than one workshop.


Question: Which authors have submitted to more than one workshop?


Question: List the authors who do not have submission to any workshop.


Question: Which authors did not submit to any workshop?


Question: Show the transaction type descriptions and dates if the share count is smaller than 10.


Question: Show details of all investors if they make any transaction with share count greater than 100.


Question: Return the lot details of lots that belong to investors with details "l"?


Question: What are the purchase details of transactions with amount bigger than 10000?


Question: What are the sale details and dates of transactions with amount smaller than 3000?


Question: Show the average amount of transactions for different lots.


Question: Show the average amount of transactions for different lots, ordered by average amount of transactions.


Question: Show the description of the transaction type that occurs most frequently.


Question: Show the id and details of the investor that has the largest number of transactions.


Question: Show the id and details for the investors who have the top 3 number of transactions.


Question: Show the ids of the investors who have at least two transactions.


Question: Show the ids and details of the investors who have at least two transactions with type code "SALE".


Question: What are the details of all sales and purchases?


Question: What are the details of the lots which are not used in any transactions?


Question: What are the star rating descriptions of the hotels with price above 10000?


Question: Give me the star rating descriptions of the hotels that cost more than 10000.


Question: What are the details and opening hours of the museums?


Question: Give me the detail and opening hour for each museum.


Question: What is the name of the tourist attraction that is associated with the photo "game1"?


Question: Which tourist attraction is associated with the photo "game1"? Return its name.


Question: What are the names and descriptions of the photos taken at the tourist attraction "film festival"?


Question: Find the names and descriptions of the photos taken at the tourist attraction called "film festival".


Question: What are the details and ways to get to tourist attractions related to royal family?


Question: Which tourist attractions are related to royal family? Tell me their details and how we can get there.


Question: What are the details of the shops that can be accessed by walk?


Question: Find the details of the shops that can be reached by walk.


Question: What is the name of the staff that is in charge of the attraction named "US museum"?


Question: Tell me the name of the staff in charge of the attraction called "US museum".


Question: What are the details of the markets that can be accessed by walk or bus?


Question: Find the details of all the markets that are accessible by walk or bus.


Question: What are the visit date and details of the visitor whose detail is 'Vincent'?


Question: Find the visit date and details of the tourist whose detail is 'Vincent'


Question: Show the description and code of the attraction type most tourist attractions belong to.


Question: Which attraction type does the most tourist attractions belong to? Tell me its  attraction type description and code.


Question: Show different tourist attractions' names, ids, and the corresponding number of visits.


Question: What are the name, id and the corresponding number of visits for each  tourist attraction?


Question: Show the names and ids of tourist attractions that are visited at least two times.


Question: Which tourist attractions are visited at least twice? Give me their names and ids.


Question: Show the names and ids of tourist attractions that are visited at most once.


Question: What are the names and ids of the tourist attractions that are visited at most once?


Question: What are the names of tourist attractions that can be reached by walk or is at address 660 Shea Crescent?


Question: Find the names of the tourist attractions that is either accessible by walk or at address 660 Shea Crescent.


Question: What are the names of tourist attractions that can be reached by bus or is at address 254 Ottilie Junction?


Question: Find the names of the tourist attractions that is either accessible by bus or at address 254 Ottilie Junction.


Question: How many tourists did not make any visit?


Question: Count the number of tourists who did not visit any place.


Question: Show last names for all student who are on scholarship.


Question: What are the last names for all scholarship students?


Question: What is the first name and last name of the student who have most number of sports?


Question: What is the first and last name of the student who played the most sports?


Question: Show student ids who don't have any sports.


Question: What are the ids of all students who don't play sports?


Question: Show student ids who are on scholarship and have major 600.


Question: What are the student ids for those on scholarship in major number 600?


Question: Show student ids who are female and play football.


Question: What are the ids of all female students who play football?


Question: Show all male student ids who don't play football.


Question: What are the ids of all male students who do not play football?


Question: Show total hours per week and number of games played for student David Shieber.


Question: What is the total number of hours per work and number of games played by David Shieber?


Question: Show total hours per week and number of games played for students under 20.


Question: What is the total number of hours per week and number of games played by students under 20?


Question: Show ids of students who don't play video game.


Question: What are the ids of all students who are not video game players?


Question: Show ids of students who play video game and play sports.


Question: What are the ids of all students who played video games and sports?


Question: Show the game name that has most number of hours played.


Question: What is the name of the game that has been played the most?


Question: Show all game names played by at least 1000 hours.


Question: What are the names of all the games that have been played for at least 1000 hours?


Question: Find the last and first name of students who are playing Football or Lacrosse.


Question: What is the first and last name of all students who play Football or Lacrosse?


Question: Which contact channel has been used by the customer with name "Tillman Ernser"?


Question: Find the contact channel code that was used by the customer named "Tillman Ernser".


Question: What is the "active to date" of the latest contact channel used by "Tillman Ernser"?


Question: Return the the "active to date" of the latest contact channel used by the customer named "Tillman Ernser".


Question: Find the name and active date of the customer that use email as the contact channel.


Question: What are the name and active date of the customers whose contact channel code is email?


Question: Find the customer name and date of the orders that have the status "Delivered".

Prof. Alexzander Hamill
2018-03-22 14:57:30


Question: What are the customer name and date of the orders whose status is "Delivered".

Prof. Alexzander Hamill
2018-03-22 14:57:30


Question: What is the total number of products that are in orders with status "Cancelled"?


Question: Find the total quantity of products associated with the orders in the "Cancelled" status.


Question: Find the total amount of products ordered before 2018-03-17 07:13:53.


Question: What is the total amount of products purchased before 2018-03-17 07:13:53?


Question: Who made the latest order?


Question: Find the name of the customer who made an order most recently.


Question: Which product has been ordered most number of times?


Question: What is the most frequently ordered product? Tell me the detail of the product


Question: Find the name and ID of the product whose total order quantity is the largest.


Question: What are the name and ID of the product bought the most.


Question: Find the names of customers who never placed an order.


Question: What are the names of customers who never made an order.


Question: Please show the date of ceremony of the volumes that last more than 2 weeks on top.


Question: What are the dates of ceremony at music festivals corresponding to volumes that lasted more than 2 weeks on top?


Question: Please show the songs that have result "nominated" at music festivals.


Question: What are the songs in volumes that have resulted in a nomination at music festivals?


Question: What are the issue dates of volumes associated with the artist "Gorgoroth"?


Question: Return the issue dates of volumes that are by the artist named Gorgoroth.


Question: What are the songs in volumes associated with the artist aged 32 or older?


Question: Return names of songs in volumes that are by artists that are at least 32 years old.


Question: What is the average weeks on top of volumes associated with the artist aged 25 or younger?


Question: Return the average number of weeks on top for volumes by artists that are at most 25 years old.


Question: What are the famous title of the artists associated with volumes with more than 2 weeks on top?


Question: Return the famous titles for artists that have volumes that lasted more than 2 weeks on top.


Question: Find the famous titles of artists that do not have any volume.


Question: What are the famous titles of artists who do not have any volumes?


Question: Show the famous titles of the artists with both volumes that lasted more than 2 weeks on top and volumes that lasted less than 2 weeks on top.