Question: What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?


Question: List the states where both the secretary of 'Treasury' department and the secretary of 'Homeland Security' were born.


Question: How many registed students do each course have? List course name and the number of their registered students?


Question: For each course id, how many students are registered and what are the course names?


Question: Find the cell mobile number of the candidates whose assessment code is "Fail"?


Question: What are the cell phone numbers of the candidates that received an assessment code of "Fail"?


Question: Find distinct cities of address of students?


Question: What are the different cities where students live?


Question: Show names for all aircrafts of which John Williams has certificates.


Question: What are the names of all aircrafts that John Williams have certificates to be able to fly?


Question: Show names for all employees who have certificate of Boeing 737-800.


Question: What are the names of all employees who have a certificate to fly Boeing 737-800?


Question: Show names for all employees who have certificates on both Boeing 737-800 and Airbus A340-300.


Question: What are the names of all employees who can fly both the Boeing 737-800 and the Airbus A340-300?


Question: Show names for all employees who do not have certificate of Boeing 737-800.


Question: What are the names of all employees who are not certified to fly Boeing 737-800s?


Question: What is the salary and name of the employee who has the most number of certificates on aircrafts with distance more than 5000?


Question: What is the salaray and name of the employee with the most certificates to fly planes more than 5000?


Question: What are the allergies and their types that the student with first name Lisa has? And order the result by name of allergies.


Question: What are the allergies the girl named Lisa has? And what are the types of them? Order the result by allergy names.


Question: Find the average age of the students who have allergies with food and animal types.


Question: How old are the students with allergies to food and animal types on average?


Question: List the first and last name of the students who do not have any food type allergy.


Question: What is the full name of each student who is not allergic to any type of food.


Question: Find the number of male (sex is 'M') students who have some food type allery.


Question: How many male students (sex is 'M') are allergic to any type of food?


Question: Find the number of students who are older than 18 and do not have allergy to either food or animal.


Question: How many students are over 18 and do not have allergy to food type or animal type?


Question: List the name of tracks belongs to genre Rock and whose media type is MPEG audio file.

The Girl I Love She Got Long Black Wavy Hair

This Time Around / Owed to 'G' instrumental

Child In Time (Son Of Aleric - Instrumental)

You Can't Do it Right (With the One You Love)

Bring Your Daughter... To The Slaughter...

Bitter Suite: Brief Encounter / Lost Weekend / Blue Angel

Heart Of Lothian: Wide Boy / Curtain Call

Blind Curve: Vocal Under A Bloodlight / Passing Strangers / Mylo / Perimeter Walk / Threshold

Elderly Woman Behind The Counter In A Small Town

Elderly Woman Behind The Counter In A Small Town

How The West Was Won And Where It Got Us

Message in a Bottle (new classic rock mix)

Won't Get Fooled Again (Full Length Version)

Tryin' To Throw Your Arms Around The World

I Still Haven't Found What I'm Looking for

I Still Haven't Found What I'm Looking For


Question: What are the names of all Rock tracks that are stored on MPEG audio files?

The Girl I Love She Got Long Black Wavy Hair

This Time Around / Owed to 'G' instrumental

Child In Time (Son Of Aleric - Instrumental)

You Can't Do it Right (With the One You Love)

Bring Your Daughter... To The Slaughter...

Bitter Suite: Brief Encounter / Lost Weekend / Blue Angel

Heart Of Lothian: Wide Boy / Curtain Call

Blind Curve: Vocal Under A Bloodlight / Passing Strangers / Mylo / Perimeter Walk / Threshold

Elderly Woman Behind The Counter In A Small Town

Elderly Woman Behind The Counter In A Small Town

How The West Was Won And Where It Got Us

Message in a Bottle (new classic rock mix)

Won't Get Fooled Again (Full Length Version)

Tryin' To Throw Your Arms Around The World

I Still Haven't Found What I'm Looking for

I Still Haven't Found What I'm Looking For


Question: List the name of tracks belongs to genre Rock or media type is MPEG audio file.

Se Todos Fossem Iguais A VocÃª (Instrumental)

Spanish moss-"A sound portrait"-Spanish moss

Keep It To Myself (Aka Keep It To Yourself)

AtrÃ¡s Da Verd-E-Rosa SÃ³ NÃ£o Vai Quem JÃ¡ Morreu

O Encontro De Isaac Asimov Com Santos Dumont No CÃ©u

The Girl I Love She Got Long Black Wavy Hair

NÃ£o DÃ¡ Mais Pra Segurar (Explode CoraÃ§Ã£o)

Um Homem TambÃ©m Chora (Guerreiro Menino)

Posso Perder Minha Mulher, Minha MÃ£e, Desde Que Eu Tenha O Rock And Roll

Pela Luz dos Olhos Teus (MiÃºcha e Tom Jobim)

ComeÃ§aria Tudo Outra Vez (Maria Creuza)

Woman Is The Nigger Of The World (Ao Vivo)

NÃ£o Deixe O Samba Morrer - Cassia Eller e Alcione

Mis Penas Lloraba Yo (Ao Vivo) Soy Gitano (Tangos)

This Time Around / Owed to 'G' instrumental

Child In Time (Son Of Aleric - Instrumental)

You Can't Do it Right (With the One You Love)

Jesus Of Suburbia / City Of The Damned / I Don't Care / Dearly Beloved / Tales Of Another Broken Home

Homecoming / The Death Of St. Jimmy / East 12th St. / Nobody Likes You / Rock And Roll Girlfriend / We're Coming Home Again

Hallowed Be Thy Name (Live) [Non Album Bonus Track]

Bring Your Daughter... To The Slaughter...

Bring Your Daughter... ...To The Slaughter

Say It Loud, I'm Black And I'm Proud Pt.1

Get Up (I Feel Like Being A) Sex Machine

Bitter Suite: Brief Encounter / Lost Weekend / Blue Angel

Heart Of Lothian: Wide Boy / Curtain Call

Blind Curve: Vocal Under A Bloodlight / Passing Strangers / Mylo / Perimeter Walk / Threshold

You're What's Happening (In The World Today)

Gonna Keep On Tryin' Till I Win Your Love

I Don't Wanna Be Kissed (By Anyone But You)

The Meaning Of The Blues/Lament (Alternate Take)

I Don't Wanna Be Kissed (By Anyone But You) (Alternate Take)

Saudade Dos AviÃµes Da Panair (Conversando No Bar)

Tequila - Lourinha Bombril (Parate Y Mira)

Elderly Woman Behind The Counter In A Small Town

Elderly Woman Behind The Counter In A Small Town

How The West Was Won And Where It Got Us

It's The End Of The World As We Know It (And I Feel Fine)

This Cocaine Makes Me Feel Like I'm On This Song

Message in a Bottle (new classic rock mix)

Won't Get Fooled Again (Full Length Version)

Tryin' To Throw Your Arms Around The World

I Still Haven't Found What I'm Looking for

I Still Haven't Found What I'm Looking For

Feirinha da Pavuna/Luz do Repente/BagaÃ§o da Laranja

Shamrocks And Shenanigans (Boom Shalock Lock Boom/Butch Vig Mix)


Question: What are the names of all tracks that belong to the Rock genre and whose media type is MPEG?

Se Todos Fossem Iguais A VocÃª (Instrumental)

Spanish moss-"A sound portrait"-Spanish moss

Keep It To Myself (Aka Keep It To Yourself)

AtrÃ¡s Da Verd-E-Rosa SÃ³ NÃ£o Vai Quem JÃ¡ Morreu

O Encontro De Isaac Asimov Com Santos Dumont No CÃ©u

The Girl I Love She Got Long Black Wavy Hair

NÃ£o DÃ¡ Mais Pra Segurar (Explode CoraÃ§Ã£o)

Um Homem TambÃ©m Chora (Guerreiro Menino)

Posso Perder Minha Mulher, Minha MÃ£e, Desde Que Eu Tenha O Rock And Roll

Pela Luz dos Olhos Teus (MiÃºcha e Tom Jobim)

ComeÃ§aria Tudo Outra Vez (Maria Creuza)

Woman Is The Nigger Of The World (Ao Vivo)

NÃ£o Deixe O Samba Morrer - Cassia Eller e Alcione

Mis Penas Lloraba Yo (Ao Vivo) Soy Gitano (Tangos)

This Time Around / Owed to 'G' instrumental

Child In Time (Son Of Aleric - Instrumental)

You Can't Do it Right (With the One You Love)

Jesus Of Suburbia / City Of The Damned / I Don't Care / Dearly Beloved / Tales Of Another Broken Home

Homecoming / The Death Of St. Jimmy / East 12th St. / Nobody Likes You / Rock And Roll Girlfriend / We're Coming Home Again

Hallowed Be Thy Name (Live) [Non Album Bonus Track]

Bring Your Daughter... To The Slaughter...

Bring Your Daughter... ...To The Slaughter

Say It Loud, I'm Black And I'm Proud Pt.1

Get Up (I Feel Like Being A) Sex Machine

Bitter Suite: Brief Encounter / Lost Weekend / Blue Angel

Heart Of Lothian: Wide Boy / Curtain Call

Blind Curve: Vocal Under A Bloodlight / Passing Strangers / Mylo / Perimeter Walk / Threshold

You're What's Happening (In The World Today)

Gonna Keep On Tryin' Till I Win Your Love

