Question: List all information about college sorted by enrollment number in the ascending order.

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)


Question: What information do you have on colleges sorted by increasing enrollment numbers?

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)


Question: List the name of the colleges whose enrollment is greater 18000 sorted by the college's name.

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)


Question: What is the name of every college in alphabetical order that has more than 18000 students enrolled?

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)


Question: Find the name of players whose card is yes in the descending order of training hours.

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

player : pname (text) , ycard (text) , hs (number) , pid (number)


Question: What are the name of the players who received a card in descending order of the hours of training?

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

player : pname (text) , ycard (text) , hs (number) , pid (number)


Question: Find the name of different colleges involved in the tryout in alphabetical order.

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)


Question: What are the different names of the colleges involved in the tryout in alphabetical order?

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)


Question: Which position is most popular among players in the tryout?

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)


Question: What was the most popular position at tryouts?

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)


Question: Find the number of students who participate in the tryout for each college ordered by descending count.

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)


Question: How many students participated in tryouts for each college by descennding count?

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)


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

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

player : hs (number) , pid (number) | tryout : ppos (text) , pid (number)


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

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

player : hs (number) , pid (number) | tryout : ppos (text) , pid (number)


Question: What are the names of schools with the top 3 largest size?

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)


Question: What are the names of the schools with the top 3 largest class sizes?

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)


Question: What is the name of school that has the smallest enrollment in each state?

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)


Question: What is the name of the school with smallest enrollment size per state?

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)


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

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

college : state (text) , cname (text) | tryout : cname (text) , pid (number)


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

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

college : state (text) , cname (text) | tryout : cname (text) , pid (number)


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

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

college : state (text) , cname (text) | tryout : cname (text) , decision (text) , pid (number)


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

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

college : state (text) , cname (text) | tryout : cname (text) , decision (text) , pid (number)


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

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

player : pname (text) , pid (number) | tryout : cname (text) , pid (number) , decision (text)


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

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

player : pname (text) , pid (number) | tryout : cname (text) , pid (number) , decision (text)


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

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

player : pname (text) , pid (number) | tryout : pid (number)


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

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

player : pname (text) , pid (number) | tryout : pid (number)


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

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

player : pname (text) , hs (number) , pid (number) | tryout : pid (number) , decision (text)


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

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

player : pname (text) , hs (number) , pid (number) | tryout : pid (number) , decision (text)


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

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

college : state (text) , cname (text) | tryout : cname (text) , ppos (text) , pid (number)


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

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

college : state (text) , cname (text) | tryout : cname (text) , ppos (text) , pid (number)


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

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

player : pname (text) , pid (number) | tryout : pid (number) , decision (text) , ppos (text)


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

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

player : pname (text) , pid (number) | tryout : pid (number) , decision (text) , ppos (text)


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

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

college : state (text) , cname (text) | tryout : cname (text) , pid (number) | player : pid (number) , pname (text)


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

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

college : state (text) , cname (text) | tryout : cname (text) , pid (number) | player : pid (number) , pname (text)


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

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

player : hs (number) , pid (number) | tryout : pid (number) , decision (text)


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

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

player : hs (number) , pid (number) | tryout : pid (number) , decision (text)


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

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

player : hs (number) , pid (number) | tryout : pid (number) , decision (text)


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

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

player : hs (number) , pid (number) | tryout : pid (number) , decision (text)


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

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

player : hs (number) , pid (number) | tryout : ppos (text) , pid (number)


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

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

player : hs (number) , pid (number) | tryout : ppos (text) , pid (number)


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

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

tryout : cname (text) , pid (number) | player : pid (number) , pname (text)


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

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

tryout : cname (text) , pid (number) | player : pid (number) , pname (text)


Question: Which college has any student who is a goalie and succeeded in the tryout.

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

tryout : cname (text) , decision (text) , ppos (text) , pid (number)


Question: What college has a student who successfully made the team in the role of a goalie?

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

tryout : cname (text) , decision (text) , ppos (text) , pid (number)


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

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

player : pname (text) , pid (number) | tryout : pid (number) , cname (text) | college : cname (text) , enr (number)


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

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

player : pname (text) , pid (number) | tryout : pid (number) , cname (text) | college : cname (text) , enr (number)


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

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

college : state (text) , enr (number) , cname (text) | tryout : cname (text) , decision (text) , pid (number)


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

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

college : state (text) , enr (number) , cname (text) | tryout : cname (text) , decision (text) , pid (number)


Question: Find the names of either colleges in LA with greater than 15000 size or in state AZ with less than 13000 enrollment.

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

college : cname (text) , enr (number) , state (text)


Question: What are the names of colleges in LA that have more than 15,000 students and of colleges in AZ with less than 13,000 students?

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

college : cname (text) , enr (number) , state (text)


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

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

tryout : cname (text) , ppos (text) , pid (number)


Question: What are the names of all schools that have students trying out for the position of goal and 'mid'-field.

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

tryout : cname (text) , ppos (text) , pid (number)


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

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

college : state (text) , cname (text) | tryout : cname (text) , ppos (text) , pid (number)


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

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

college : state (text) , cname (text) | tryout : cname (text) , ppos (text) , pid (number)


Question: How many schools have some students playing in goalie and mid positions.

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

tryout : cname (text) , ppos (text) , pid (number)


Question: How many schools have students playing in goalie and mid-field positions?

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

tryout : cname (text) , ppos (text) , pid (number)


Question: Find the names of schools that have some players in the mid position but not in the goalie position.

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

tryout : cname (text) , ppos (text) , pid (number)


Question: What are the names of the schools with some players in the mid position but no goalies?

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

tryout : cname (text) , ppos (text) , pid (number)


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

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

college : state (text) , cname (text) | tryout : cname (text) , ppos (text) , pid (number)


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

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

college : state (text) , cname (text) | tryout : cname (text) , ppos (text) , pid (number)


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

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

college : state (text) , cname (text) | tryout : cname (text) , ppos (text) , pid (number)


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

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

college : state (text) , cname (text) | tryout : cname (text) , ppos (text) , pid (number)


Question: Find the states where have the colleges whose enrollments are less than the largest size.

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

college : state (text) , enr (number) , cname (text)


Question: What are the states with colleges that have enrollments less than the some other college?

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

college : state (text) , enr (number) , cname (text)


Question: Find names of colleges with enrollment greater than that of some (at least one) college in the FL state.

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

college : cname (text) , enr (number) , state (text)


Question: What are the names of the colleges that are larger than at least one college in Florida?

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

college : cname (text) , enr (number) , state (text)


Question: Find names of all colleges whose enrollment is greater than that of all colleges in the FL state.

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

college : cname (text) , enr (number) , state (text)


Question: What are the names of all colleges with a larger enrollment than the largest college in Florida?

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

college : cname (text) , enr (number) , state (text)


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

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

college : enr (number) , cname (text) | tryout : cname (text) , ppos (text) , pid (number)


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

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

college : enr (number) , cname (text) | tryout : cname (text) , ppos (text) , pid (number)


Question: What is the number of states that has some college whose enrollment is larger than the average enrollment?

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

college : state (text) , enr (number) , cname (text)


Question: How many states have a college with more students than average?

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

college : state (text) , enr (number) , cname (text)


Question: What is the number of states that has some colleges whose enrollment is smaller than the average enrollment?

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

college : state (text) , enr (number) , cname (text)


Question: How many states have smaller colleges than average?

college : cname (text) , state (text) , enr (number) | player : pid (number) , pname (text) , ycard (text) , hs (number) | tryout : pid (number) , cname (text) , ppos (text) , decision (text)

college : state (text) , enr (number) , cname (text)


Question: How many devices are there?

device : device_id (number) , device (text) , carrier (text) , package_version (text) , applications (text) , software_platform (text) | shop : shop_id (number) , shop_name (text) , location (text) , open_date (text) , open_year (number) | stock : shop_id (number) , device_id (number) , quantity (number)

device : device (text) , device_id (number)


Question: Count the number of devices.

device : device_id (number) , device (text) , carrier (text) , package_version (text) , applications (text) , software_platform (text) | shop : shop_id (number) , shop_name (text) , location (text) , open_date (text) , open_year (number) | stock : shop_id (number) , device_id (number) , quantity (number)

device : device (text) , device_id (number)


Question: List the carriers of devices in ascending alphabetical order.

device : device_id (number) , device (text) , carrier (text) , package_version (text) , applications (text) , software_platform (text) | shop : shop_id (number) , shop_name (text) , location (text) , open_date (text) , open_year (number) | stock : shop_id (number) , device_id (number) , quantity (number)

