db_id
stringclasses 140
values | question
stringlengths 16
224
| schema
stringclasses 140
values | summarized-schema
stringlengths 18
304
| shrink-score
float64 0
1
|
---|---|---|---|---|
soccer_2
|
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)
| 0.454545 |
soccer_2
|
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)
| 0.636364 |
soccer_2
|
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)
| 0.636364 |
soccer_2
|
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)
| 0.636364 |
soccer_2
|
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)
| 0.636364 |
soccer_2
|
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)
| 0.636364 |
soccer_2
|
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)
| 0.636364 |
soccer_2
|
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)
| 0.636364 |
soccer_2
|
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)
| 0.636364 |
soccer_2
|
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)
| 0.727273 |
soccer_2
|
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)
| 0.727273 |
soccer_2
|
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)
| 0.454545 |
soccer_2
|
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)
| 0.454545 |
soccer_2
|
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)
| 0.545455 |
soccer_2
|
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)
| 0.545455 |
soccer_2
|
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)
| 0.727273 |
soccer_2
|
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)
| 0.727273 |
soccer_2
|
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)
| 0.818182 |
soccer_2
|
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)
| 0.818182 |
soccer_2
|
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)
| 0.636364 |
soccer_2
|
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)
| 0.636364 |
soccer_2
|
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)
| 0.727273 |
soccer_2
|
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)
| 0.727273 |
soccer_2
|
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)
| 0.818182 |
soccer_2
|
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)
| 0.818182 |
soccer_2
|
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)
| 0.636364 |
soccer_2
|
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)
| 0.636364 |
soccer_2
|
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)
| 0.545455 |
soccer_2
|
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)
| 0.545455 |
soccer_2
|
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)
| 0.818182 |
soccer_2
|
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)
| 0.818182 |
soccer_2
|
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)
| 0.727273 |
soccer_2
|
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)
| 0.727273 |
soccer_2
|
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)
| 0.727273 |
soccer_2
|
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)
| 0.727273 |
soccer_2
|
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)
| 0.636364 |
soccer_2
|
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)
| 0.636364 |
soccer_2
|
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)
| 0.818182 |
soccer_2
|
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)
| 0.818182 |
soccer_2
|
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)
| 0.818182 |
soccer_2
|
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)
| 0.818182 |
device
|
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)
| 0.857143 |
device
|
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)
| 0.857143 |
device
|
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)
| 0.857143 |
device
|
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)
| 0.857143 |
device
|
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)
| 0.785714 |
device
|
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)
| 0.785714 |
device
|
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)
| 0.857143 |
device
|
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)
| 0.857143 |
device
|
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)
| 0.928571 |
device
|
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)
| 0.928571 |
device
|
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)
| 0.857143 |
device
|
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)
| 0.857143 |
device
|
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)
| 0.857143 |
device
|
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)
| 0.857143 |
device
|
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)
| 0.785714 |
device
|
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)
| 0.785714 |
device
|
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)
| 0.857143 |
device
|
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)
| 0.857143 |
device
|
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)
| 0.5 |
device
|
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)
| 0.5 |
device
|
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)
| 0.785714 |
device
|
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)
| 0.785714 |
device
|
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)
| 0.785714 |
device
|
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)
| 0.785714 |
device
|
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)
| 0.714286 |
device
|
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)
| 0.714286 |
device
|
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)
| 0.785714 |
device
|
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)
| 0.785714 |
device
|
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)
| 0.785714 |
device
|
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)
| 0.785714 |
device
|
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)
| 0.785714 |
device
|
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)
| 0.785714 |
device
|
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)
| 0.785714 |
device
|
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)
| 0.785714 |
device
|
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)
| 0.857143 |
device
|
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)
| 0.857143 |
device
|
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)
| 0.714286 |
device
|
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)
| 0.714286 |
device
|
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)
| 0.642857 |
device
|
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)
| 0.642857 |
cre_Drama_Workshop_Groups
|
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)
|
bookings : booking_id (number)
| 0.989899 |
cre_Drama_Workshop_Groups
|
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)
|
bookings : booking_id (number)
| 0.989899 |
cre_Drama_Workshop_Groups
|
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)
| 0.989899 |
cre_Drama_Workshop_Groups
|
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)
| 0.989899 |
cre_Drama_Workshop_Groups
|
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)
| 0.979798 |
cre_Drama_Workshop_Groups
|
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)
| 0.979798 |
cre_Drama_Workshop_Groups
|
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)
|
customers : customer_id (text)
| 0.989899 |
cre_Drama_Workshop_Groups
|
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)
|
customers : customer_id (text)
| 0.989899 |
cre_Drama_Workshop_Groups
|
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)
| 0.969697 |
cre_Drama_Workshop_Groups
|
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)
| 0.969697 |
cre_Drama_Workshop_Groups
|
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)
| 0.989899 |
cre_Drama_Workshop_Groups
|
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)
| 0.989899 |
cre_Drama_Workshop_Groups
|
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)
| 0.989899 |
cre_Drama_Workshop_Groups
|
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)
| 0.989899 |
cre_Drama_Workshop_Groups
|
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)
| 0.989899 |
cre_Drama_Workshop_Groups
|
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)
| 0.989899 |
cre_Drama_Workshop_Groups
|
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)
| 0.979798 |
cre_Drama_Workshop_Groups
|
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)
| 0.979798 |
cre_Drama_Workshop_Groups
|
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)
| 0.979798 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.