I Don't Wanna Be Kissed (By Anyone But You)

The Meaning Of The Blues/Lament (Alternate Take)

I Don't Wanna Be Kissed (By Anyone But You) (Alternate Take)

Saudade Dos AviÃµes Da Panair (Conversando No Bar)

Tequila - Lourinha Bombril (Parate Y Mira)

Elderly Woman Behind The Counter In A Small Town

Elderly Woman Behind The Counter In A Small Town

How The West Was Won And Where It Got Us

It's The End Of The World As We Know It (And I Feel Fine)

This Cocaine Makes Me Feel Like I'm On This Song

Message in a Bottle (new classic rock mix)

Won't Get Fooled Again (Full Length Version)

Tryin' To Throw Your Arms Around The World

I Still Haven't Found What I'm Looking for

I Still Haven't Found What I'm Looking For

Feirinha da Pavuna/Luz do Repente/BagaÃ§o da Laranja

Shamrocks And Shenanigans (Boom Shalock Lock Boom/Butch Vig Mix)


Question: List all tracks bought by customer Daan Peeters.


Question: What are the tracks that Dean Peeters bought?


Question: Show the names of editors and the theme of journals for which they serve on committees.


Question: For each journal_committee, find the editor name and the journal theme.


Question: Show the names and ages of editors and the theme of journals for which they serve on committees, in ascending alphabetical order of theme.


Question: Show the names of editors that are on the committee of journals with sales bigger than 3000.


Question: What are the album titles for albums containing both 'Reggae' and 'Rock' genre tracks?


Question: Find the titles of albums that contain tracks of both the Reggae and Rock genres.


Question: What are all the policy types of the customer named "Dayana Robel"?


Question: Tell me the types of the policy used by the customer named "Dayana Robel".


Question: What are all the policy types of the customer that has the most policies listed?


Question: List all the policy types used by the customer enrolled in the most policies.


Question: Find the names of customers who have used either the service "Close a policy" or the service "Upgrade a policy".


Question: Which customers have used the service named "Close a policy" or "Upgrade a policy"? Give me the customer names.


Question: What are the names of enzymes in the medicine named 'Amisulpride' that can serve as an 'inhibitor'?


Question: What are the names of the enzymes used in the medicine  Amisulpride that acts as inhibitors?


Question: What is the interaction type of the enzyme named 'ALA synthase' and the medicine named 'Aripiprazole'?


Question: What is the type of interaction for the enzyme named 'ALA synthase' and the medicine named 'Aripiprazole'?


Question: Show the medicine names and trade names that cannot interact with the enzyme with product 'Heme'.


Question: What are the medicine and trade names that cannot interact with the enzyme with the product 'Heme'?


Question: What are the chip model and screen mode of the phone with hardware model name "LG-P760"?


Question: What are the wifi and screen mode type of the hardware model named "LG-P760"?


Question: List the hardware model name for the phones that have screen mode type "Text" or RAM size greater than 32.


Question: What are the id and name of the stadium where the most injury accidents happened?


Question: Find the id and name of the stadium where the largest number of injury accidents occurred.


Question: In which season and which stadium did any player have an injury of 'Foot injury' or 'Knee problem'?


Question: List the name of the stadium where both the player 'Walter Samuel' and the player 'Thiago Motta' got injured.


Question: Show the name, average attendance, total attendance for stadiums where no accidents happened.


Question: Show the names of members and the location of the performances they attended.


Question: Show the names of members and the location of performances they attended in ascending alphabetical order of their names.


Question: Show the dates of performances with attending members whose roles are "Violin".


Question: Show the names of members and the dates of performances they attended in descending order of attendance of the performances.


Question: list in alphabetic order all course names and their instructors' names in year 2008.


Question: Show all titles and their instructors' names for courses in 2008, in alphabetical order by title.


Question: Find the name and salary of the instructors who are advisors of any student from History department?


Question: What are the names and salaries of instructors who advises students in the History department?


Question: Find the name and salary of instructors who are advisors of the students from the Math department.


Question: What are the names and salaries of instructors who advise students in the Math department?


Question: Find the name of instructors who are advisors of the students from the Math department, and sort the results by students' total credit.


Question: What are the names of all instructors who advise students in the math depart sorted by total credits of the student.


Question: Find the name of instructor who is the advisor of the student who has the highest number of total credits.


Question: What is the name of the instructor who advises the student with the greatest number of total credits?


Question: What is the title and credits of the course that is taught in the largest classroom (with the highest capacity)?


Question: Give the title and credits for the course that is taught in the classroom with the greatest capacity.


Question: Find the name of students who didn't take any course from Biology department.


Question: What are the names of students who haven't taken any Biology courses?


Question: Find the total number of students and total number of instructors for each department.

count(DISTINCT T2.id)
count(DISTINCT T3.id)
dept_name


Question: How many students and instructors are in each department?

count(DISTINCT T2.id)
count(DISTINCT T3.id)
dept_name


Question: Find the name of students who took some course offered by Statistics department.


Question: What are the names of students who have taken Statistics courses?


Question: Show the names of people, and dates and venues of debates they are on the affirmative side.

Luther C. Carter
October 21, 2011
Manama , Bahrain

Thomas J. Barr
August 3, 2015
Manama , Bahrain

William B. Maclay
October 27, 2015
Manama , Bahrain

James Humphrey
January 12, 2017
Dubai , UAE

William B. Maclay
January 21, 2017
Abu Dhabi , UAE


Question: Show the names of people, and dates and venues of debates they are on the negative side, ordered in ascending alphabetical order of name.

Charles Van Wyck
October 21, 2011
Manama , Bahrain

George Briggs
August 3, 2015
Manama , Bahrain

Horace F. Clark
October 27, 2015
Manama , Bahrain

Horace F. Clark
January 12, 2017
Dubai , UAE

John Cochrane
January 21, 2017
Abu Dhabi , UAE


Question: Show the names of people that are on affirmative side of debates with number of audience bigger than 200.


Question: What is the name of the customer who has made the largest amount of claim in a single claim?


Question: Which customer made the largest amount of claim in a single claim? Return the customer details.


Question: What is the name of the customer who has made the minimum amount of payment in one claim?


Question: Which customer made the smallest amount of claim in one claim? Return the customer details.


Question: Show all product names and the number of customers having an order on each product.


Question: What are teh names of the different products, as well as the number of customers who have ordered each product.


Question: Show the church names for the weddings of all people older than 30.


Question: Show all artist names with an average exhibition attendance over 200.


Question: What are the names of artist whose exhibitions draw over 200 attendees on average?


Question: Show the names of players and names of their coaches.


Question: Show the names of players coached by the rank 1 coach.


Question: Show the names and genders of players with a coach starting after 2011.


Question: Show the names of players and names of their coaches in descending order of the votes of players.


Question: Find the checking balance and saving balance in the Brown’s account.


Question: What are the checking and savings balances in accounts belonging to Brown?


Question: Find the names of accounts whose checking balance is above the average checking balance, but savings balance is below the average savings balance.


Question: What are the names of accounts with checking balances greater than the average checking balance and savings balances below the average savings balance?


Question: Find the checking balance of the accounts whose savings balance is higher than the average savings balance.


Question: What are the balances of checking accounts belonging to people with savings balances greater than the average savings balance?


Question: Find the name of account that has the lowest total checking and saving balance.


Question: What is the name corresponding to the accoung with the lowest sum of checking and savings balances?


Question: Find the names and total checking and savings balances of accounts whose savings balance is higher than the average savings balance.


Question: What are the names and sum of checking and savings balances for accounts with savings balances higher than the average savings balance?


Question: Find the name and checking balance of the account with the lowest savings balance.


Question: What are the names and balances of checking accounts belonging to the customer with the lowest savings balance?


Question: Find the saving balance of the account with the highest checking balance.


Question: What is the savings balance of the account belonging to the customer with the highest checking balance?


Question: Find the name and checking balance of the account with the lowest saving balance.


Question: What is the name and checking balance of the account which has the lowest savings balance?


Question: Find the name, checking balance and saving balance of all accounts in the bank.


Question: What are the names, checking balances, and savings balances for all customers?


Question: Find the name, checking balance and savings balance of all accounts in the bank sorted by their total checking and savings balance in descending order.


Question: What are the names, checking balances, and savings balances of customers, ordered by the total of checking and savings balances descending?


Question: Find the name of accounts whose checking balance is higher than corresponding saving balance.


Question: What are the names of customers with a higher checking balance than savings balance?


Question: Find the name and total checking and savings balance of the accounts whose savings balance is lower than corresponding checking balance.


Question: What are the names of customers who have a savings balance lower than their checking balance, and what is the total of their checking and savings balances?


Question: What is the name of the browser that became compatible with the accelerator 'CProxy' after year 1998 ?


Question: When did the web accelerator 'CACHEbox' and browser 'Internet Explorer' become compatible?


Question: What distinct accelerator names are compatible with the browswers that have market share higher than 15?


Question: List the names of the browser that are compatible with both 'CACHEbox' and 'Fasterfox'.


Question: Show the accelerator names and supporting operating systems that are not compatible with the browser named 'Opera'.

Fasterfox
Windows, Mac, Linux and Mobile devices

Google Web Accelerator (discontinued)
Windows

Opera Turbo
Android, Linux, Mac and Windows devices

Unix (Linux, *BSD, Mac OS X, others), Windows