device : carrier (text) , device (text) , device_id (number)


Question: What are the different carriers for devices, listed in alphabetical order?

device : device_id (number) , device (text) , carrier (text) , package_version (text) , applications (text) , software_platform (text) | shop : shop_id (number) , shop_name (text) , location (text) , open_date (text) , open_year (number) | stock : shop_id (number) , device_id (number) , quantity (number)

device : carrier (text) , device (text) , device_id (number)


Question: What are the carriers of devices whose software platforms are not "Android"?

device : device_id (number) , device (text) , carrier (text) , package_version (text) , applications (text) , software_platform (text) | shop : shop_id (number) , shop_name (text) , location (text) , open_date (text) , open_year (number) | stock : shop_id (number) , device_id (number) , quantity (number)

device : carrier (text) , device (text) , software_platform (text) , device_id (number)


Question: Return the device carriers that do not have Android as their software platform.

device : device_id (number) , device (text) , carrier (text) , package_version (text) , applications (text) , software_platform (text) | shop : shop_id (number) , shop_name (text) , location (text) , open_date (text) , open_year (number) | stock : shop_id (number) , device_id (number) , quantity (number)

device : carrier (text) , device (text) , software_platform (text) , device_id (number)


Question: What are the names of shops in ascending order of open year?

device : device_id (number) , device (text) , carrier (text) , package_version (text) , applications (text) , software_platform (text) | shop : shop_id (number) , shop_name (text) , location (text) , open_date (text) , open_year (number) | stock : shop_id (number) , device_id (number) , quantity (number)

shop : shop_name (text) , open_year (number) , shop_id (number)


Question: Return the names of shops, ordered by year of opening ascending.

device : device_id (number) , device (text) , carrier (text) , package_version (text) , applications (text) , software_platform (text) | shop : shop_id (number) , shop_name (text) , location (text) , open_date (text) , open_year (number) | stock : shop_id (number) , device_id (number) , quantity (number)

shop : shop_name (text) , open_year (number) , shop_id (number)


Question: What is the average quantity of stocks?

device : device_id (number) , device (text) , carrier (text) , package_version (text) , applications (text) , software_platform (text) | shop : shop_id (number) , shop_name (text) , location (text) , open_date (text) , open_year (number) | stock : shop_id (number) , device_id (number) , quantity (number)

stock : quantity (number) , shop_id (number)


Question: Give the average quantity of stocks.

device : device_id (number) , device (text) , carrier (text) , package_version (text) , applications (text) , software_platform (text) | shop : shop_id (number) , shop_name (text) , location (text) , open_date (text) , open_year (number) | stock : shop_id (number) , device_id (number) , quantity (number)

stock : quantity (number) , shop_id (number)


Question: What are the names and location of the shops in ascending alphabetical order of name.

device : device_id (number) , device (text) , carrier (text) , package_version (text) , applications (text) , software_platform (text) | shop : shop_id (number) , shop_name (text) , location (text) , open_date (text) , open_year (number) | stock : shop_id (number) , device_id (number) , quantity (number)

shop : shop_name (text) , location (text) , shop_id (number)


Question: Return the names and locations of shops, ordered by name in alphabetical order.

device : device_id (number) , device (text) , carrier (text) , package_version (text) , applications (text) , software_platform (text) | shop : shop_id (number) , shop_name (text) , location (text) , open_date (text) , open_year (number) | stock : shop_id (number) , device_id (number) , quantity (number)

shop : shop_name (text) , location (text) , shop_id (number)


Question: How many different software platforms are there for devices?

device : device_id (number) , device (text) , carrier (text) , package_version (text) , applications (text) , software_platform (text) | shop : shop_id (number) , shop_name (text) , location (text) , open_date (text) , open_year (number) | stock : shop_id (number) , device_id (number) , quantity (number)

device : software_platform (text) , device (text) , device_id (number)


Question: Count the number of different software platforms.

device : device_id (number) , device (text) , carrier (text) , package_version (text) , applications (text) , software_platform (text) | shop : shop_id (number) , shop_name (text) , location (text) , open_date (text) , open_year (number) | stock : shop_id (number) , device_id (number) , quantity (number)

device : software_platform (text) , device (text) , device_id (number)


Question: List the open date of open year of the shop named "Apple".

device : device_id (number) , device (text) , carrier (text) , package_version (text) , applications (text) , software_platform (text) | shop : shop_id (number) , shop_name (text) , location (text) , open_date (text) , open_year (number) | stock : shop_id (number) , device_id (number) , quantity (number)

shop : open_date (text) , open_year (number) , shop_name (text) , shop_id (number)


Question: What are the open dates and years for the shop named Apple?

device : device_id (number) , device (text) , carrier (text) , package_version (text) , applications (text) , software_platform (text) | shop : shop_id (number) , shop_name (text) , location (text) , open_date (text) , open_year (number) | stock : shop_id (number) , device_id (number) , quantity (number)

shop : open_date (text) , open_year (number) , shop_name (text) , shop_id (number)


Question: List the name of the shop with the latest open year.

device : device_id (number) , device (text) , carrier (text) , package_version (text) , applications (text) , software_platform (text) | shop : shop_id (number) , shop_name (text) , location (text) , open_date (text) , open_year (number) | stock : shop_id (number) , device_id (number) , quantity (number)

shop : shop_name (text) , open_year (number) , shop_id (number)


Question: What is the shop name corresponding to the shop that opened in the most recent year?

device : device_id (number) , device (text) , carrier (text) , package_version (text) , applications (text) , software_platform (text) | shop : shop_id (number) , shop_name (text) , location (text) , open_date (text) , open_year (number) | stock : shop_id (number) , device_id (number) , quantity (number)

shop : shop_name (text) , open_year (number) , shop_id (number)


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

device : device_id (number) , device (text) , carrier (text) , package_version (text) , applications (text) , software_platform (text) | shop : shop_id (number) , shop_name (text) , location (text) , open_date (text) , open_year (number) | stock : shop_id (number) , device_id (number) , quantity (number)

shop : shop_name (text) , shop_id (number) | device : carrier (text) , device (text) , device_id (number) | stock : device_id (number) , shop_id (number)


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

device : device_id (number) , device (text) , carrier (text) , package_version (text) , applications (text) , software_platform (text) | shop : shop_id (number) , shop_name (text) , location (text) , open_date (text) , open_year (number) | stock : shop_id (number) , device_id (number) , quantity (number)

shop : shop_name (text) , shop_id (number) | device : carrier (text) , device (text) , device_id (number) | stock : device_id (number) , shop_id (number)


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

device : device_id (number) , device (text) , carrier (text) , package_version (text) , applications (text) , software_platform (text) | shop : shop_id (number) , shop_name (text) , location (text) , open_date (text) , open_year (number) | stock : shop_id (number) , device_id (number) , quantity (number)

shop : shop_name (text) , shop_id (number) | stock : shop_id (number)


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

device : device_id (number) , device (text) , carrier (text) , package_version (text) , applications (text) , software_platform (text) | shop : shop_id (number) , shop_name (text) , location (text) , open_date (text) , open_year (number) | stock : shop_id (number) , device_id (number) , quantity (number)

shop : shop_name (text) , shop_id (number) | stock : shop_id (number)


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

device : device_id (number) , device (text) , carrier (text) , package_version (text) , applications (text) , software_platform (text) | shop : shop_id (number) , shop_name (text) , location (text) , open_date (text) , open_year (number) | stock : shop_id (number) , device_id (number) , quantity (number)

shop : shop_name (text) , shop_id (number) | stock : shop_id (number)


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

device : device_id (number) , device (text) , carrier (text) , package_version (text) , applications (text) , software_platform (text) | shop : shop_id (number) , shop_name (text) , location (text) , open_date (text) , open_year (number) | stock : shop_id (number) , device_id (number) , quantity (number)

shop : shop_name (text) , shop_id (number) | stock : shop_id (number)


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

device : device_id (number) , device (text) , carrier (text) , package_version (text) , applications (text) , software_platform (text) | shop : shop_id (number) , shop_name (text) , location (text) , open_date (text) , open_year (number) | stock : shop_id (number) , device_id (number) , quantity (number)

shop : shop_name (text) , shop_id (number) | stock : shop_id (number) , quantity (number)


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

device : device_id (number) , device (text) , carrier (text) , package_version (text) , applications (text) , software_platform (text) | shop : shop_id (number) , shop_name (text) , location (text) , open_date (text) , open_year (number) | stock : shop_id (number) , device_id (number) , quantity (number)