Proxyconn Web Accelerator
Windows, Mac, Mobile devices

RabbIT
Any system with Java 1.6 VM available

Unix (Linux, *BSD, Mac OS X, others), Windows

Windows, Linux, Mac OS, Symbian, WindowsMobile

Ziproxy
Unix (Linux, *BSD, Mac OS X, others)


Question: give me names of all compatible browsers and accelerators in the descending order of compatible year


Question: Show the names of schools with a total budget amount greater than 100 or a total endowment greater than 10.


Question: How many proteins are associated with an institution in a building with at least 20 floors?


Question: Show cinema name, film title, date, and price for each record in schedule.

Codling
The Case of the Mystery Weekend
21 May

Codling
The Case of the Smart Dummy
21 May

Carrowleagh
The Case of the Mystery Weekend
11 July

Gortahile
The Case of the Piggy Banker
2 Aug

Mount Callan
The Case of the Bermuda Triangle
20 May

Oriel
The Case of the Mystery Weekend
19 May


Question: What are the start date and end date of the booking that has booked the product named 'Book collection A'?


Question: Show the names of phones and the districts of markets they are on.


Question: Show the names of phones and the districts of markets they are on, in ascending order of the ranking of the market.


Question: Show the names of phones that are on market with number of shops greater than 50.


Question: Show the manager name for gas stations belonging to the ExxonMobil company.


Question: What are the names of the managers for gas stations that are operated by the ExxonMobil company?


Question: Show all locations where a gas station for company with market value greater than 100 is located.


Question: What are the locations that have gas stations owned by a company with a market value greater than 100?


Question: find the location and Representative name of the gas stations owned by the companies with top 3 Asset amounts.


Question: What are the locations and representatives' names of the gas stations owned by the companies with the 3 largest amounts of assets?


Question: How many Annual Meeting events happened in the United Kingdom region?


Question: Count the number of Annual Meeting events that took place in the region of the United Kingdom.


Question: Show the names of pilots and models of aircrafts they have flied with.


Question: Show the names of pilots and fleet series of the aircrafts they have flied with in ascending order of the rank of the pilot.


Question: Show the fleet series of the aircrafts flied by pilots younger than 34


Question: Which service id and type has the least number of participants?

Services Participants Events Participants_in_Events


Question: Which events id does not have any participant with detail 'Kenyatta Kuhn'?


Question: Give me a list of names and years of races that had any driver whose forename is Lewis?


Question: What are the names and years of all races that had a driver with the last name Lewis?


Question: Find the id and forenames of drivers who participated both the races with name Australian Grand Prix and the races with name Chinese Grand Prix?


Question: What is the id and first name of all the drivers who participated in the Australian Grand Prix and the Chinese Grand Prix?


Question: What are the forenames and surnames of drivers who participated in the races named Australian Grand Prix but not the races named Chinese Grand Prix?


Question: What are the first and last names of all drivers who participated in the Australian Grand Prix but not the Chinese Grand Prix?


Question: What is the id and last name of the driver who participated in the most races after 2010?


Question: What is the id and last name of the driver who participated in the most races after 2010?


Question: Find the id, forename and number of races of all drivers who have at least participated in two races?

Tomï¿½ï¿½ï¿½ï¿½


Question: What is the id, forename, and number of races for all drivers that have participated in at least 2 races?

Tomï¿½ï¿½ï¿½ï¿½


Question: Find the driver id and number of races of all drivers who have at most participated in 30 races?


Question: For each id of a driver who participated in at most 30 races, how many races did they participate in?


Question: Find the id and surname of the driver who participated the most number of races?


Question: What are the ids and last names of all drivers who participated in the most races?


Question: Show names of technicians and series of machines they are assigned to repair.


Question: What are the names of technicians and the machine series that they repair?


Question: Show names of technicians in ascending order of quality rank of the machine they are assigned.


Question: What are the names of the technicians by ascending order of quality rank for the machine they are assigned?


Question: Show names of technicians who are assigned to repair machines with value point more than 70.


Question: What are the names of the technicians that are assigned to repair machines with more point values than 70?


Question: How many faculty lines are there in the university that conferred the most number of degrees in year 2002?


Question: How many faculty members did the university that conferred the most degrees in 2002 have?


Question: Return reviewer name, movie title, stars, and ratingDate. And sort the data first by reviewer name, then by movie title, and lastly by number of stars.

Brittany Harris
Raiders of the Lost Ark
2011-01-30

Brittany Harris
Raiders of the Lost Ark
2011-01-12

Brittany Harris
The Sound of Music
2011-01-20

Chris Jackson
The Sound of Music
2011-01-27

Mike Anderson
Gone with the Wind
2011-01-09

Sarah Martinez
Gone with the Wind
2011-01-22

Sarah Martinez
Gone with the Wind
2011-01-27


Question: What is the reviewer name, film title, movie rating, and rating date  for every movie ordered by reviewer name, movie title, then finally rating?

Brittany Harris
Raiders of the Lost Ark
2011-01-30

Brittany Harris
Raiders of the Lost Ark
2011-01-12

Brittany Harris
The Sound of Music
2011-01-20

Chris Jackson
The Sound of Music
2011-01-27

Mike Anderson
Gone with the Wind
2011-01-09

Sarah Martinez
Gone with the Wind
2011-01-22

Sarah Martinez
Gone with the Wind
2011-01-27


Question: Find the names of all reviewers who rated Gone with the Wind.


Question: What are the names of all the different reviewers who rates Gone with the Wind?


Question: Find the names of all directors whose movies are rated by Sarah Martinez.


Question: What are the names of all directors whose movies have been reviewed by Sarah Martinez?


Question: For any rating where the name of reviewer is the same as the director of the movie, return the reviewer name, movie title, and number of stars.


Question: What are the different reviewer names, movie titles, and stars for every rating where the reviewer had the same name as the director?


Question: Find the titles of all movies not reviewed by Chris Jackson.


Question: What are the titles of all movies that were not reviewed by Chris Jackson?


Question: What are names of the movies that are either made after 2000 or reviewed by Brittany Harris?


Question: What are the names of all movies that were made after 2000 or reviewed by Brittany Harris?


Question: What are the renting arrears tax ids related to the customer master index whose detail is not 'Schmidt, Kertzmann and Lubowitz'?


Question: Show the themes of parties and the names of the party hosts.


Question: For each party, return its theme and the name of its host.


Question: Show the locations of parties and the names of the party hosts in ascending order of the age of the host.

Heineken Music Hall Amsterdam
Kornel David

Heineken Music Hall Amsterdam
Lloyd Daniels

Heineken Music Hall Amsterdam
Derrick Dial


Question: For each party, find its location and the name of its host. Sort the result in ascending order of the age of the host.

Heineken Music Hall Amsterdam
Kornel David

Heineken Music Hall Amsterdam
Lloyd Daniels

Heineken Music Hall Amsterdam
Derrick Dial


Question: Show the locations of parties with hosts older than 50.


Question: Which parties have hosts of age above 50? Give me the party locations.


Question: Show the host names for parties with number of hosts greater than 20.


Question: Which parties have more than 20 hosts? Give me the host names for these parties.


Question: What are the region names affected by the storm with a number of deaths of least 10?


Question: Return the names of the regions affected by storms that had a death count of at least 10.


Question: Show all storm names affecting region "Denmark".


Question: What are the names of the storms that affected Denmark?


Question: Find the names of the regions which were affected by the storm that killed the greatest number of people.


Question: What are the names of regions that were affected by the storm in which the most people died?


Question: Find the name of the storm that affected both Afghanistan and Albania regions.


Question: What are the names of the storms that affected both the regions of Afghanistan and Albania?


Question: Show the names of journalists and the dates of the events they reported.


Question: Show the names of journalists and the names of the events they reported in ascending order


Question: Show the names of journalists and the number of events they reported.


Question: Show the names of journalists that have reported more than one event.


Question: How many restaurant is the Sandwich type restaurant?


Question: How many times has the student Linda Smith visited Subway?


Question: When did Linda Smith visit Subway?


Question: Find the names of customers who are not living in the state of California.


Question: Find the names and phone numbers of customers living in California state.


Question: What are the titles of papers published by "Jeremy Gibbons"?

Just do it: Simple Monadic Equational Reasoning


Question: Find the titles of all the papers written by "Jeremy Gibbons"

Just do it: Simple Monadic Equational Reasoning


Question: Find all the papers published by "Aaron Turon".

Functional Pearl: Modular Rollback through Control Logging


Question: Find the titles of all the papers written by "Aaron Turon".

Functional Pearl: Modular Rollback through Control Logging


Question: How many papers have "Atsushi Ohori" published?


Question: How many papers are "Atsushi Ohori" the author of?


Question: What is the name of the institution that "Matthias Blume" belongs to?


Question: Which institution is the author "Matthias Blume" belong to? Give me the name of the institution.


Question: Which institution does "Katsuhiro Ueno" belong to?


Question: What is the name of the institution the author "Katsuhiro Ueno" belongs to?


Question: Who belong to the institution "University of Oxford"? Show the first names and last names.


Question: Find the first names and last names of the authors whose institution affiliation is "University of Oxford".


Question: Which authors belong to the institution "Google"? Show the first names and last names.


Question: Find the first names and last names of the authors whose institution affiliation is "Google".


Question: What are the last names of the author of the paper titled "Binders Unbound"?


Question: Who is the author of the paper titled "Binders Unbound"? Give me the last name.


Question: What are the papers published under the institution "Indiana University"?

An Equivalence-Preserving CPS Translation via Multi-Language Semantics


Question: List the titles of the papers whose authors are from the institution "Indiana University".

An Equivalence-Preserving CPS Translation via Multi-Language Semantics


Question: Find all the papers published by the institution "Google".

An Equivalence-Preserving CPS Translation via Multi-Language Semantics


Question: Which papers were written by authors from the institution "Google"?

An Equivalence-Preserving CPS Translation via Multi-Language Semantics


Question: How many papers are published by the institution "Tokohu University"?


Question: Find the number of papers published by authors from the institution "Tokohu University".


Question: Find the number of papers published by the institution "University of Pennsylvania".


Question: How many papers are written by authors from the institution "University of Pennsylvania"?


Question: Find the papers which have "Olin Shivers" as an author.

Functional Pearl: Modular Rollback through Control Logging


Question: Which papers did the author "Olin Shivers" write? Give me the paper titles.

Functional Pearl: Modular Rollback through Control Logging


Question: Which papers have "Stephanie Weirich" as an author?


Question: Find the titles of the papers the author "Stephanie Weirich" wrote.


Question: Which paper is published in an institution in "USA" and have "Turon" as its second author?

Functional Pearl: Modular Rollback through Control Logging


Question: Find papers whose second author has last name "Turon" and is affiliated with an institution in the country "USA".

Functional Pearl: Modular Rollback through Control Logging


Question: Find the titles of papers whose first author is affiliated with an institution in the country "Japan" and has last name "Ohori"?

Making Standard ML a Practical Database Programming Language


Question: Which papers' first author is affiliated with an institution in the country "Japan" and has last name "Ohori"? Give me the titles of the papers.

Making Standard ML a Practical Database Programming Language


Question: What is the last name of the author that has published the most papers?


Question: Which author has written the most papers? Find his or her last name.


Question: Retrieve the country that has published the most papers.


Question: Find the country that the most papers are affiliated with.


Question: Find the name of the organization that has published the largest number of papers.


Question: Which institution has the most papers? Find the name of the institution.


Question: Find the first names of all the authors who have written a paper with title containing the word "Functional".


Question: Who has written a paper that has the word "Functional" in its title? Return the first names of the authors.


Question: Find the last names of all the authors that have written a paper with title containing the word "Monadic".


Question: Which authors have written a paper with title containing the word "Monadic"? Return their last names.


Question: What is the genre name of the film HUNGER ROOF?


Question: Return the name of the category to which the film 'HUNGER ROOF' belongs.


Question: What is the film title and inventory id of the item in the inventory which was rented most frequently?


Question: Return the title and inventory id of the film that is rented most often.


Question: Find the name of bank branch that provided the greatest total amount of loans to customers with credit score is less than 100.


Question: What is the name of the bank branch that has lended the largest total amount in loans, specifically to customers with credit scores below 100?


Question: Find the names of bank branches that have provided a loan to any customer whose credit score is below 100.


Question: What are the names of banks that have loaned money to customers with credit scores below 100?


Question: What are the line 1 of addresses shared by some students and some teachers?


Question: Which assets have 2 parts and have less than 2 fault logs? List the asset id and detail.


Question: Which third party companies have at least 2 maintenance engineers or have at least 2 maintenance contracts? List the company id and name.


Question: What is the name and id of the staff who recorded the fault log but has not contacted any visiting engineers?


Question: List all every engineer's first name, last name, details and coresponding skill description.


Question: For all the faults of different parts, what are all the decriptions of the skills required to fix them? List the name of the faults and the skill description.


Question: Which part fault requires the most number of skills to fix? List part id and name.


Question: Which staff have contacted which engineers? List the staff name and the engineer first name and last name.


Question: Find names and times of trains that run through stations for the local authority Chiltern.


Question: What is the first and last name of the professor in biology department?


Question: What are the first and last name of all biology professors?


Question: Find the number of classes in each school.


Question: How many classes exist for each school?


Question: Find the name of the department that offers the largest number of credits of all classes.


Question: Which department offers the most credits all together?


Question: What is the first name of each student enrolled in class ACCT-211?


Question: What are the first names of all students in course ACCT-211?


Question: What is the first name of students enrolled in class ACCT-211 and got grade C?


Question: What are the first names of all students who took ACCT-211 and received a C?


Question: How many students are enrolled in the class taught by some professor from the accounting department?


Question: How many students are enrolled in some classes that are taught by an accounting professor?


Question: What is the name of the department that has the largest number of students enrolled?


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


Question: What is the first names of the professors from the history department who do not teach a class.


Question: What are the first names of all history professors who do not teach?


Question: What is the last name and office of the professor from the history department?


Question: What are the last name and office of all history professors?


Question: What is department name and office for the professor whose last name is Heffington?


Question: What is the name of the department and office location for the professor with the last name of Heffington?


Question: What is the code of the course which the student whose last name is Smithson took?


Question: What are the course codes for every class that the student with the last name Smithson took?


Question: What are the description and credit of the course which the student whose last name is Smithson took?


Question: How many credits is the course that the student with the last name Smithson took, and what is its description?


Question: Find the first name of student who is taking classes from accounting and Computer Info. Systems departments


Question: What are the first names of all students taking accoutning and Computer Information Systems classes?


Question: What is the average gpa of the students enrolled in the course with code ACCT-211?


Question: What is the average GPA of students taking ACCT-211?


Question: Find the first name and office of the professor who is in the history department and has a Ph.D. degree.


Question: What are the first names and office of the professors who are in the history department and have a Ph.D?


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

Peter
Database Design and Implementation


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

Peter
Database Design and Implementation


Question: Find the first names and offices of all instructors who have taught some course and also find the course description.

Peter
KLR 203E
Database Design and Implementation


Question: What are the first names, office locations of all lecturers who have taught some course?

Peter
KLR 203E
Database Design and Implementation


Question: Find the first names and offices of all instructors who have taught some course and the course description and the department name.

Arnelle
KLR 229D
Accounting I
Accounting

Arnelle
KLR 229D
Accounting I
Accounting

Carlos
KLR 300
Intro. to Microcomputing
Computer Info. Systems

Gerald
KLR 211
Intro. to Microcomputing
Accounting

Carlos
KLR 300
Intro. to Microcomputing
Computer Info. Systems

Peter
KLR 203E
Database Design and Implementation
Computer Info. Systems

Gerald
KLR 211
Intro. to Statistics
Accounting

Gerald
KLR 211
Intro. to Statistics
Accounting

Peter
KLR 203E
Statistical Applications
Computer Info. Systems

Peter
KLR 203E
Statistical Applications
Computer Info. Systems

CLASS COURSE DEPARTMENT EMPLOYEE PROFESSOR


Question: What are the first names, office locations, and departments of all instructors, and also what are the descriptions of the courses they teach?

Arnelle
KLR 229D
Accounting I
Accounting

Arnelle
KLR 229D
Accounting I
Accounting

Carlos
KLR 300
Intro. to Microcomputing
Computer Info. Systems

Gerald
KLR 211
Intro. to Microcomputing
Accounting

Carlos
KLR 300
Intro. to Microcomputing
Computer Info. Systems

Peter
KLR 203E
Database Design and Implementation
Computer Info. Systems

Gerald
KLR 211
Intro. to Statistics
Accounting

Gerald
KLR 211
Intro. to Statistics
Accounting

Peter
KLR 203E
Statistical Applications
Computer Info. Systems

Peter
KLR 203E
Statistical Applications
Computer Info. Systems

CLASS COURSE DEPARTMENT EMPLOYEE PROFESSOR


Question: Find names of all students who took some course and the course description.


Question: What are the names of all students who took a class and the corresponding course descriptions?


Question: Find the first names of all professors in the Accounting department who is teaching some course and the class room.


Question: What are the first names of all Accounting professors who teach and what are the classrooms of the courses they teach?


Question: Find the first names and degree of all professors who are teaching some class in Computer Info. Systems department.


Question: What are the different first names and highest degree attained for professors teaching in the Computer Information Systems department?


Question: Find the first name and office of history professor who did not get a Ph.D. degree.


Question: What are the first names and offices of history professors who don't have Ph.D.s?


Question: What is the first name of the student whose last name starting with the letter S and is taking ACCT-211 class?


Question: What is the first name of the student whose last name starts with the letter S and is taking ACCT-211?


Question: Find the name of the company that produces both furnitures with less than 6 components and furnitures with more than 10 components.


Question: Find employee with ID and name of the country presently where (s)he is working.

countries departments employees locations


Question: What are all the employee ids and the names of the countries in which they work?

countries departments employees locations


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

Steven King Executive Seattle Washington

Neena Kochhar Executive Seattle Washington

Lex
De Haan
Executive
Seattle
Washington

Nancy Greenberg Finance Seattle Washington

Daniel Faviet Finance Seattle Washington

Ismael Sciarra Finance Seattle Washington

Jose Manuel
Urman
Finance
Seattle
Washington

Den Raphaely Purchasing Seattle Washington

Alexander Khoo Purchasing Seattle Washington

Shelli Baida Purchasing Seattle Washington

Sigal Tobias Purchasing Seattle Washington