shop : shop_name (text) , shop_id (number) | stock : shop_id (number) , quantity (number)


Question: Please show different software platforms and the corresponding number of devices using each.

device : device_id (number) , device (text) , carrier (text) , package_version (text) , applications (text) , software_platform (text) | shop : shop_id (number) , shop_name (text) , location (text) , open_date (text) , open_year (number) | stock : shop_id (number) , device_id (number) , quantity (number)

device : software_platform (text) , device (text) , device_id (number)


Question: What are the different software platforms for devices, and how many devices have each?

device : device_id (number) , device (text) , carrier (text) , package_version (text) , applications (text) , software_platform (text) | shop : shop_id (number) , shop_name (text) , location (text) , open_date (text) , open_year (number) | stock : shop_id (number) , device_id (number) , quantity (number)

device : software_platform (text) , device (text) , device_id (number)


Question: Please show the software platforms of devices in descending order of the count.

device : device_id (number) , device (text) , carrier (text) , package_version (text) , applications (text) , software_platform (text) | shop : shop_id (number) , shop_name (text) , location (text) , open_date (text) , open_year (number) | stock : shop_id (number) , device_id (number) , quantity (number)

device : software_platform (text) , device (text) , device_id (number)


Question: What are the different software platforms for devices, ordered by frequency descending?

device : device_id (number) , device (text) , carrier (text) , package_version (text) , applications (text) , software_platform (text) | shop : shop_id (number) , shop_name (text) , location (text) , open_date (text) , open_year (number) | stock : shop_id (number) , device_id (number) , quantity (number)

device : software_platform (text) , device (text) , device_id (number)


Question: List the software platform shared by the greatest number of devices.

device : device_id (number) , device (text) , carrier (text) , package_version (text) , applications (text) , software_platform (text) | shop : shop_id (number) , shop_name (text) , location (text) , open_date (text) , open_year (number) | stock : shop_id (number) , device_id (number) , quantity (number)

device : software_platform (text) , device (text) , device_id (number)


Question: What is the software platform that is most common amongst all devices?

device : device_id (number) , device (text) , carrier (text) , package_version (text) , applications (text) , software_platform (text) | shop : shop_id (number) , shop_name (text) , location (text) , open_date (text) , open_year (number) | stock : shop_id (number) , device_id (number) , quantity (number)

device : software_platform (text) , device (text) , device_id (number)


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

device : device_id (number) , device (text) , carrier (text) , package_version (text) , applications (text) , software_platform (text) | shop : shop_id (number) , shop_name (text) , location (text) , open_date (text) , open_year (number) | stock : shop_id (number) , device_id (number) , quantity (number)

shop : shop_name (text) , shop_id (number) | stock : shop_id (number)


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

device : device_id (number) , device (text) , carrier (text) , package_version (text) , applications (text) , software_platform (text) | shop : shop_id (number) , shop_name (text) , location (text) , open_date (text) , open_year (number) | stock : shop_id (number) , device_id (number) , quantity (number)

shop : shop_name (text) , shop_id (number) | stock : shop_id (number)


Question: Show the locations shared by shops with open year later than 2012 and shops with open year before 2008.

device : device_id (number) , device (text) , carrier (text) , package_version (text) , applications (text) , software_platform (text) | shop : shop_id (number) , shop_name (text) , location (text) , open_date (text) , open_year (number) | stock : shop_id (number) , device_id (number) , quantity (number)

shop : location (text) , open_year (number) , shop_id (number)


Question: Which locations contains both shops that opened after the year 2012 and shops that opened before 2008?

device : device_id (number) , device (text) , carrier (text) , package_version (text) , applications (text) , software_platform (text) | shop : shop_id (number) , shop_name (text) , location (text) , open_date (text) , open_year (number) | stock : shop_id (number) , device_id (number) , quantity (number)

shop : location (text) , open_year (number) , shop_id (number)


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

device : device_id (number) , device (text) , carrier (text) , package_version (text) , applications (text) , software_platform (text) | shop : shop_id (number) , shop_name (text) , location (text) , open_date (text) , open_year (number) | stock : shop_id (number) , device_id (number) , quantity (number)

device : carrier (text) , device (text) , device_id (number) | stock : device_id (number) , shop_id (number)


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

device : device_id (number) , device (text) , carrier (text) , package_version (text) , applications (text) , software_platform (text) | shop : shop_id (number) , shop_name (text) , location (text) , open_date (text) , open_year (number) | stock : shop_id (number) , device_id (number) , quantity (number)

device : carrier (text) , device (text) , device_id (number) | stock : device_id (number) , shop_id (number)


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

device : device_id (number) , device (text) , carrier (text) , package_version (text) , applications (text) , software_platform (text) | shop : shop_id (number) , shop_name (text) , location (text) , open_date (text) , open_year (number) | stock : shop_id (number) , device_id (number) , quantity (number)

device : carrier (text) , device (text) , device_id (number) | stock : device_id (number) , shop_id (number)


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

device : device_id (number) , device (text) , carrier (text) , package_version (text) , applications (text) , software_platform (text) | shop : shop_id (number) , shop_name (text) , location (text) , open_date (text) , open_year (number) | stock : shop_id (number) , device_id (number) , quantity (number)

device : carrier (text) , device (text) , device_id (number) | stock : device_id (number) , shop_id (number)


Question: How many bookings do we have?

ref_payment_methods : payment_method_code (text) , payment_method_description (text) | ref_service_types : service_type_code (text) , parent_service_type_code (text) , service_type_description (text) | addresses : address_id (text) , line_1 (text) , line_2 (text) , city_town (text) , state_county (text) , other_details (text) | products : product_id (text) , product_name (text) , product_price (number) , product_description (text) , other_product_service_details (text) | marketing_regions : marketing_region_code (text) , marketing_region_name (text) , marketing_region_descriptrion (text) , other_details (text) | clients : client_id (number) , address_id (number) , customer_email_address (text) , customer_name (text) , customer_phone (text) , other_details (text) | drama_workshop_groups : workshop_group_id (number) , address_id (number) , currency_code (text) , marketing_region_code (text) , store_name (text) , store_phone (text) , store_email_address (text) , other_details (text) | performers : performer_id (number) , address_id (number) , customer_name (text) , customer_phone (text) , customer_email_address (text) , other_details (text) | customers : customer_id (text) , address_id (number) , customer_name (text) , customer_phone (text) , customer_email_address (text) , other_details (text) | stores : store_id (text) , address_id (number) , marketing_region_code (text) , store_name (text) , store_phone (text) , store_email_address (text) , other_details (text) | bookings : booking_id (number) , customer_id (number) , workshop_group_id (text) , status_code (text) , store_id (number) , order_date (time) , planned_delivery_date (time) , actual_delivery_date (time) , other_order_details (text) | performers_in_bookings : order_id (number) , performer_id (number) | customer_orders : order_id (number) , customer_id (number) , store_id (number) , order_date (time) , planned_delivery_date (time) , actual_delivery_date (time) , other_order_details (text) | order_items : order_item_id (number) , order_id (number) , product_id (number) , order_quantity (text) , other_item_details (text) | invoices : invoice_id (number) , order_id (number) , payment_method_code (text) , product_id (number) , order_quantity (text) , other_item_details (text) , order_item_id (number) | services : service_id (number) , service_type_code (text) , workshop_group_id (number) , product_description (text) , product_name (text) , product_price (number) , other_product_service_details (text) | bookings_services : order_id (number) , product_id (number) | invoice_items : invoice_item_id (number) , invoice_id (number) , order_id (number) , order_item_id (number) , product_id (number) , order_quantity (number) , other_item_details (text)


Question: Count the total number of bookings made.