Guy Himuro Purchasing Seattle Washington

Karen Colmenares Purchasing Seattle Washington

Matthew
Weiss
Shipping
South San Francisco
California

Adam
Fripp
Shipping
South San Francisco
California

Payam
Kaufling
Shipping
South San Francisco
California

Shanta
Vollman
Shipping
South San Francisco
California

Kevin
Mourgos
Shipping
South San Francisco
California

Julia
Nayer
Shipping
South San Francisco
California

Irene
Mikkilineni
Shipping
South San Francisco
California

James
Landry
Shipping
South San Francisco
California

Steven
Markle
Shipping
South San Francisco
California

Laura
Bissot
Shipping
South San Francisco
California

Mozhe
Atkinson
Shipping
South San Francisco
California

James
Marlow
Shipping
South San Francisco
California

TJ
Olson
Shipping
South San Francisco
California

Jason
Mallin
Shipping
South San Francisco
California

Michael
Rogers
Shipping
South San Francisco
California

Ki
Gee
Shipping
South San Francisco
California

Hazel
Philtanker
Shipping
South San Francisco
California

Renske
Ladwig
Shipping
South San Francisco
California

Stephen
Stiles
Shipping
South San Francisco
California

John
Seo
Shipping
South San Francisco
California

Joshua
Patel
Shipping
South San Francisco
California

Trenna
Rajs
Shipping
South San Francisco
California

Curtis
Davies
Shipping
South San Francisco
California

Randall
Matos
Shipping
South San Francisco
California

Peter
Vargas
Shipping
South San Francisco
California

Winston
Taylor
Shipping
South San Francisco
California

Jean
Fleaur
Shipping
South San Francisco
California

Martha
Sullivan
Shipping
South San Francisco
California

Girard
Geoni
Shipping
South San Francisco
California

Nandita
Sarchand
Shipping
South San Francisco
California

Alexis
Bull
Shipping
South San Francisco
California

Julia
Dellinger
Shipping
South San Francisco
California

Anthony
Cabrio
Shipping
South San Francisco
California

Kelly
Chung
Shipping
South San Francisco
California

Jennifer
Dilly
Shipping
South San Francisco
California

Timothy
Gates
Shipping
South San Francisco
California

Randall
Perkins
Shipping
South San Francisco
California

Sarah
Bell
Shipping
South San Francisco
California

Britney
Everett
Shipping
South San Francisco
California

Samuel
McCain
Shipping
South San Francisco
California

Vance
Jones
Shipping
South San Francisco
California

Alana
Walsh
Shipping
South San Francisco
California

Kevin
Feeney
Shipping
South San Francisco
California

Donald
OConnell
Shipping
South San Francisco
California

Douglas
Grant
Shipping
South San Francisco
California

Jennifer Whalen Administration Seattle Washington

Michael Hartstein Marketing Toronto Ontario

Hermann
Baer
Public Relations
Munich
Bavaria

Shelley Higgins Accounting Seattle Washington

William Gietz Accounting Seattle Washington


Question: What are the full names, departments, cities, and state provinces for each employee?

Steven King Executive Seattle Washington

Neena Kochhar Executive Seattle Washington

Lex
De Haan
Executive
Seattle
Washington

Nancy Greenberg Finance Seattle Washington

Daniel Faviet Finance Seattle Washington

Ismael Sciarra Finance Seattle Washington

Jose Manuel
Urman
Finance
Seattle
Washington

Den Raphaely Purchasing Seattle Washington

Alexander Khoo Purchasing Seattle Washington

Shelli Baida Purchasing Seattle Washington

Sigal Tobias Purchasing Seattle Washington

Guy Himuro Purchasing Seattle Washington

Karen Colmenares Purchasing Seattle Washington

Matthew
Weiss
Shipping
South San Francisco
California

Adam
Fripp
Shipping
South San Francisco
California

Payam
Kaufling
Shipping
South San Francisco
California

Shanta
Vollman
Shipping
South San Francisco
California

Kevin
Mourgos
Shipping
South San Francisco
California

Julia
Nayer
Shipping
South San Francisco
California

Irene
Mikkilineni
Shipping
South San Francisco
California

James
Landry
Shipping
South San Francisco
California

Steven
Markle
Shipping
South San Francisco
California

Laura
Bissot
Shipping
South San Francisco
California

Mozhe
Atkinson
Shipping
South San Francisco
California

James
Marlow
Shipping
South San Francisco
California

TJ
Olson
Shipping
South San Francisco
California

Jason
Mallin
Shipping
South San Francisco
California

Michael
Rogers
Shipping
South San Francisco
California

Ki
Gee
Shipping
South San Francisco
California

Hazel
Philtanker
Shipping
South San Francisco
California

Renske
Ladwig
Shipping
South San Francisco
California

Stephen
Stiles
Shipping
South San Francisco
California

John
Seo
Shipping
South San Francisco
California

Joshua
Patel
Shipping
South San Francisco
California

Trenna
Rajs
Shipping
South San Francisco
California

Curtis
Davies
Shipping
South San Francisco
California

Randall
Matos
Shipping
South San Francisco
California

Peter
Vargas
Shipping
South San Francisco
California

Winston
Taylor
Shipping
South San Francisco
California

Jean
Fleaur
Shipping
South San Francisco
California

Martha
Sullivan
Shipping
South San Francisco
California

Girard
Geoni
Shipping
South San Francisco
California

Nandita
Sarchand
Shipping
South San Francisco
California

Alexis
Bull
Shipping
South San Francisco
California

Julia
Dellinger
Shipping
South San Francisco
California

Anthony
Cabrio
Shipping
South San Francisco
California

Kelly
Chung
Shipping
South San Francisco
California

Jennifer
Dilly
Shipping
South San Francisco
California

Timothy
Gates
Shipping
South San Francisco
California

Randall
Perkins
Shipping
South San Francisco
California

Sarah
Bell
Shipping
South San Francisco
California

Britney
Everett
Shipping
South San Francisco
California

Samuel
McCain
Shipping
South San Francisco
California

Vance
Jones
Shipping
South San Francisco
California

Alana
Walsh
Shipping
South San Francisco
California

Kevin
Feeney
Shipping
South San Francisco
California

Donald
OConnell
Shipping
South San Francisco
California

Douglas
Grant
Shipping
South San Francisco
California

Jennifer Whalen Administration Seattle Washington

Michael Hartstein Marketing Toronto Ontario

Hermann
Baer
Public Relations
Munich
Bavaria

Shelley Higgins Accounting Seattle Washington

William Gietz Accounting Seattle Washington


Question: display those employees who contain a letter z to their first name and also display their last name, city.


Question: What are the full names and cities of employees who have the letter Z in their first names?


Question: display the full name (first and last name ) of employee with ID and name of the country presently where (s)he is working.

Alexander
Hunold
United States of America

Valli
Pataballa
United States of America

Nancy
Greenberg
United States of America

Jose Manuel
Urman
United States of America

Karen
Colmenares
United States of America

Irene
Mikkilineni
United States of America

Hazel
Philtanker
United States of America

Martha
Sullivan
United States of America

Nandita
Sarchand
United States of America

Julia
Dellinger
United States of America

Randall
Perkins
United States of America

Britney
Everett
United States of America

Donald
OConnell
United States of America

Jennifer
Whalen
United States of America

Shelley
Higgins
United States of America

countries departments employees locations


Question: What the full names, ids of each employee and the name of the country they are in?

Alexander
Hunold
United States of America

Valli
Pataballa
United States of America

Nancy
Greenberg
United States of America

Jose Manuel
Urman
United States of America

Karen
Colmenares
United States of America

Irene
Mikkilineni
United States of America

Hazel
Philtanker
United States of America

Martha
Sullivan
United States of America

Nandita
Sarchand
United States of America

Julia
Dellinger
United States of America

Randall
Perkins
United States of America

Britney
Everett
United States of America

Donald
OConnell
United States of America

Jennifer
Whalen
United States of America

Shelley
Higgins
United States of America

countries departments employees locations


Question: display the full name (first and last name), and salary of those employees who working in any department located in London.


Question: What are full names and salaries of employees working in the city of London?


Question: What is the average height of the players from the college named 'Yale University'?


Question: Find the average height of the players who belong to the college called 'Yale University'.


Question: List players' first name and last name who received salary from team Washington Nationals in both 2005 and 2007.


Question: What are the first name and last name of the players who were paid salary by team Washington Nationals in both 2005 and 2007?


Question: List the brands of lenses that took both a picture of mountains with range 'Toubkal Atlas' and a picture of mountains with range 'Lasta Massif'


Question: Show the name and prominence of the mountains whose picture is not taken by a lens of brand 'Sigma'.


Question: Which customer had at least 2 policies but did not file any claims? List the customer details and id.


Question: Give me the the customer details and id for the customers who had two or more policies but did not file any claims.


Question: Find the names of all physicians and their primary affiliated departments' names.


Question: What are the name and primarily affiliated department name of each physician?


Question: How many patients' prescriptions are made by physician John Dorian?


Question: Find the number of patients' prescriptions physician John Dorian made.


Question: Find the name of medication used on the patient who stays in room 111?


Question: What is the name of the medication used for the patient staying in room 111?


Question: Find the patient who most recently stayed in room 111.


Question: What is the id of the patient who stayed in room 111 most recently?