ref_payment_methods : payment_method_code (text) , payment_method_description (text) | ref_service_types : service_type_code (text) , parent_service_type_code (text) , service_type_description (text) | addresses : address_id (text) , line_1 (text) , line_2 (text) , city_town (text) , state_county (text) , other_details (text) | products : product_id (text) , product_name (text) , product_price (number) , product_description (text) , other_product_service_details (text) | marketing_regions : marketing_region_code (text) , marketing_region_name (text) , marketing_region_descriptrion (text) , other_details (text) | clients : client_id (number) , address_id (number) , customer_email_address (text) , customer_name (text) , customer_phone (text) , other_details (text) | drama_workshop_groups : workshop_group_id (number) , address_id (number) , currency_code (text) , marketing_region_code (text) , store_name (text) , store_phone (text) , store_email_address (text) , other_details (text) | performers : performer_id (number) , address_id (number) , customer_name (text) , customer_phone (text) , customer_email_address (text) , other_details (text) | customers : customer_id (text) , address_id (number) , customer_name (text) , customer_phone (text) , customer_email_address (text) , other_details (text) | stores : store_id (text) , address_id (number) , marketing_region_code (text) , store_name (text) , store_phone (text) , store_email_address (text) , other_details (text) | bookings : booking_id (number) , customer_id (number) , workshop_group_id (text) , status_code (text) , store_id (number) , order_date (time) , planned_delivery_date (time) , actual_delivery_date (time) , other_order_details (text) | performers_in_bookings : order_id (number) , performer_id (number) | customer_orders : order_id (number) , customer_id (number) , store_id (number) , order_date (time) , planned_delivery_date (time) , actual_delivery_date (time) , other_order_details (text) | order_items : order_item_id (number) , order_id (number) , product_id (number) , order_quantity (text) , other_item_details (text) | invoices : invoice_id (number) , order_id (number) , payment_method_code (text) , product_id (number) , order_quantity (text) , other_item_details (text) , order_item_id (number) | services : service_id (number) , service_type_code (text) , workshop_group_id (number) , product_description (text) , product_name (text) , product_price (number) , other_product_service_details (text) | bookings_services : order_id (number) , product_id (number) | invoice_items : invoice_item_id (number) , invoice_id (number) , order_id (number) , order_item_id (number) , product_id (number) , order_quantity (number) , other_item_details (text)


Question: List the order dates of all the bookings.

ref_payment_methods : payment_method_code (text) , payment_method_description (text) | ref_service_types : service_type_code (text) , parent_service_type_code (text) , service_type_description (text) | addresses : address_id (text) , line_1 (text) , line_2 (text) , city_town (text) , state_county (text) , other_details (text) | products : product_id (text) , product_name (text) , product_price (number) , product_description (text) , other_product_service_details (text) | marketing_regions : marketing_region_code (text) , marketing_region_name (text) , marketing_region_descriptrion (text) , other_details (text) | clients : client_id (number) , address_id (number) , customer_email_address (text) , customer_name (text) , customer_phone (text) , other_details (text) | drama_workshop_groups : workshop_group_id (number) , address_id (number) , currency_code (text) , marketing_region_code (text) , store_name (text) , store_phone (text) , store_email_address (text) , other_details (text) | performers : performer_id (number) , address_id (number) , customer_name (text) , customer_phone (text) , customer_email_address (text) , other_details (text) | customers : customer_id (text) , address_id (number) , customer_name (text) , customer_phone (text) , customer_email_address (text) , other_details (text) | stores : store_id (text) , address_id (number) , marketing_region_code (text) , store_name (text) , store_phone (text) , store_email_address (text) , other_details (text) | bookings : booking_id (number) , customer_id (number) , workshop_group_id (text) , status_code (text) , store_id (number) , order_date (time) , planned_delivery_date (time) , actual_delivery_date (time) , other_order_details (text) | performers_in_bookings : order_id (number) , performer_id (number) | customer_orders : order_id (number) , customer_id (number) , store_id (number) , order_date (time) , planned_delivery_date (time) , actual_delivery_date (time) , other_order_details (text) | order_items : order_item_id (number) , order_id (number) , product_id (number) , order_quantity (text) , other_item_details (text) | invoices : invoice_id (number) , order_id (number) , payment_method_code (text) , product_id (number) , order_quantity (text) , other_item_details (text) , order_item_id (number) | services : service_id (number) , service_type_code (text) , workshop_group_id (number) , product_description (text) , product_name (text) , product_price (number) , other_product_service_details (text) | bookings_services : order_id (number) , product_id (number) | invoice_items : invoice_item_id (number) , invoice_id (number) , order_id (number) , order_item_id (number) , product_id (number) , order_quantity (number) , other_item_details (text)

bookings : order_date (time) , booking_id (number)


Question: What is the order date of each booking?

ref_payment_methods : payment_method_code (text) , payment_method_description (text) | ref_service_types : service_type_code (text) , parent_service_type_code (text) , service_type_description (text) | addresses : address_id (text) , line_1 (text) , line_2 (text) , city_town (text) , state_county (text) , other_details (text) | products : product_id (text) , product_name (text) , product_price (number) , product_description (text) , other_product_service_details (text) | marketing_regions : marketing_region_code (text) , marketing_region_name (text) , marketing_region_descriptrion (text) , other_details (text) | clients : client_id (number) , address_id (number) , customer_email_address (text) , customer_name (text) , customer_phone (text) , other_details (text) | drama_workshop_groups : workshop_group_id (number) , address_id (number) , currency_code (text) , marketing_region_code (text) , store_name (text) , store_phone (text) , store_email_address (text) , other_details (text) | performers : performer_id (number) , address_id (number) , customer_name (text) , customer_phone (text) , customer_email_address (text) , other_details (text) | customers : customer_id (text) , address_id (number) , customer_name (text) , customer_phone (text) , customer_email_address (text) , other_details (text) | stores : store_id (text) , address_id (number) , marketing_region_code (text) , store_name (text) , store_phone (text) , store_email_address (text) , other_details (text) | bookings : booking_id (number) , customer_id (number) , workshop_group_id (text) , status_code (text) , store_id (number) , order_date (time) , planned_delivery_date (time) , actual_delivery_date (time) , other_order_details (text) | performers_in_bookings : order_id (number) , performer_id (number) | customer_orders : order_id (number) , customer_id (number) , store_id (number) , order_date (time) , planned_delivery_date (time) , actual_delivery_date (time) , other_order_details (text) | order_items : order_item_id (number) , order_id (number) , product_id (number) , order_quantity (text) , other_item_details (text) | invoices : invoice_id (number) , order_id (number) , payment_method_code (text) , product_id (number) , order_quantity (text) , other_item_details (text) , order_item_id (number) | services : service_id (number) , service_type_code (text) , workshop_group_id (number) , product_description (text) , product_name (text) , product_price (number) , other_product_service_details (text) | bookings_services : order_id (number) , product_id (number) | invoice_items : invoice_item_id (number) , invoice_id (number) , order_id (number) , order_item_id (number) , product_id (number) , order_quantity (number) , other_item_details (text)

bookings : order_date (time) , booking_id (number)


Question: Show all the planned delivery dates and actual delivery dates of bookings.

ref_payment_methods : payment_method_code (text) , payment_method_description (text) | ref_service_types : service_type_code (text) , parent_service_type_code (text) , service_type_description (text) | addresses : address_id (text) , line_1 (text) , line_2 (text) , city_town (text) , state_county (text) , other_details (text) | products : product_id (text) , product_name (text) , product_price (number) , product_description (text) , other_product_service_details (text) | marketing_regions : marketing_region_code (text) , marketing_region_name (text) , marketing_region_descriptrion (text) , other_details (text) | clients : client_id (number) , address_id (number) , customer_email_address (text) , customer_name (text) , customer_phone (text) , other_details (text) | drama_workshop_groups : workshop_group_id (number) , address_id (number) , currency_code (text) , marketing_region_code (text) , store_name (text) , store_phone (text) , store_email_address (text) , other_details (text) | performers : performer_id (number) , address_id (number) , customer_name (text) , customer_phone (text) , customer_email_address (text) , other_details (text) | customers : customer_id (text) , address_id (number) , customer_name (text) , customer_phone (text) , customer_email_address (text) , other_details (text) | stores : store_id (text) , address_id (number) , marketing_region_code (text) , store_name (text) , store_phone (text) , store_email_address (text) , other_details (text) | bookings : booking_id (number) , customer_id (number) , workshop_group_id (text) , status_code (text) , store_id (number) , order_date (time) , planned_delivery_date (time) , actual_delivery_date (time) , other_order_details (text) | performers_in_bookings : order_id (number) , performer_id (number) | customer_orders : order_id (number) , customer_id (number) , store_id (number) , order_date (time) , planned_delivery_date (time) , actual_delivery_date (time) , other_order_details (text) | order_items : order_item_id (number) , order_id (number) , product_id (number) , order_quantity (text) , other_item_details (text) | invoices : invoice_id (number) , order_id (number) , payment_method_code (text) , product_id (number) , order_quantity (text) , other_item_details (text) , order_item_id (number) | services : service_id (number) , service_type_code (text) , workshop_group_id (number) , product_description (text) , product_name (text) , product_price (number) , other_product_service_details (text) | bookings_services : order_id (number) , product_id (number) | invoice_items : invoice_item_id (number) , invoice_id (number) , order_id (number) , order_item_id (number) , product_id (number) , order_quantity (number) , other_item_details (text)

bookings : planned_delivery_date (time) , actual_delivery_date (time) , booking_id (number)


Question: What are the planned delivery date and actual delivery date for each booking?

ref_payment_methods : payment_method_code (text) , payment_method_description (text) | ref_service_types : service_type_code (text) , parent_service_type_code (text) , service_type_description (text) | addresses : address_id (text) , line_1 (text) , line_2 (text) , city_town (text) , state_county (text) , other_details (text) | products : product_id (text) , product_name (text) , product_price (number) , product_description (text) , other_product_service_details (text) | marketing_regions : marketing_region_code (text) , marketing_region_name (text) , marketing_region_descriptrion (text) , other_details (text) | clients : client_id (number) , address_id (number) , customer_email_address (text) , customer_name (text) , customer_phone (text) , other_details (text) | drama_workshop_groups : workshop_group_id (number) , address_id (number) , currency_code (text) , marketing_region_code (text) , store_name (text) , store_phone (text) , store_email_address (text) , other_details (text) | performers : performer_id (number) , address_id (number) , customer_name (text) , customer_phone (text) , customer_email_address (text) , other_details (text) | customers : customer_id (text) , address_id (number) , customer_name (text) , customer_phone (text) , customer_email_address (text) , other_details (text) | stores : store_id (text) , address_id (number) , marketing_region_code (text) , store_name (text) , store_phone (text) , store_email_address (text) , other_details (text) | bookings : booking_id (number) , customer_id (number) , workshop_group_id (text) , status_code (text) , store_id (number) , order_date (time) , planned_delivery_date (time) , actual_delivery_date (time) , other_order_details (text) | performers_in_bookings : order_id (number) , performer_id (number) | customer_orders : order_id (number) , customer_id (number) , store_id (number) , order_date (time) , planned_delivery_date (time) , actual_delivery_date (time) , other_order_details (text) | order_items : order_item_id (number) , order_id (number) , product_id (number) , order_quantity (text) , other_item_details (text) | invoices : invoice_id (number) , order_id (number) , payment_method_code (text) , product_id (number) , order_quantity (text) , other_item_details (text) , order_item_id (number) | services : service_id (number) , service_type_code (text) , workshop_group_id (number) , product_description (text) , product_name (text) , product_price (number) , other_product_service_details (text) | bookings_services : order_id (number) , product_id (number) | invoice_items : invoice_item_id (number) , invoice_id (number) , order_id (number) , order_item_id (number) , product_id (number) , order_quantity (number) , other_item_details (text)

bookings : planned_delivery_date (time) , actual_delivery_date (time) , booking_id (number)


Question: How many customers do we have?

ref_payment_methods : payment_method_code (text) , payment_method_description (text) | ref_service_types : service_type_code (text) , parent_service_type_code (text) , service_type_description (text) | addresses : address_id (text) , line_1 (text) , line_2 (text) , city_town (text) , state_county (text) , other_details (text) | products : product_id (text) , product_name (text) , product_price (number) , product_description (text) , other_product_service_details (text) | marketing_regions : marketing_region_code (text) , marketing_region_name (text) , marketing_region_descriptrion (text) , other_details (text) | clients : client_id (number) , address_id (number) , customer_email_address (text) , customer_name (text) , customer_phone (text) , other_details (text) | drama_workshop_groups : workshop_group_id (number) , address_id (number) , currency_code (text) , marketing_region_code (text) , store_name (text) , store_phone (text) , store_email_address (text) , other_details (text) | performers : performer_id (number) , address_id (number) , customer_name (text) , customer_phone (text) , customer_email_address (text) , other_details (text) | customers : customer_id (text) , address_id (number) , customer_name (text) , customer_phone (text) , customer_email_address (text) , other_details (text) | stores : store_id (text) , address_id (number) , marketing_region_code (text) , store_name (text) , store_phone (text) , store_email_address (text) , other_details (text) | bookings : booking_id (number) , customer_id (number) , workshop_group_id (text) , status_code (text) , store_id (number) , order_date (time) , planned_delivery_date (time) , actual_delivery_date (time) , other_order_details (text) | performers_in_bookings : order_id (number) , performer_id (number) | customer_orders : order_id (number) , customer_id (number) , store_id (number) , order_date (time) , planned_delivery_date (time) , actual_delivery_date (time) , other_order_details (text) | order_items : order_item_id (number) , order_id (number) , product_id (number) , order_quantity (text) , other_item_details (text) | invoices : invoice_id (number) , order_id (number) , payment_method_code (text) , product_id (number) , order_quantity (text) , other_item_details (text) , order_item_id (number) | services : service_id (number) , service_type_code (text) , workshop_group_id (number) , product_description (text) , product_name (text) , product_price (number) , other_product_service_details (text) | bookings_services : order_id (number) , product_id (number) | invoice_items : invoice_item_id (number) , invoice_id (number) , order_id (number) , order_item_id (number) , product_id (number) , order_quantity (number) , other_item_details (text)


Question: Count the number of customers recorded.

ref_payment_methods : payment_method_code (text) , payment_method_description (text) | ref_service_types : service_type_code (text) , parent_service_type_code (text) , service_type_description (text) | addresses : address_id (text) , line_1 (text) , line_2 (text) , city_town (text) , state_county (text) , other_details (text) | products : product_id (text) , product_name (text) , product_price (number) , product_description (text) , other_product_service_details (text) | marketing_regions : marketing_region_code (text) , marketing_region_name (text) , marketing_region_descriptrion (text) , other_details (text) | clients : client_id (number) , address_id (number) , customer_email_address (text) , customer_name (text) , customer_phone (text) , other_details (text) | drama_workshop_groups : workshop_group_id (number) , address_id (number) , currency_code (text) , marketing_region_code (text) , store_name (text) , store_phone (text) , store_email_address (text) , other_details (text) | performers : performer_id (number) , address_id (number) , customer_name (text) , customer_phone (text) , customer_email_address (text) , other_details (text) | customers : customer_id (text) , address_id (number) , customer_name (text) , customer_phone (text) , customer_email_address (text) , other_details (text) | stores : store_id (text) , address_id (number) , marketing_region_code (text) , store_name (text) , store_phone (text) , store_email_address (text) , other_details (text) | bookings : booking_id (number) , customer_id (number) , workshop_group_id (text) , status_code (text) , store_id (number) , order_date (time) , planned_delivery_date (time) , actual_delivery_date (time) , other_order_details (text) | performers_in_bookings : order_id (number) , performer_id (number) | customer_orders : order_id (number) , customer_id (number) , store_id (number) , order_date (time) , planned_delivery_date (time) , actual_delivery_date (time) , other_order_details (text) | order_items : order_item_id (number) , order_id (number) , product_id (number) , order_quantity (text) , other_item_details (text) | invoices : invoice_id (number) , order_id (number) , payment_method_code (text) , product_id (number) , order_quantity (text) , other_item_details (text) , order_item_id (number) | services : service_id (number) , service_type_code (text) , workshop_group_id (number) , product_description (text) , product_name (text) , product_price (number) , other_product_service_details (text) | bookings_services : order_id (number) , product_id (number) | invoice_items : invoice_item_id (number) , invoice_id (number) , order_id (number) , order_item_id (number) , product_id (number) , order_quantity (number) , other_item_details (text)


Question: What are the phone and email for customer Harold?

ref_payment_methods : payment_method_code (text) , payment_method_description (text) | ref_service_types : service_type_code (text) , parent_service_type_code (text) , service_type_description (text) | addresses : address_id (text) , line_1 (text) , line_2 (text) , city_town (text) , state_county (text) , other_details (text) | products : product_id (text) , product_name (text) , product_price (number) , product_description (text) , other_product_service_details (text) | marketing_regions : marketing_region_code (text) , marketing_region_name (text) , marketing_region_descriptrion (text) , other_details (text) | clients : client_id (number) , address_id (number) , customer_email_address (text) , customer_name (text) , customer_phone (text) , other_details (text) | drama_workshop_groups : workshop_group_id (number) , address_id (number) , currency_code (text) , marketing_region_code (text) , store_name (text) , store_phone (text) , store_email_address (text) , other_details (text) | performers : performer_id (number) , address_id (number) , customer_name (text) , customer_phone (text) , customer_email_address (text) , other_details (text) | customers : customer_id (text) , address_id (number) , customer_name (text) , customer_phone (text) , customer_email_address (text) , other_details (text) | stores : store_id (text) , address_id (number) , marketing_region_code (text) , store_name (text) , store_phone (text) , store_email_address (text) , other_details (text) | bookings : booking_id (number) , customer_id (number) , workshop_group_id (text) , status_code (text) , store_id (number) , order_date (time) , planned_delivery_date (time) , actual_delivery_date (time) , other_order_details (text) | performers_in_bookings : order_id (number) , performer_id (number) | customer_orders : order_id (number) , customer_id (number) , store_id (number) , order_date (time) , planned_delivery_date (time) , actual_delivery_date (time) , other_order_details (text) | order_items : order_item_id (number) , order_id (number) , product_id (number) , order_quantity (text) , other_item_details (text) | invoices : invoice_id (number) , order_id (number) , payment_method_code (text) , product_id (number) , order_quantity (text) , other_item_details (text) , order_item_id (number) | services : service_id (number) , service_type_code (text) , workshop_group_id (number) , product_description (text) , product_name (text) , product_price (number) , other_product_service_details (text) | bookings_services : order_id (number) , product_id (number) | invoice_items : invoice_item_id (number) , invoice_id (number) , order_id (number) , order_item_id (number) , product_id (number) , order_quantity (number) , other_item_details (text)