Question: What is the names of the physicians who prescribe medication Thesisin?


Question: List the names of all the physicians who prescribe Thesisin as medication.


Question: Find the name and position of physicians who prescribe some medication whose brand is X?


Question: Which physicians prescribe a medication of brand X? Tell me the name and position of those physicians.


Question: Find the names of all patients who have an undergoing treatment and are staying in room 111.


Question: What are the names of patients who are staying in room 111 and have an undergoing treatment?


Question: List the physicians' employee ids together with their primary affiliation departments' ids.


Question: What are each physician's employee id and department id primarily affiliated.


Question: Find the physicians who are trained in a procedure that costs more than 5000.


Question: Which physicians are trained in procedures that are more expensive than 5000?


Question: Find the physician who was trained in the most expensive procedure?


Question: Which physician was trained in the procedure that costs the most.


Question: What is the average cost of procedures that physician John Wen was trained in?


Question: Compute the mean price of procedures physician John Wen was trained in.


Question: Find the names of procedures which physician John Wen was trained in.


Question: What are the names of procedures physician John Wen was trained in?


Question: Find all procedures which cost more than 1000 or which physician John Wen was trained in.


Question: What are the procedures that cost more than 1000 or are specialized in by physician John Wen?


Question: Find the names of all procedures such that the cost is less than 5000 and physician John Wen was trained in.


Question: What procedures cost less than 5000 and have John Wen as a trained physician?


Question: Find the name of physicians who are affiliated with Surgery or Psychiatry department.


Question: Which physicians are affiliated with either Surgery or Psychiatry department? Give me their names.


Question: Find the names of patients who are not using the medication of Procrastin-X.


Question: What are the names of patients who are not taking the medication of Procrastin-X.


Question: Find the number of patients who are not using the medication of Procrastin-X.


Question: How many patients are not using Procrastin-X as medication?


Question: Show the names of companies and of employees.


Question: Show names of companies and that of employees in descending order of number of years working for that employee.


Question: Show the names of employees that work for companies with sales bigger than 200.


Question: Show the names of companies and the number of employees they have


Question: What are the titles and directors of the films were never presented in China?

An Officer and a Gentleman
Taylor Hackford

Star Trek II: The Wrath of Khan
Nicholas Meyer

The Best Little Whorehouse in Texas
Colin Higgins


Question: Return the titles and directors of films that were never in the market of China.

An Officer and a Gentleman
Taylor Hackford

Star Trek II: The Wrath of Khan
Nicholas Meyer

The Best Little Whorehouse in Texas
Colin Higgins


Question: Show the location name for document "Robin CV".


Question: What is the location name of the document "Robin CV"?


Question: Find the last names of the members of the club "Bootup Baltimore".


Question: Who are the members of the club named "Bootup Baltimore"? Give me their last names.


Question: Who are the members of the club named "Hopkins Student Enterprises"? Show the last name.


Question: Return the last name for the members of the club named "Hopkins Student Enterprises".


Question: How many members does the club "Tennis Club" has?


Question: Count the members of the club "Tennis Club".


Question: Find the number of members of club "Pen and Paper Gaming".


Question: How many people have membership in the club "Pen and Paper Gaming"?


Question: How many clubs does "Linda Smith" belong to?


Question: How many clubs does "Linda Smith" have membership for?


Question: Find the number of clubs where "Tracy Kim" is a member.


Question: For how many clubs is "Tracy Kim" a member?


Question: Find all the female members of club "Bootup Baltimore". Show the first name and last name.


Question: Give me the first name and last name for all the female members of the club "Bootup Baltimore".


Question: Find all members of "Bootup Baltimore" whose major is "600". Show the first name and last name.


Question: Which members of "Bootup Baltimore" major in "600"? Give me their first names and last names.


Question: Which club has the most members majoring in "600"?


Question: Find the club which has the largest number of members majoring in "600".


Question: Find the name of the club that has the most female students.


Question: Which club has the most female students as their members? Give me the name of the club.


Question: What are the first and last name of the president of the club "Bootup Baltimore"?


Question: Who is the president of the club "Bootup Baltimore"? Give me the first and last name.


Question: Who is the "CTO" of club "Hopkins Student Enterprises"? Show the first name and last name.


Question: Find the first name and last name for the "CTO" of the club "Hopkins Student Enterprises"?


Question: How many members of "Bootup Baltimore" are older than 18?


Question: Count the number of members in club "Bootup Baltimore" whose age is above 18.


Question: How many members of club "Bootup Baltimore" are younger than 18?


Question: Count the number of members in club "Bootup Baltimore" whose age is below 18.


Question: Find the names of all the clubs that have at least a member from the city with city code "BAL".


Question: Which clubs have one or more members from the city with code "BAL"? Give me the names of the clubs.


Question: Find the names of the clubs that have at least a member from the city with city code "HOU".


Question: Which clubs have one or more members from the city with code "HOU"? Give me the names of the clubs.


Question: How many clubs does the student named "Eric Tai" belong to?


Question: Count the number of clubs for which the student named "Eric Tai" is a member.


Question: List the clubs that have at least a member with advisor "1121".


Question: Which clubs have one or more members whose advisor is "1121"?


Question: What is the average age of the members of the club "Bootup Baltimore"?


Question: Find the average age of the members in the club "Bootup Baltimore".


Question: Find the average age of members of the club "Hopkins Student Enterprises".


Question: On average, how old are the members in the club "Hopkins Student Enterprises"?


Question: Retrieve the average age of members of the club "Tennis Club".


Question: Compute the average age of the members in the club "Tennis Club".


Question: What is the total grant amount of the organisations described as research?


Question: What is the total amount of grant money for research?


Question: Find out the send dates of the documents with the grant amount of more than 5000 were granted by organisation type described

Documents Grants Organisation_Types Organisations


Question: What are the send dates for all documents that have a grant amount of more than 5000 and are involved in research?

Documents Grants Organisation_Types Organisations


Question: What are the response received dates for the documents described as 'Regular' or granted with more than 100?


Question: What is the response received date for the document described as Regular that was granted more than 100 dollars?


Question: What are the task details, task id and project id for the projects which are detailed as 'omnis' or  have more than 2 outcomes?


Question: What are the task details, task ids, and project ids for the progrects that are detailed as 'omnis' or have at least 3 outcomes?


Question: List the project details of the projects with the research outcome described with the substring 'Published'.


Question: What are the details for the project whose research has been published?


Question: Show the role description and the id of the project staff involved in most number of project outcomes?


Question: For each staff id, what is the description of the role that is involved with the most number of projects?


Question: For grants with both documents described as 'Regular' and documents described as 'Initial Application', list its start date.


Question: For grants that have descriptions of Regular and Initial Applications, what are their start dates?


Question: What are the result description of the project whose detail is 'sint'?


Question: What is the description for the results whose project detail is 'sint'?


Question: Find the average access counts of documents with functional area "Acknowledgement".


Question: What are the average access counts of documents that have the functional area description "Acknowledgement"?


Question: Find names of the document without any images.


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


Question: List the name of a building along with the name of a company whose office is in the building.

General Electric
Corporativo BBVA Bancomer

Industrial and Commercial Bank of China
Corporativo BBVA Bancomer

Citigroup
Residencial Vidalta Torre Altaire 2

Petrobras
Residencial Vidalta Torre Altaire 3


Question: For each company, return the company name and the name of the building its office is located in.

General Electric
Corporativo BBVA Bancomer

Industrial and Commercial Bank of China
Corporativo BBVA Bancomer

Citigroup
Residencial Vidalta Torre Altaire 2

Petrobras
Residencial Vidalta Torre Altaire 3


Question: Show the names of the buildings that have more than one company offices.


Question: Which buildings have more than one company offices? Give me the building names.


Question: Show the name of the building that has the most company offices.


Question: Which building has the largest number of company offices? Give me the building name.


Question: For each nomination, show the name of the artwork and name of the festival where it is nominated.


Question: Show distinct types of artworks that are nominated in festivals in 2007.


Question: Show the names of artworks in ascending order of the year they are nominated in.


Question: Show the names of festivals that have nominated artworks of type "Program Talent Show".


Question: Show the ids and names of festivals that have at least two nominations for artworks.


Question: Show the id, name of each festival and the number of artworks it has nominated.


Question: Find the student first and last names and grade points of all enrollments.


Question: What are the full names and gradepoints for all enrollments?


Question: Find the distinct student first names of all students that have grade point at least 3.8 in one course.


Question: What are the distinct first names for students with a grade point of 3.8 or above in at least one course?


Question: Find the last names of faculties who are members of computer science department.


Question: What are the last names of faculty who are part of the computer science department?


Question: Find the average grade point of student whose last name is Smith.


Question: What is the average gradepoint for students with the last name Smith?


Question: What is the maximum and minimum grade point of students who live in NYC?


Question: Give the maximum and minimum gradepoints for students living in NYC?


Question: List the name and phone number of all suppliers in the alphabetical order of their addresses.


Question: What are the names and phone numbers for all suppliers, sorted in alphabetical order of their addressed?


Question: List the names of all the distinct customers who bought a keyboard.


Question: What are the distinct names of customers who have purchased a keyboard?


Question: List the names and phone numbers of all the distinct suppliers who supply red jeans.


Question: What are the distinct names and phone numbers for suppliers who have red jeans?


Question: Find the names of products that were bought by at least two distinct customers.