customers : customer_phone (text) , customer_email_address (text) , customer_name (text) , customer_id (text)


Question: Find the phone number and email address of customer "Harold".

ref_payment_methods : payment_method_code (text) , payment_method_description (text) | ref_service_types : service_type_code (text) , parent_service_type_code (text) , service_type_description (text) | addresses : address_id (text) , line_1 (text) , line_2 (text) , city_town (text) , state_county (text) , other_details (text) | products : product_id (text) , product_name (text) , product_price (number) , product_description (text) , other_product_service_details (text) | marketing_regions : marketing_region_code (text) , marketing_region_name (text) , marketing_region_descriptrion (text) , other_details (text) | clients : client_id (number) , address_id (number) , customer_email_address (text) , customer_name (text) , customer_phone (text) , other_details (text) | drama_workshop_groups : workshop_group_id (number) , address_id (number) , currency_code (text) , marketing_region_code (text) , store_name (text) , store_phone (text) , store_email_address (text) , other_details (text) | performers : performer_id (number) , address_id (number) , customer_name (text) , customer_phone (text) , customer_email_address (text) , other_details (text) | customers : customer_id (text) , address_id (number) , customer_name (text) , customer_phone (text) , customer_email_address (text) , other_details (text) | stores : store_id (text) , address_id (number) , marketing_region_code (text) , store_name (text) , store_phone (text) , store_email_address (text) , other_details (text) | bookings : booking_id (number) , customer_id (number) , workshop_group_id (text) , status_code (text) , store_id (number) , order_date (time) , planned_delivery_date (time) , actual_delivery_date (time) , other_order_details (text) | performers_in_bookings : order_id (number) , performer_id (number) | customer_orders : order_id (number) , customer_id (number) , store_id (number) , order_date (time) , planned_delivery_date (time) , actual_delivery_date (time) , other_order_details (text) | order_items : order_item_id (number) , order_id (number) , product_id (number) , order_quantity (text) , other_item_details (text) | invoices : invoice_id (number) , order_id (number) , payment_method_code (text) , product_id (number) , order_quantity (text) , other_item_details (text) , order_item_id (number) | services : service_id (number) , service_type_code (text) , workshop_group_id (number) , product_description (text) , product_name (text) , product_price (number) , other_product_service_details (text) | bookings_services : order_id (number) , product_id (number) | invoice_items : invoice_item_id (number) , invoice_id (number) , order_id (number) , order_item_id (number) , product_id (number) , order_quantity (number) , other_item_details (text)

customers : customer_phone (text) , customer_email_address (text) , customer_name (text) , customer_id (text)


Question: Show all the Store_Name of drama workshop groups.

ref_payment_methods : payment_method_code (text) , payment_method_description (text) | ref_service_types : service_type_code (text) , parent_service_type_code (text) , service_type_description (text) | addresses : address_id (text) , line_1 (text) , line_2 (text) , city_town (text) , state_county (text) , other_details (text) | products : product_id (text) , product_name (text) , product_price (number) , product_description (text) , other_product_service_details (text) | marketing_regions : marketing_region_code (text) , marketing_region_name (text) , marketing_region_descriptrion (text) , other_details (text) | clients : client_id (number) , address_id (number) , customer_email_address (text) , customer_name (text) , customer_phone (text) , other_details (text) | drama_workshop_groups : workshop_group_id (number) , address_id (number) , currency_code (text) , marketing_region_code (text) , store_name (text) , store_phone (text) , store_email_address (text) , other_details (text) | performers : performer_id (number) , address_id (number) , customer_name (text) , customer_phone (text) , customer_email_address (text) , other_details (text) | customers : customer_id (text) , address_id (number) , customer_name (text) , customer_phone (text) , customer_email_address (text) , other_details (text) | stores : store_id (text) , address_id (number) , marketing_region_code (text) , store_name (text) , store_phone (text) , store_email_address (text) , other_details (text) | bookings : booking_id (number) , customer_id (number) , workshop_group_id (text) , status_code (text) , store_id (number) , order_date (time) , planned_delivery_date (time) , actual_delivery_date (time) , other_order_details (text) | performers_in_bookings : order_id (number) , performer_id (number) | customer_orders : order_id (number) , customer_id (number) , store_id (number) , order_date (time) , planned_delivery_date (time) , actual_delivery_date (time) , other_order_details (text) | order_items : order_item_id (number) , order_id (number) , product_id (number) , order_quantity (text) , other_item_details (text) | invoices : invoice_id (number) , order_id (number) , payment_method_code (text) , product_id (number) , order_quantity (text) , other_item_details (text) , order_item_id (number) | services : service_id (number) , service_type_code (text) , workshop_group_id (number) , product_description (text) , product_name (text) , product_price (number) , other_product_service_details (text) | bookings_services : order_id (number) , product_id (number) | invoice_items : invoice_item_id (number) , invoice_id (number) , order_id (number) , order_item_id (number) , product_id (number) , order_quantity (number) , other_item_details (text)

drama_workshop_groups : store_name (text) , workshop_group_id (number)


Question: What are the store names of drama workshop groups?

ref_payment_methods : payment_method_code (text) , payment_method_description (text) | ref_service_types : service_type_code (text) , parent_service_type_code (text) , service_type_description (text) | addresses : address_id (text) , line_1 (text) , line_2 (text) , city_town (text) , state_county (text) , other_details (text) | products : product_id (text) , product_name (text) , product_price (number) , product_description (text) , other_product_service_details (text) | marketing_regions : marketing_region_code (text) , marketing_region_name (text) , marketing_region_descriptrion (text) , other_details (text) | clients : client_id (number) , address_id (number) , customer_email_address (text) , customer_name (text) , customer_phone (text) , other_details (text) | drama_workshop_groups : workshop_group_id (number) , address_id (number) , currency_code (text) , marketing_region_code (text) , store_name (text) , store_phone (text) , store_email_address (text) , other_details (text) | performers : performer_id (number) , address_id (number) , customer_name (text) , customer_phone (text) , customer_email_address (text) , other_details (text) | customers : customer_id (text) , address_id (number) , customer_name (text) , customer_phone (text) , customer_email_address (text) , other_details (text) | stores : store_id (text) , address_id (number) , marketing_region_code (text) , store_name (text) , store_phone (text) , store_email_address (text) , other_details (text) | bookings : booking_id (number) , customer_id (number) , workshop_group_id (text) , status_code (text) , store_id (number) , order_date (time) , planned_delivery_date (time) , actual_delivery_date (time) , other_order_details (text) | performers_in_bookings : order_id (number) , performer_id (number) | customer_orders : order_id (number) , customer_id (number) , store_id (number) , order_date (time) , planned_delivery_date (time) , actual_delivery_date (time) , other_order_details (text) | order_items : order_item_id (number) , order_id (number) , product_id (number) , order_quantity (text) , other_item_details (text) | invoices : invoice_id (number) , order_id (number) , payment_method_code (text) , product_id (number) , order_quantity (text) , other_item_details (text) , order_item_id (number) | services : service_id (number) , service_type_code (text) , workshop_group_id (number) , product_description (text) , product_name (text) , product_price (number) , other_product_service_details (text) | bookings_services : order_id (number) , product_id (number) | invoice_items : invoice_item_id (number) , invoice_id (number) , order_id (number) , order_item_id (number) , product_id (number) , order_quantity (number) , other_item_details (text)

drama_workshop_groups : store_name (text) , workshop_group_id (number)


Question: Show the minimum, average, maximum order quantity of all invoices.

ref_payment_methods : payment_method_code (text) , payment_method_description (text) | ref_service_types : service_type_code (text) , parent_service_type_code (text) , service_type_description (text) | addresses : address_id (text) , line_1 (text) , line_2 (text) , city_town (text) , state_county (text) , other_details (text) | products : product_id (text) , product_name (text) , product_price (number) , product_description (text) , other_product_service_details (text) | marketing_regions : marketing_region_code (text) , marketing_region_name (text) , marketing_region_descriptrion (text) , other_details (text) | clients : client_id (number) , address_id (number) , customer_email_address (text) , customer_name (text) , customer_phone (text) , other_details (text) | drama_workshop_groups : workshop_group_id (number) , address_id (number) , currency_code (text) , marketing_region_code (text) , store_name (text) , store_phone (text) , store_email_address (text) , other_details (text) | performers : performer_id (number) , address_id (number) , customer_name (text) , customer_phone (text) , customer_email_address (text) , other_details (text) | customers : customer_id (text) , address_id (number) , customer_name (text) , customer_phone (text) , customer_email_address (text) , other_details (text) | stores : store_id (text) , address_id (number) , marketing_region_code (text) , store_name (text) , store_phone (text) , store_email_address (text) , other_details (text) | bookings : booking_id (number) , customer_id (number) , workshop_group_id (text) , status_code (text) , store_id (number) , order_date (time) , planned_delivery_date (time) , actual_delivery_date (time) , other_order_details (text) | performers_in_bookings : order_id (number) , performer_id (number) | customer_orders : order_id (number) , customer_id (number) , store_id (number) , order_date (time) , planned_delivery_date (time) , actual_delivery_date (time) , other_order_details (text) | order_items : order_item_id (number) , order_id (number) , product_id (number) , order_quantity (text) , other_item_details (text) | invoices : invoice_id (number) , order_id (number) , payment_method_code (text) , product_id (number) , order_quantity (text) , other_item_details (text) , order_item_id (number) | services : service_id (number) , service_type_code (text) , workshop_group_id (number) , product_description (text) , product_name (text) , product_price (number) , other_product_service_details (text) | bookings_services : order_id (number) , product_id (number) | invoice_items : invoice_item_id (number) , invoice_id (number) , order_id (number) , order_item_id (number) , product_id (number) , order_quantity (number) , other_item_details (text)

invoices : order_quantity (text) , invoice_id (number)


Question: What are the minimum, average, and maximum quantities ordered? Check all the invoices.

ref_payment_methods : payment_method_code (text) , payment_method_description (text) | ref_service_types : service_type_code (text) , parent_service_type_code (text) , service_type_description (text) | addresses : address_id (text) , line_1 (text) , line_2 (text) , city_town (text) , state_county (text) , other_details (text) | products : product_id (text) , product_name (text) , product_price (number) , product_description (text) , other_product_service_details (text) | marketing_regions : marketing_region_code (text) , marketing_region_name (text) , marketing_region_descriptrion (text) , other_details (text) | clients : client_id (number) , address_id (number) , customer_email_address (text) , customer_name (text) , customer_phone (text) , other_details (text) | drama_workshop_groups : workshop_group_id (number) , address_id (number) , currency_code (text) , marketing_region_code (text) , store_name (text) , store_phone (text) , store_email_address (text) , other_details (text) | performers : performer_id (number) , address_id (number) , customer_name (text) , customer_phone (text) , customer_email_address (text) , other_details (text) | customers : customer_id (text) , address_id (number) , customer_name (text) , customer_phone (text) , customer_email_address (text) , other_details (text) | stores : store_id (text) , address_id (number) , marketing_region_code (text) , store_name (text) , store_phone (text) , store_email_address (text) , other_details (text) | bookings : booking_id (number) , customer_id (number) , workshop_group_id (text) , status_code (text) , store_id (number) , order_date (time) , planned_delivery_date (time) , actual_delivery_date (time) , other_order_details (text) | performers_in_bookings : order_id (number) , performer_id (number) | customer_orders : order_id (number) , customer_id (number) , store_id (number) , order_date (time) , planned_delivery_date (time) , actual_delivery_date (time) , other_order_details (text) | order_items : order_item_id (number) , order_id (number) , product_id (number) , order_quantity (text) , other_item_details (text) | invoices : invoice_id (number) , order_id (number) , payment_method_code (text) , product_id (number) , order_quantity (text) , other_item_details (text) , order_item_id (number) | services : service_id (number) , service_type_code (text) , workshop_group_id (number) , product_description (text) , product_name (text) , product_price (number) , other_product_service_details (text) | bookings_services : order_id (number) , product_id (number) | invoice_items : invoice_item_id (number) , invoice_id (number) , order_id (number) , order_item_id (number) , product_id (number) , order_quantity (number) , other_item_details (text)

invoices : order_quantity (text) , invoice_id (number)


Question: What are the distinct payment method codes in all the invoices?

ref_payment_methods : payment_method_code (text) , payment_method_description (text) | ref_service_types : service_type_code (text) , parent_service_type_code (text) , service_type_description (text) | addresses : address_id (text) , line_1 (text) , line_2 (text) , city_town (text) , state_county (text) , other_details (text) | products : product_id (text) , product_name (text) , product_price (number) , product_description (text) , other_product_service_details (text) | marketing_regions : marketing_region_code (text) , marketing_region_name (text) , marketing_region_descriptrion (text) , other_details (text) | clients : client_id (number) , address_id (number) , customer_email_address (text) , customer_name (text) , customer_phone (text) , other_details (text) | drama_workshop_groups : workshop_group_id (number) , address_id (number) , currency_code (text) , marketing_region_code (text) , store_name (text) , store_phone (text) , store_email_address (text) , other_details (text) | performers : performer_id (number) , address_id (number) , customer_name (text) , customer_phone (text) , customer_email_address (text) , other_details (text) | customers : customer_id (text) , address_id (number) , customer_name (text) , customer_phone (text) , customer_email_address (text) , other_details (text) | stores : store_id (text) , address_id (number) , marketing_region_code (text) , store_name (text) , store_phone (text) , store_email_address (text) , other_details (text) | bookings : booking_id (number) , customer_id (number) , workshop_group_id (text) , status_code (text) , store_id (number) , order_date (time) , planned_delivery_date (time) , actual_delivery_date (time) , other_order_details (text) | performers_in_bookings : order_id (number) , performer_id (number) | customer_orders : order_id (number) , customer_id (number) , store_id (number) , order_date (time) , planned_delivery_date (time) , actual_delivery_date (time) , other_order_details (text) | order_items : order_item_id (number) , order_id (number) , product_id (number) , order_quantity (text) , other_item_details (text) | invoices : invoice_id (number) , order_id (number) , payment_method_code (text) , product_id (number) , order_quantity (text) , other_item_details (text) , order_item_id (number) | services : service_id (number) , service_type_code (text) , workshop_group_id (number) , product_description (text) , product_name (text) , product_price (number) , other_product_service_details (text) | bookings_services : order_id (number) , product_id (number) | invoice_items : invoice_item_id (number) , invoice_id (number) , order_id (number) , order_item_id (number) , product_id (number) , order_quantity (number) , other_item_details (text)

invoices : payment_method_code (text) , invoice_id (number)


Question: Show me the distinct payment method codes from the invoice record.

ref_payment_methods : payment_method_code (text) , payment_method_description (text) | ref_service_types : service_type_code (text) , parent_service_type_code (text) , service_type_description (text) | addresses : address_id (text) , line_1 (text) , line_2 (text) , city_town (text) , state_county (text) , other_details (text) | products : product_id (text) , product_name (text) , product_price (number) , product_description (text) , other_product_service_details (text) | marketing_regions : marketing_region_code (text) , marketing_region_name (text) , marketing_region_descriptrion (text) , other_details (text) | clients : client_id (number) , address_id (number) , customer_email_address (text) , customer_name (text) , customer_phone (text) , other_details (text) | drama_workshop_groups : workshop_group_id (number) , address_id (number) , currency_code (text) , marketing_region_code (text) , store_name (text) , store_phone (text) , store_email_address (text) , other_details (text) | performers : performer_id (number) , address_id (number) , customer_name (text) , customer_phone (text) , customer_email_address (text) , other_details (text) | customers : customer_id (text) , address_id (number) , customer_name (text) , customer_phone (text) , customer_email_address (text) , other_details (text) | stores : store_id (text) , address_id (number) , marketing_region_code (text) , store_name (text) , store_phone (text) , store_email_address (text) , other_details (text) | bookings : booking_id (number) , customer_id (number) , workshop_group_id (text) , status_code (text) , store_id (number) , order_date (time) , planned_delivery_date (time) , actual_delivery_date (time) , other_order_details (text) | performers_in_bookings : order_id (number) , performer_id (number) | customer_orders : order_id (number) , customer_id (number) , store_id (number) , order_date (time) , planned_delivery_date (time) , actual_delivery_date (time) , other_order_details (text) | order_items : order_item_id (number) , order_id (number) , product_id (number) , order_quantity (text) , other_item_details (text) | invoices : invoice_id (number) , order_id (number) , payment_method_code (text) , product_id (number) , order_quantity (text) , other_item_details (text) , order_item_id (number) | services : service_id (number) , service_type_code (text) , workshop_group_id (number) , product_description (text) , product_name (text) , product_price (number) , other_product_service_details (text) | bookings_services : order_id (number) , product_id (number) | invoice_items : invoice_item_id (number) , invoice_id (number) , order_id (number) , order_item_id (number) , product_id (number) , order_quantity (number) , other_item_details (text)