Question: What are the distinct names of products purchased by at least two different customers?


Question: Find the names of customers who have bought by at least three distinct products.


Question: What are the distinct names of customers who have purchased at least three different products?


Question: Please show the names of aircrafts associated with airport with name "London Gatwick".


Question: What are the names of all the aircrafts associated with London Gatwick airport?


Question: Please show the names and descriptions of aircrafts associated with airports that have a total number of passengers bigger than 10000000.

Bell 206B3 JetRanger
Turboshaft utility helicopter


Question: What are the names and descriptions of aircrafts associated with an airport that has more total passengers than 10000000?

Bell 206B3 JetRanger
Turboshaft utility helicopter


Question: What is the average total number of passengers of airports that are associated with aircraft "Robinson R-22"?


Question: What is the average total number of passengers for all airports that the aircraft "Robinson R-22" visits?


Question: Find the names of all stores in Khanewal District.


Question: What are the names of all the stores located in Khanewal District?


Question: Which city is the headquarter of the store named "Blackville" in?


Question: What city is the headquarter of the store Blackville?


Question: Find the number of stores in each city.


Question: How many stores are headquarted in each city?


Question: Find the city with the most number of stores.


Question: What is the city with the most number of flagship stores?


Question: What products are available at store named "Miramichi"?


Question: What products are sold at the store named Miramichi?


Question: Find the names of districts where have both city mall and village store type stores.


Question: What are the names of the districts that have both mall and village store style shops?


Question: Find the state of the college which player Charles is attending.


Question: In which state is the college that Charles attends?


Question: Find the name of the tryout players who are from the college with largest size.


Question: What are the names of all tryout participants who are from the largest college?


Question: Show names of shops and the carriers of devices they have in stock.


Question: What are the names of device shops, and what are the carriers that they carry devices in stock for?


Question: What are the order dates of orders with price higher than 1000?


Question: Find the order dates of the orders with price above 1000.


Question: Show all cities where at least one customer lives in but no performer lives in.


Question: Which cities have at least one customer but no performer?


Question: Find the products which have problems reported by both Lacey Bosco and Kenton Champlin?


Question: Which products have problems reported by both the staff named Lacey Bosco and the staff named Kenton Champlin?


Question: Show all member names and registered branch names sorted by register year.


Question: What are the names of the members and branches at which they are registered sorted by year of registration?


Question: Find the id and color description of the products with at least 2 characteristics.


Question: What are the product ids and color descriptions for products with two or more characteristics?


Question: How many distinct characteristic names does the product "cumin" have?


Question: Count the number of different characteristic names the product 'cumin' has.


Question: What are all the characteristic names of product "sesame"?


Question: Return the characteristic names of the 'sesame' product.


Question: List all the characteristic names and data types of product "cumin".


Question: What are the names and data types of the characteristics of the 'cumin' product?


Question: List all characteristics of product named "sesame" with type code "Grade".


Question: What are the names of the characteristics of the product 'sesame' that have the characteristic type code 'Grade'?


Question: How many characteristics does the product named "laurel" have?


Question: Count the number of characteristics of the product named 'laurel'.


Question: Find the number of characteristics that the product "flax" has.


Question: Count the number of characteristics of the 'flax' product.


Question: Find the name of the products that have the color description "red" and have the characteristic name "fast".


Question: What are the names of the products that have a color description of 'red' and the 'fast' characteristic?


Question: How many products have the characteristic named "hot"?


Question: Count the number of products with the 'hot' charactersitic.


Question: List the all the distinct names of the products with the characteristic name 'warm'.


Question: What are the different product names for products that have the 'warm' characteristic:?


Question: Find the number of the products that have their color described as "red" and have a characteristic named "slow".


Question: How many products have the color description 'red' and the characteristic name 'slow'?


Question: Count the products that have the color description "white" or have the characteristic name "hot".


Question: How many products have their color described as 'white' or have a characteristic with the name 'hot'?


Question: Find the product names that are colored 'white' but do not have unit of measurement "Handful".


Question: What are the names of products that are not 'white' in color and are not measured by the unit 'Handful'?


Question: What is the characteristic name used by most number of the products?


Question: Return the name of the characteristic that is most common across all products.


Question: What are characteristic names used at least twice across all products?


Question: Give the names of characteristics that are in two or more products?


Question: Find the names of stadiums that some Australian swimmers have been to.


Question: Find the names of stadiums that the most swimmers have been to.


Question: Show the customer name, customer address city, date from, and date to for each customer address history.


Question: What are the name and phone of the customer with the most ordered product quantity?


Question: Find the name of dorms which have both TV Lounge and Study Room as amenities.


Question: What is the name of the dorm with both a TV Lounge and Study Room listed as amenities?


Question: Find the name of dorms which have TV Lounge but no Study Room as amenity.


Question: What is the name of each dorm that has a TV Lounge but no study rooms?


Question: List name of all amenities which Anonymous Donor Hall has, and sort the results in alphabetic order.


Question: What are the amenities in alphabetical order that Anonymous Donor Hall has?


Question: Find the average age of students living in each dorm and the name of dorm.


Question: What is the average age for each dorm and what are the names of each dorm?


Question: Find the number of students who is older than 20 in each dorm.


Question: How many students are older than 20 in each dorm?


Question: Find the first name of students who are living in the Smith Hall.


Question: What are the first names of all students in Smith Hall?


Question: Find the average age of students who are living in the dorm with the largest capacity.


Question: What is the average age of students who are living in the dorm with the largest capacity?


Question: Find the total number of students living in the male dorm (with gender M).


Question: What are the total number of students who are living in a male dorm?


Question: Find the number of female students (with F sex) living in Smith Hall


Question: How many female students live in Smith Hall?


Question: Find the name of amenities Smith Hall dorm have.


Question: What are the names of the amenities that Smith Hall has?


Question: Find the name of amenities Smith Hall dorm have. ordered the results by amenity names.


Question: What amenities does Smith Hall have in alphabetical order?


Question: Find the first name of students who are living in the dorm that has most number of amenities.


Question: What are the first names of all students who live in the dorm with the most amenities?


Question: Find the name and capacity of the dorm with least number of amenities.


Question: What is the name and capacity of the dorm with the fewest amount of amenities?


Question: Find the name of dorms that do not have amenity TV Lounge.


Question: What are the names of the dorm that does not have a TV Lounge?


Question: Find the first and last name of students who are living in the dorms that have amenity TV Lounge.


Question: What are the first and last names of all students who are living in a dorm with a TV Lounge?


Question: Find the first name and age of students who are living in the dorms that do not have amenity TV Lounge.


Question: What is the first name and age of every student who lives in a dorm with a TV Lounge?


Question: Find the name of amenities of the dorm where the student with last name Smith is living in.


Question: What are the amenities in the dorm that a student who has the last name of Smith lives in?


Question: Which products has been complained by the customer who has filed least amount of complaints?


Question: Return the names of products that have had complaints filed by the customer who has filed the fewest complaints.


Question: Find the last name of the staff member who processed the complaint of the cheapest product.


Question: What is the last name of the staff member in charge of the complaint on the product with the lowest price?


Question: What are the lot details of lots associated with transactions with share count smaller than 50?


Question: What are the lot details of lots associated with transactions whose share count is bigger than 100 and whose type code is "PUR"?


Question: Which tourist attractions does the visitor with detail 'Vincent' visit?


Question: Show the tourist attractions visited by the tourist whose detail is 'Vincent'.


Question: What are the names of the tourist attractions and the dates when the tourists named Vincent or Vivian visited there?


Question: For each tourist attraction, return its name and the date when the tourists named Vincent or Vivian visited there.


Question: What are the names of the tourist attractions that have parking or shopping as their feature details?


Question: Find the tourist attractions that have parking or shopping as their feature details. What are the names of the attractions?


Question: What are the names of the tourist attractions Vincent and Marcelle visit?


Question: Which tourist attractions do the tourists Vincent and Marcelle visit? Tell me the names of the attractions.


Question: What are the names of tourist attraction that Alison visited but Rosalind did not visit?


Question: Find the the names of the tourist attractions that the tourist named Alison visited but Rosalind did not visit.


Question: Show all game names played by Linda Smith


Question: What are the names of all games played by Linda Smith?


Question: What is the address content of the customer named "Maudie Kertzmann"?


Question: Return the address content for the customer whose name is "Maudie Kertzmann".


Question: How many customers are living in city "Lake Geovannyton"?


Question: Find the number of customers who live in the city called Lake Geovannyton.


Question: Find the name of customers who are living in Colorado?


Question: What are the names of customers who live in Colorado state?


Question: Find the list of cities that no customer is living in.


Question: What are the cities no customers live in?


Question: Which city has the most customers living in?


Question: Find the city where the most customers live.


Question: What is the name of the customer that made the order with the largest quantity?


Question: Find the name of the customer who made the order of the largest amount of goods.


Question: What is the name of the customer that has purchased the most items?


Question: Give me the name of the customer who ordered the most items in total.


Question: What is the payment method of the customer that has purchased the least quantity of items?


Question: Tell me the payment method used by the customer who ordered the least amount of goods in total.


Question: How many types of products have Rodrick Heaney bought in total?


Question: Find the number of distinct products Rodrick Heaney has bought so far.


Question: What is the total quantity of products purchased by "Rodrick Heaney"?