invoices : payment_method_code (text) , invoice_id (number)


Question: What is the description of the marketing region China?

ref_payment_methods : payment_method_code (text) , payment_method_description (text) | ref_service_types : service_type_code (text) , parent_service_type_code (text) , service_type_description (text) | addresses : address_id (text) , line_1 (text) , line_2 (text) , city_town (text) , state_county (text) , other_details (text) | products : product_id (text) , product_name (text) , product_price (number) , product_description (text) , other_product_service_details (text) | marketing_regions : marketing_region_code (text) , marketing_region_name (text) , marketing_region_descriptrion (text) , other_details (text) | clients : client_id (number) , address_id (number) , customer_email_address (text) , customer_name (text) , customer_phone (text) , other_details (text) | drama_workshop_groups : workshop_group_id (number) , address_id (number) , currency_code (text) , marketing_region_code (text) , store_name (text) , store_phone (text) , store_email_address (text) , other_details (text) | performers : performer_id (number) , address_id (number) , customer_name (text) , customer_phone (text) , customer_email_address (text) , other_details (text) | customers : customer_id (text) , address_id (number) , customer_name (text) , customer_phone (text) , customer_email_address (text) , other_details (text) | stores : store_id (text) , address_id (number) , marketing_region_code (text) , store_name (text) , store_phone (text) , store_email_address (text) , other_details (text) | bookings : booking_id (number) , customer_id (number) , workshop_group_id (text) , status_code (text) , store_id (number) , order_date (time) , planned_delivery_date (time) , actual_delivery_date (time) , other_order_details (text) | performers_in_bookings : order_id (number) , performer_id (number) | customer_orders : order_id (number) , customer_id (number) , store_id (number) , order_date (time) , planned_delivery_date (time) , actual_delivery_date (time) , other_order_details (text) | order_items : order_item_id (number) , order_id (number) , product_id (number) , order_quantity (text) , other_item_details (text) | invoices : invoice_id (number) , order_id (number) , payment_method_code (text) , product_id (number) , order_quantity (text) , other_item_details (text) , order_item_id (number) | services : service_id (number) , service_type_code (text) , workshop_group_id (number) , product_description (text) , product_name (text) , product_price (number) , other_product_service_details (text) | bookings_services : order_id (number) , product_id (number) | invoice_items : invoice_item_id (number) , invoice_id (number) , order_id (number) , order_item_id (number) , product_id (number) , order_quantity (number) , other_item_details (text)

marketing_regions : marketing_region_descriptrion (text) , marketing_region_name (text) , marketing_region_code (text)


Question: Find the marketing region description of China?

ref_payment_methods : payment_method_code (text) , payment_method_description (text) | ref_service_types : service_type_code (text) , parent_service_type_code (text) , service_type_description (text) | addresses : address_id (text) , line_1 (text) , line_2 (text) , city_town (text) , state_county (text) , other_details (text) | products : product_id (text) , product_name (text) , product_price (number) , product_description (text) , other_product_service_details (text) | marketing_regions : marketing_region_code (text) , marketing_region_name (text) , marketing_region_descriptrion (text) , other_details (text) | clients : client_id (number) , address_id (number) , customer_email_address (text) , customer_name (text) , customer_phone (text) , other_details (text) | drama_workshop_groups : workshop_group_id (number) , address_id (number) , currency_code (text) , marketing_region_code (text) , store_name (text) , store_phone (text) , store_email_address (text) , other_details (text) | performers : performer_id (number) , address_id (number) , customer_name (text) , customer_phone (text) , customer_email_address (text) , other_details (text) | customers : customer_id (text) , address_id (number) , customer_name (text) , customer_phone (text) , customer_email_address (text) , other_details (text) | stores : store_id (text) , address_id (number) , marketing_region_code (text) , store_name (text) , store_phone (text) , store_email_address (text) , other_details (text) | bookings : booking_id (number) , customer_id (number) , workshop_group_id (text) , status_code (text) , store_id (number) , order_date (time) , planned_delivery_date (time) , actual_delivery_date (time) , other_order_details (text) | performers_in_bookings : order_id (number) , performer_id (number) | customer_orders : order_id (number) , customer_id (number) , store_id (number) , order_date (time) , planned_delivery_date (time) , actual_delivery_date (time) , other_order_details (text) | order_items : order_item_id (number) , order_id (number) , product_id (number) , order_quantity (text) , other_item_details (text) | invoices : invoice_id (number) , order_id (number) , payment_method_code (text) , product_id (number) , order_quantity (text) , other_item_details (text) , order_item_id (number) | services : service_id (number) , service_type_code (text) , workshop_group_id (number) , product_description (text) , product_name (text) , product_price (number) , other_product_service_details (text) | bookings_services : order_id (number) , product_id (number) | invoice_items : invoice_item_id (number) , invoice_id (number) , order_id (number) , order_item_id (number) , product_id (number) , order_quantity (number) , other_item_details (text)

marketing_regions : marketing_region_descriptrion (text) , marketing_region_name (text) , marketing_region_code (text)


Question: Show all the distinct product names with price higher than the average.

ref_payment_methods : payment_method_code (text) , payment_method_description (text) | ref_service_types : service_type_code (text) , parent_service_type_code (text) , service_type_description (text) | addresses : address_id (text) , line_1 (text) , line_2 (text) , city_town (text) , state_county (text) , other_details (text) | products : product_id (text) , product_name (text) , product_price (number) , product_description (text) , other_product_service_details (text) | marketing_regions : marketing_region_code (text) , marketing_region_name (text) , marketing_region_descriptrion (text) , other_details (text) | clients : client_id (number) , address_id (number) , customer_email_address (text) , customer_name (text) , customer_phone (text) , other_details (text) | drama_workshop_groups : workshop_group_id (number) , address_id (number) , currency_code (text) , marketing_region_code (text) , store_name (text) , store_phone (text) , store_email_address (text) , other_details (text) | performers : performer_id (number) , address_id (number) , customer_name (text) , customer_phone (text) , customer_email_address (text) , other_details (text) | customers : customer_id (text) , address_id (number) , customer_name (text) , customer_phone (text) , customer_email_address (text) , other_details (text) | stores : store_id (text) , address_id (number) , marketing_region_code (text) , store_name (text) , store_phone (text) , store_email_address (text) , other_details (text) | bookings : booking_id (number) , customer_id (number) , workshop_group_id (text) , status_code (text) , store_id (number) , order_date (time) , planned_delivery_date (time) , actual_delivery_date (time) , other_order_details (text) | performers_in_bookings : order_id (number) , performer_id (number) | customer_orders : order_id (number) , customer_id (number) , store_id (number) , order_date (time) , planned_delivery_date (time) , actual_delivery_date (time) , other_order_details (text) | order_items : order_item_id (number) , order_id (number) , product_id (number) , order_quantity (text) , other_item_details (text) | invoices : invoice_id (number) , order_id (number) , payment_method_code (text) , product_id (number) , order_quantity (text) , other_item_details (text) , order_item_id (number) | services : service_id (number) , service_type_code (text) , workshop_group_id (number) , product_description (text) , product_name (text) , product_price (number) , other_product_service_details (text) | bookings_services : order_id (number) , product_id (number) | invoice_items : invoice_item_id (number) , invoice_id (number) , order_id (number) , order_item_id (number) , product_id (number) , order_quantity (number) , other_item_details (text)

products : product_name (text) , product_price (number) , product_id (text)