Question: Tell me the total quantity of products bought by the customer called "Rodrick Heaney".


Question: Find the names of customers who never ordered product Latte.


Question: What are names of customers who never ordered product Latte.


Question: Find the names of customers who ordered both products Latte and Americano.


Question: What are the names of customers who have purchased both products Latte and Americano?


Question: What is the venue of the competition "1994 FIFA World Cup qualification" hosted by "Nanjing ( Jiangsu )"?

Estadio Rigoberto LÃ³pez , Managua , Nicaragua

Estadio CuscatlÃ¡n , San Salvador , El Salvador


Question: Find the venue of the competition "1994 FIFA World Cup qualification" which was hosted by "Nanjing ( Jiangsu )".

Estadio Rigoberto LÃ³pez , Managua , Nicaragua

Estadio CuscatlÃ¡n , San Salvador , El Salvador


Question: Give me a list of cities whose temperature in Mar is lower than that in July and which have also served as host cities?


Question: Which cities have lower temperature in March than in July and have been once host cities?


Question: Give me a list of cities whose temperature in Mar is lower than that in Dec and which have never been host cities.


Question: Which cities have lower temperature in March than in Dec and have never served as host cities?


Question: Give me a list of cities whose temperature in Feb is higher than that in Jun or cities that were once host cities?


Question: Which cities have higher temperature in Feb than in Jun or have once served as host cities?


Question: Find the last name of the latest contact individual of the organization "Labour Party".


Question: What is the last name of the contact individual from the Labour party organization who was contacted most recently?


Question: Find the last name of the first ever contact person of the organization with the highest UK Vat number.


Question: What is the last name of the first individual contacted from the organization with the maximum UK Vat number across all organizations?


Question: Show the school name and driver name for all school buses.

State Elementary School Menteng 01
Angel Acre


Question: How many companies operates airlines in each airport?


Question: Find the name of the project for which a scientist whose name contains ‘Smith’ is assigned to.


Question: What is the name of the project that has a scientist assigned to it whose name contains 'Smith'?


Question: Find the total hours of the projects that scientists named Michael Rogers or Carol Smith are assigned to.


Question: What is the sum of hours for projects that scientists with the name Michael Rogers or Carol Smith are assigned to?


Question: Find the names of scientists who are not working on the project with the highest hours.


Question: What are the names of scientists who are not working on the project with the most hours?


Question: List all the scientists' names, their projects' names, and the hours worked by that scientist on each project, in alphabetical order of project name, and then scientist name.

Anand Manikutty
Aerodynamics and Gas Mileage

Eric Goldsmith
Aerodynamics and Gas Mileage

George ODonnell
Aerodynamics and Ice Hockey

Juicy: Extracting Apple Juice with Pectinase

Michael Rogers
Winds: Studying Bernoullis Principle


Question: What are the names of each scientist, the names of the projects that they work on, and the hours for each of those projects, listed in alphabetical order by project name, then scientist name.

Anand Manikutty
Aerodynamics and Gas Mileage

Eric Goldsmith
Aerodynamics and Gas Mileage

George ODonnell
Aerodynamics and Ice Hockey

Juicy: Extracting Apple Juice with Pectinase

Michael Rogers
Winds: Studying Bernoullis Principle


Question: show the train name and station name for each train.

London King's Cross
Madurai Fast Passenger


Question: Show all train names and times in stations in London in descending order by train time.


Question: What are the names of the stations which serve both "Ananthapuri Express" and "Guruvayur Express" trains?


Question: Find the names of the trains that do not pass any station located in London.


Question: Show the names of all the activities Mark Giuliano participates in.


Question: What are the names of the activities Mark Giuliano is involved in


Question: Find the first names of the faculty members who are playing Canoeing or Kayaking.


Question: Which faculty members are playing either Canoeing or Kayaking? Tell me their first names.


Question: Find the first names of professors who are not playing Canoeing or Kayaking.


Question: What are the first names of the professors who do not play Canoeing or Kayaking as activities?


Question: Find the first names of the faculty members who participate in Canoeing and Kayaking.


Question: What are the first names of the faculty members playing both Canoeing and Kayaking?


Question: Return the number of routes with destination airport in Italy operated by the airline with name 'American Airlines'.


Question: What is the number of routes operated by the airline American Airlines whose destinations are in Italy?


Question: List the count and id of each product in all the orders.


Question: For each product, return its id and the number of times it was ordered.


Question: List the name and count of each product in all orders.


Question: For each product, show its name and the number of times it was ordered.


Question: List the names of the customers who have once bought product "food".


Question: What are the names of the customers who bought product "food" at least once?


Question: List the names of customers who have once canceled the purchase of the product "food" (the item status is "Cancel").


Question: Which customers have ever canceled the purchase of the product "food" (the item status is "Cancel")?


Question: What are the ids, names and genders of the architects who built two bridges or one mill?


Question: What are the distinct name of the mills built by the architects who have also built a bridge longer than 80 meters?


Question: Show the movie titles and book titles for all companies in China.


Question: What are the titles of movies and books corresponding to companies incorporated in China?


Question: List all singer names in concerts in year 2014.


Question: What are the names of the singers who performed in a concert in 2014?


Question: Find the number of dog pets that are raised by female students (with sex F).


Question: How many dog pets are raised by female students?


Question: Find the first name of students who have cat or dog pet.


Question: What are the first names of every student who has a cat or dog as a pet?


Question: Find the major and age of students who do not have a cat pet.


Question: What major is every student who does not own a cat as a pet, and also how old are they?


Question: Find the id of students who do not have a cat pet.


Question: What are the ids of the students who do not own cats as pets?


Question: Find the first name and age of students who have a dog but do not have a cat as a pet.


Question: What is the first name of every student who has a dog but does not have a cat?


Question: Find the last name of the student who has a cat that is age 3.


Question: What is the last name of the student who has a cat that is 3 years old?


Question: Find the name of the makers that produced some cars in the year of 1970?


Question: What is the name of the different car makers who produced a car in 1970?


Question: Which distinct car models are the produced after 1980?


Question: What are the different models for the cards produced after 1980?


Question: How many car makers are there in each continents? List the continent name and the count.


Question: What is the name of each continent and how many car makers are there in each one?


Question: How many car models are produced in the usa?


Question: What is the count of the car models produced in the United States?


Question: Which countries in europe have at least 3 car manufacturers?


Question: What are the names of all European countries with at least 3 manufacturers?


Question: Which distinctive models are produced by maker with the full name General Motors or weighing more than 3500?


Question: What are the different models created by either the car maker General Motors or weighed more than 3500?


Question: Which models are lighter than 3500 but not built by the 'Ford Motor Company'?


Question: What are the different models wthat are lighter than 3500 but were not built by the Ford Motor Company?


Question: Which are the car makers which produce at least 2 models and more than 3 car makers ? List the id and the maker .


Question: What are the ids and makers of all car makers that produce at least 2 models and make more than 3 cars?


Question: What are the id and names of the countries which have more than 3 car makers or produce the 'fiat' model?


Question: What are the ids and names of all countries that either have more than 3 car makers or produce fiat model ?


Question: How many United Airlines flights go to City 'Aberdeen'?


Question: Count the number of United Airlines flights that arrive in Aberdeen.


Question: What are the distinct template type descriptions for the templates ever used by any document?


Question: Return the different descriptions for templates that have been used in a document.


Question: Show names of teachers and the courses they are arranged to teach.


Question: What is the name of each teacher and what course they teach?


Question: Show names of teachers and the courses they are arranged to teach in ascending alphabetical order of the teacher's name.


Question: What are the names of the teachers and the courses they teach in ascending alphabetical order by the name of the teacher?


Question: Show the name of the teacher for the math course.


Question: What are the names of the people who teach math courses?


Question: What is the name of the visitor who visited both a museum opened before 2009 and a museum opened after 2011?


Question: Find the number of visitors who did not visit any museum opened after 2010.


Question: What are the ids and names of the battles that led to more than 10 people killed in total.


Question: Who is enrolled in a Bachelor degree program? List the first name, middle name, last name.


Question: What are the first, middle, and last names for everybody enrolled in a Bachelors program?


Question: Find the last name of the students who currently live in the state of North Carolina but have not registered in any degree program.


Question: What are the last name of the students who live in North Carolina but have not registered in any degree programs?


Question: List the area codes in which voters voted both for the contestant 'Tabatha Gehling' and the contestant 'Kelly Clauss'.


Question: Which cities are in European countries where English is not the official language?


Question: What are the names of cities in Europe for which English is not the official language?


Question: Return the different names of cities that are in Asia and for which Chinese is the official language.


Question: Show name of all students who have some friends and also are liked by someone else.


Question: What are the names of high schoolers who both have friends and are liked?


Question: Which first names are used for professionals or owners but are not used as dog names?


Question: Find the first names that are used for professionals or owners but are not used as dog names.


Question: Which owner has paid for the most treatments on his or her dogs? List the owner id and last name.


Question: Tell me the owner id and last name of the owner who spent the most on treatments of his or her dogs.


Question: Which owner has paid the largest amount of money in total for their dogs? Show the owner id and zip code.


Question: Find the owner id and zip code of the owner who spent the most money in total for his or her dogs.


Question: List the first name of all the professionals along with the description of the treatment they have done.


Question: What are each professional's first name and description of the treatment they have performed?