db_id
stringlengths 4
31
| text
stringlengths 370
4.84k
|
---|---|
soccer_2 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: Find the name of all students who were in the tryout sorted in alphabetic order. | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid |
### Response:
select player.pname from player join tryout on player.pid = tryout.pid order by player.pname asc |
soccer_2 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What are the names of all students who tried out in alphabetical order? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid |
### Response:
select player.pname from player join tryout on player.pid = tryout.pid order by player.pname asc |
soccer_2 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: Find the name and hours of the students whose tryout decision is yes. | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid |
### Response:
select player.pname , player.hs from player join tryout on player.pid = tryout.pid where tryout.decision = 'yes' |
soccer_2 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What are the names and hours spent practicing of every student who received a yes at tryouts? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid |
### Response:
select player.pname , player.hs from player join tryout on player.pid = tryout.pid where tryout.decision = 'yes' |
soccer_2 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: Find the states of the colleges that have students in the tryout who played in striker position. | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid |
### Response:
select college.state from college join tryout on college.cname = tryout.cname where tryout.ppos = 'striker' |
soccer_2 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What are the states of the colleges where students who tried out for the striker position attend? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid |
### Response:
select college.state from college join tryout on college.cname = tryout.cname where tryout.ppos = 'striker' |
soccer_2 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: Find the names of the students who are in the position of striker and got a yes tryout decision. | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid |
### Response:
select player.pname from player join tryout on player.pid = tryout.pid where tryout.decision = 'yes' and tryout.ppos = 'striker' |
soccer_2 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What are the names of all students who successfully tried out for the position of striker? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid |
### Response:
select player.pname from player join tryout on player.pid = tryout.pid where tryout.decision = 'yes' and tryout.ppos = 'striker' |
soccer_2 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: Find the state of the college which player Charles is attending. | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid |
### Response:
select college.state from college join tryout on college.cname = tryout.cname join player on tryout.pid = player.pid where player.pname = 'Charles' |
soccer_2 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: In which state is the college that Charles attends? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid |
### Response:
select college.state from college join tryout on college.cname = tryout.cname join player on tryout.pid = player.pid where player.pname = 'Charles' |
soccer_2 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: Find the average and maximum hours for the students whose tryout decision is yes. | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid |
### Response:
select avg ( player.hs ) , max ( player.hs ) from player join tryout on player.pid = tryout.pid where tryout.decision = 'yes' |
soccer_2 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What is the average and maximum number of hours students who made the team practiced? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid |
### Response:
select avg ( player.hs ) , max ( player.hs ) from player join tryout on player.pid = tryout.pid where tryout.decision = 'yes' |
soccer_2 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: Find the average hours for the students whose tryout decision is no. | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid |
### Response:
select avg ( player.hs ) from player join tryout on player.pid = tryout.pid where tryout.decision = 'no' |
soccer_2 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What is the average number of hours spent practicing for students who got rejected? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid |
### Response:
select avg ( player.hs ) from player join tryout on player.pid = tryout.pid where tryout.decision = 'no' |
soccer_2 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What is the maximum training hours for the students whose training hours is greater than 1000 in different positions? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid |
### Response:
select max ( player.hs ) , ppos from player join tryout on player.pid = tryout.pid where player.hs > 1000 group by tryout.ppos |
soccer_2 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: For each position, what is the maximum number of hours for students who spent more than 1000 hours training? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid |
### Response:
select max ( player.hs ) , ppos from player join tryout on player.pid = tryout.pid where player.hs > 1000 group by tryout.ppos |
soccer_2 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: Which colleges do the tryout players whose name starts with letter D go to? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid |
### Response:
select tryout.cname from tryout join player on tryout.pid = player.pid where player.pname like 'D%' |
soccer_2 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: Which colleges does each player with a name that starts with the letter D who tried out go to? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid |
### Response:
select tryout.cname from tryout join player on tryout.pid = player.pid where player.pname like 'D%' |
soccer_2 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: Which college has any student who is a goalie and succeeded in the tryout. | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid |
### Response:
select cname from tryout where decision = 'yes' and ppos = 'goalie' |
soccer_2 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What college has a student who successfully made the team in the role of a goalie? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid |
### Response:
select cname from tryout where decision = 'yes' and ppos = 'goalie' |
soccer_2 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: Find the name of the tryout players who are from the college with largest size. | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid |
### Response:
select player.pname from tryout join player on tryout.pid = player.pid where tryout.cname = ( select cname from college order by enr desc limit 1 ) |
soccer_2 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What are the names of all tryout participants who are from the largest college? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid |
### Response:
select player.pname from tryout join player on tryout.pid = player.pid where tryout.cname = ( select cname from college order by enr desc limit 1 ) |
soccer_2 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What is the state and enrollment of the colleges where have any students who got accepted in the tryout decision. | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid |
### Response:
select distinct college.state , college.enr from college join tryout on college.cname = tryout.cname where tryout.decision = 'yes' |
soccer_2 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: How many students are enrolled in colleges that have student accepted during tryouts, and in which states are those colleges? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid |
### Response:
select distinct college.state , college.enr from college join tryout on college.cname = tryout.cname where tryout.decision = 'yes' |
soccer_2 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: Find the names of either colleges in LA with greater than 15000 size or in state AZ with less than 13000 enrollment. | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid |
### Response:
select cname from college where enr < 13000 and state = 'AZ' union select cname from college where enr > 15000 and state = 'LA' |
soccer_2 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: 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 , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid |
### Response:
select cname from college where enr < 13000 and state = 'AZ' union select cname from college where enr > 15000 and state = 'LA' |
soccer_2 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: Find the names of schools that have some students playing in goalie and mid positions. | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid |
### Response:
select cname from tryout where ppos = 'goalie' intersect select cname from tryout where ppos = 'mid' |
soccer_2 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What are the names of all schools that have students trying out for the position of goal and 'mid'-field. | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid |
### Response:
select cname from tryout where ppos = 'goalie' intersect select cname from tryout where ppos = 'mid' |
soccer_2 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: Find the names of states that have some college students playing in goalie and mid positions. | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid |
### Response:
select college.state from college join tryout on college.cname = tryout.cname where tryout.ppos = 'goalie' intersect select college.state from college join tryout on college.cname = tryout.cname where tryout.ppos = 'mid' |
soccer_2 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What are the names of the states that have some college students playing in the positions of goalie and mid-field? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid |
### Response:
select college.state from college join tryout on college.cname = tryout.cname where tryout.ppos = 'goalie' intersect select college.state from college join tryout on college.cname = tryout.cname where tryout.ppos = 'mid' |
soccer_2 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: How many schools have some students playing in goalie and mid positions. | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid |
### Response:
select count ( * ) from ( select cname from tryout where ppos = 'goalie' intersect select cname from tryout where ppos = 'mid' ) |
soccer_2 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: How many schools have students playing in goalie and mid-field positions? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid |
### Response:
select count ( * ) from ( select cname from tryout where ppos = 'goalie' intersect select cname from tryout where ppos = 'mid' ) |
soccer_2 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: Find the names of schools that have some players in the mid position but not in the goalie position. | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid |
### Response:
select cname from tryout where ppos = 'mid' except select cname from tryout where ppos = 'goalie' |
soccer_2 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What are the names of the schools with some players in the mid position but no goalies? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid |
### Response:
select cname from tryout where ppos = 'mid' except select cname from tryout where ppos = 'goalie' |
soccer_2 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: Find the names of states that have some college students playing in the mid position but not in the goalie position. | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid |
### Response:
select college.state from college join tryout on college.cname = tryout.cname where tryout.ppos = 'mid' except select college.state from college join tryout on college.cname = tryout.cname where tryout.ppos = 'goalie' |
soccer_2 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What are the names of all the states with college students playing in the mid position but no goalies? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid |
### Response:
select college.state from college join tryout on college.cname = tryout.cname where tryout.ppos = 'mid' except select college.state from college join tryout on college.cname = tryout.cname where tryout.ppos = 'goalie' |
soccer_2 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: How many states that have some college students playing in the mid position but not in the goalie position. | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid |
### Response:
select count ( * ) from ( select college.state from college join tryout on college.cname = tryout.cname where tryout.ppos = 'mid' except select college.state from college join tryout on college.cname = tryout.cname where tryout.ppos = 'goalie' ) |
soccer_2 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What is the count of states with college students playing in the mid position but not as goalies? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid |
### Response:
select count ( * ) from ( select college.state from college join tryout on college.cname = tryout.cname where tryout.ppos = 'mid' except select college.state from college join tryout on college.cname = tryout.cname where tryout.ppos = 'goalie' ) |
soccer_2 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: Find the states where have the colleges whose enrollments are less than the largest size. | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid |
### Response:
select distinct state from college where enr < ( select max ( enr ) from college ) |
soccer_2 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What are the states with colleges that have enrollments less than the some other college? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid |
### Response:
select distinct state from college where enr < ( select max ( enr ) from college ) |
soccer_2 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: Find names of colleges with enrollment greater than that of some (at least one) college in the FL state. | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid |
### Response:
select distinct cname from college where enr > ( select min ( enr ) from college where state = 'FL' ) |
soccer_2 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What are the names of the colleges that are larger than at least one college in Florida? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid |
### Response:
select distinct cname from college where enr > ( select min ( enr ) from college where state = 'FL' ) |
soccer_2 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: Find names of all colleges whose enrollment is greater than that of all colleges in the FL state. | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid |
### Response:
select cname from college where enr > ( select max ( enr ) from college where state = 'FL' ) |
soccer_2 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What are the names of all colleges with a larger enrollment than the largest college in Florida? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid |
### Response:
select cname from college where enr > ( select max ( enr ) from college where state = 'FL' ) |
soccer_2 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What is the total number of enrollment of schools that do not have any goalie player? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid |
### Response:
select sum ( enr ) from college where cname not in ( select cname from tryout where ppos = 'goalie' ) |
soccer_2 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What is the total number of students enrolled in schools without any goalies? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid |
### Response:
select sum ( enr ) from college where cname not in ( select cname from tryout where ppos = 'goalie' ) |
soccer_2 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What is the number of states that has some college whose enrollment is larger than the average enrollment? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid |
### Response:
select count ( distinct state ) from college where enr > ( select avg ( enr ) from college ) |
soccer_2 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: How many states have a college with more students than average? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid |
### Response:
select count ( distinct state ) from college where enr > ( select avg ( enr ) from college ) |
soccer_2 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What is the number of states that has some colleges whose enrollment is smaller than the average enrollment? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid |
### Response:
select count ( distinct state ) from college where enr < ( select avg ( enr ) from college ) |
soccer_2 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: How many states have smaller colleges than average? | college : cname , state , enr | player : pid , pname , ycard , hs | tryout : pid , cname , ppos , decision | tryout.cname = college.cname | tryout.pid = player.pid |
### Response:
select count ( distinct state ) from college where enr < ( select avg ( enr ) from college ) |
device | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: How many devices are there? | device : device_id , device , carrier , package_version , applications , software_platform | shop : shop_id , shop_name , location , open_date , open_year | stock : shop_id , device_id , quantity | stock.device_id = device.device_id | stock.shop_id = shop.shop_id |
### Response:
select count ( * ) from device |
device | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: Count the number of devices. | device : device_id , device , carrier , package_version , applications , software_platform | shop : shop_id , shop_name , location , open_date , open_year | stock : shop_id , device_id , quantity | stock.device_id = device.device_id | stock.shop_id = shop.shop_id |
### Response:
select count ( * ) from device |
device | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: List the carriers of devices in ascending alphabetical order. | device : device_id , device , carrier , package_version , applications , software_platform | shop : shop_id , shop_name , location , open_date , open_year | stock : shop_id , device_id , quantity | stock.device_id = device.device_id | stock.shop_id = shop.shop_id |
### Response:
select carrier from device order by carrier asc |
device | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What are the different carriers for devices, listed in alphabetical order? | device : device_id , device , carrier , package_version , applications , software_platform | shop : shop_id , shop_name , location , open_date , open_year | stock : shop_id , device_id , quantity | stock.device_id = device.device_id | stock.shop_id = shop.shop_id |
### Response:
select carrier from device order by carrier asc |
device | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What are the carriers of devices whose software platforms are not "Android"? | device : device_id , device , carrier , package_version , applications , software_platform | shop : shop_id , shop_name , location , open_date , open_year | stock : shop_id , device_id , quantity | stock.device_id = device.device_id | stock.shop_id = shop.shop_id |
### Response:
select carrier from device where software_platform != 'Android' |
device | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: Return the device carriers that do not have Android as their software platform. | device : device_id , device , carrier , package_version , applications , software_platform | shop : shop_id , shop_name , location , open_date , open_year | stock : shop_id , device_id , quantity | stock.device_id = device.device_id | stock.shop_id = shop.shop_id |
### Response:
select carrier from device where software_platform != 'Android' |
device | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What are the names of shops in ascending order of open year? | device : device_id , device , carrier , package_version , applications , software_platform | shop : shop_id , shop_name , location , open_date , open_year | stock : shop_id , device_id , quantity | stock.device_id = device.device_id | stock.shop_id = shop.shop_id |
### Response:
select shop_name from shop order by open_year asc |
device | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: Return the names of shops, ordered by year of opening ascending. | device : device_id , device , carrier , package_version , applications , software_platform | shop : shop_id , shop_name , location , open_date , open_year | stock : shop_id , device_id , quantity | stock.device_id = device.device_id | stock.shop_id = shop.shop_id |
### Response:
select shop_name from shop order by open_year asc |
device | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What is the average quantity of stocks? | device : device_id , device , carrier , package_version , applications , software_platform | shop : shop_id , shop_name , location , open_date , open_year | stock : shop_id , device_id , quantity | stock.device_id = device.device_id | stock.shop_id = shop.shop_id |
### Response:
select avg ( quantity ) from stock |
device | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: Give the average quantity of stocks. | device : device_id , device , carrier , package_version , applications , software_platform | shop : shop_id , shop_name , location , open_date , open_year | stock : shop_id , device_id , quantity | stock.device_id = device.device_id | stock.shop_id = shop.shop_id |
### Response:
select avg ( quantity ) from stock |
device | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What are the names and location of the shops in ascending alphabetical order of name. | device : device_id , device , carrier , package_version , applications , software_platform | shop : shop_id , shop_name , location , open_date , open_year | stock : shop_id , device_id , quantity | stock.device_id = device.device_id | stock.shop_id = shop.shop_id |
### Response:
select shop_name , location from shop order by shop_name asc |
device | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: Return the names and locations of shops, ordered by name in alphabetical order. | device : device_id , device , carrier , package_version , applications , software_platform | shop : shop_id , shop_name , location , open_date , open_year | stock : shop_id , device_id , quantity | stock.device_id = device.device_id | stock.shop_id = shop.shop_id |
### Response:
select shop_name , location from shop order by shop_name asc |
device | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: How many different software platforms are there for devices? | device : device_id , device , carrier , package_version , applications , software_platform | shop : shop_id , shop_name , location , open_date , open_year | stock : shop_id , device_id , quantity | stock.device_id = device.device_id | stock.shop_id = shop.shop_id |
### Response:
select count ( distinct software_platform ) from device |
device | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: Count the number of different software platforms. | device : device_id , device , carrier , package_version , applications , software_platform | shop : shop_id , shop_name , location , open_date , open_year | stock : shop_id , device_id , quantity | stock.device_id = device.device_id | stock.shop_id = shop.shop_id |
### Response:
select count ( distinct software_platform ) from device |
device | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: List the open date of open year of the shop named "Apple". | device : device_id , device , carrier , package_version , applications , software_platform | shop : shop_id , shop_name , location , open_date , open_year | stock : shop_id , device_id , quantity | stock.device_id = device.device_id | stock.shop_id = shop.shop_id |
### Response:
select open_date , open_year from shop where shop_name = 'Apple' |
device | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What are the open dates and years for the shop named Apple? | device : device_id , device , carrier , package_version , applications , software_platform | shop : shop_id , shop_name , location , open_date , open_year | stock : shop_id , device_id , quantity | stock.device_id = device.device_id | stock.shop_id = shop.shop_id |
### Response:
select open_date , open_year from shop where shop_name = 'Apple' |
device | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: List the name of the shop with the latest open year. | device : device_id , device , carrier , package_version , applications , software_platform | shop : shop_id , shop_name , location , open_date , open_year | stock : shop_id , device_id , quantity | stock.device_id = device.device_id | stock.shop_id = shop.shop_id |
### Response:
select shop_name from shop order by open_year desc limit 1 |
device | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What is the shop name corresponding to the shop that opened in the most recent year? | device : device_id , device , carrier , package_version , applications , software_platform | shop : shop_id , shop_name , location , open_date , open_year | stock : shop_id , device_id , quantity | stock.device_id = device.device_id | stock.shop_id = shop.shop_id |
### Response:
select shop_name from shop order by open_year desc limit 1 |
device | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: Show names of shops and the carriers of devices they have in stock. | device : device_id , device , carrier , package_version , applications , software_platform | shop : shop_id , shop_name , location , open_date , open_year | stock : shop_id , device_id , quantity | stock.device_id = device.device_id | stock.shop_id = shop.shop_id |
### Response:
select shop.shop_name , device.carrier from stock join device on stock.device_id = device.device_id join shop on stock.shop_id = shop.shop_id |
device | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What are the names of device shops, and what are the carriers that they carry devices in stock for? | device : device_id , device , carrier , package_version , applications , software_platform | shop : shop_id , shop_name , location , open_date , open_year | stock : shop_id , device_id , quantity | stock.device_id = device.device_id | stock.shop_id = shop.shop_id |
### Response:
select shop.shop_name , device.carrier from stock join device on stock.device_id = device.device_id join shop on stock.shop_id = shop.shop_id |
device | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: Show names of shops that have more than one kind of device in stock. | device : device_id , device , carrier , package_version , applications , software_platform | shop : shop_id , shop_name , location , open_date , open_year | stock : shop_id , device_id , quantity | stock.device_id = device.device_id | stock.shop_id = shop.shop_id |
### Response:
select shop.shop_name from stock join shop on stock.shop_id = shop.shop_id group by stock.shop_id having count ( * ) > 1 |
device | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What are the names of shops that have more than a single kind of device in stock? | device : device_id , device , carrier , package_version , applications , software_platform | shop : shop_id , shop_name , location , open_date , open_year | stock : shop_id , device_id , quantity | stock.device_id = device.device_id | stock.shop_id = shop.shop_id |
### Response:
select shop.shop_name from stock join shop on stock.shop_id = shop.shop_id group by stock.shop_id having count ( * ) > 1 |
device | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: Show the name of the shop that has the most kind of devices in stock. | device : device_id , device , carrier , package_version , applications , software_platform | shop : shop_id , shop_name , location , open_date , open_year | stock : shop_id , device_id , quantity | stock.device_id = device.device_id | stock.shop_id = shop.shop_id |
### Response:
select shop.shop_name from stock join shop on stock.shop_id = shop.shop_id group by stock.shop_id order by count ( * ) desc limit 1 |
device | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What is the name of the shop that has the most different kinds of devices in stock? | device : device_id , device , carrier , package_version , applications , software_platform | shop : shop_id , shop_name , location , open_date , open_year | stock : shop_id , device_id , quantity | stock.device_id = device.device_id | stock.shop_id = shop.shop_id |
### Response:
select shop.shop_name from stock join shop on stock.shop_id = shop.shop_id group by stock.shop_id order by count ( * ) desc limit 1 |
device | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: Show the name of the shop that have the largest quantity of devices in stock. | device : device_id , device , carrier , package_version , applications , software_platform | shop : shop_id , shop_name , location , open_date , open_year | stock : shop_id , device_id , quantity | stock.device_id = device.device_id | stock.shop_id = shop.shop_id |
### Response:
select shop.shop_name from stock join shop on stock.shop_id = shop.shop_id group by stock.shop_id order by sum ( stock.quantity ) desc limit 1 |
device | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What is the name of the shop that has the greatest quantity of devices in stock? | device : device_id , device , carrier , package_version , applications , software_platform | shop : shop_id , shop_name , location , open_date , open_year | stock : shop_id , device_id , quantity | stock.device_id = device.device_id | stock.shop_id = shop.shop_id |
### Response:
select shop.shop_name from stock join shop on stock.shop_id = shop.shop_id group by stock.shop_id order by sum ( stock.quantity ) desc limit 1 |
device | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: Please show different software platforms and the corresponding number of devices using each. | device : device_id , device , carrier , package_version , applications , software_platform | shop : shop_id , shop_name , location , open_date , open_year | stock : shop_id , device_id , quantity | stock.device_id = device.device_id | stock.shop_id = shop.shop_id |
### Response:
select software_platform , count ( * ) from device group by software_platform |
device | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What are the different software platforms for devices, and how many devices have each? | device : device_id , device , carrier , package_version , applications , software_platform | shop : shop_id , shop_name , location , open_date , open_year | stock : shop_id , device_id , quantity | stock.device_id = device.device_id | stock.shop_id = shop.shop_id |
### Response:
select software_platform , count ( * ) from device group by software_platform |
device | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: Please show the software platforms of devices in descending order of the count. | device : device_id , device , carrier , package_version , applications , software_platform | shop : shop_id , shop_name , location , open_date , open_year | stock : shop_id , device_id , quantity | stock.device_id = device.device_id | stock.shop_id = shop.shop_id |
### Response:
select software_platform from device group by software_platform order by count ( * ) desc |
device | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What are the different software platforms for devices, ordered by frequency descending? | device : device_id , device , carrier , package_version , applications , software_platform | shop : shop_id , shop_name , location , open_date , open_year | stock : shop_id , device_id , quantity | stock.device_id = device.device_id | stock.shop_id = shop.shop_id |
### Response:
select software_platform from device group by software_platform order by count ( * ) desc |
device | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: List the software platform shared by the greatest number of devices. | device : device_id , device , carrier , package_version , applications , software_platform | shop : shop_id , shop_name , location , open_date , open_year | stock : shop_id , device_id , quantity | stock.device_id = device.device_id | stock.shop_id = shop.shop_id |
### Response:
select software_platform from device group by software_platform order by count ( * ) desc limit 1 |
device | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What is the software platform that is most common amongst all devices? | device : device_id , device , carrier , package_version , applications , software_platform | shop : shop_id , shop_name , location , open_date , open_year | stock : shop_id , device_id , quantity | stock.device_id = device.device_id | stock.shop_id = shop.shop_id |
### Response:
select software_platform from device group by software_platform order by count ( * ) desc limit 1 |
device | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: List the names of shops that have no devices in stock. | device : device_id , device , carrier , package_version , applications , software_platform | shop : shop_id , shop_name , location , open_date , open_year | stock : shop_id , device_id , quantity | stock.device_id = device.device_id | stock.shop_id = shop.shop_id |
### Response:
select shop_name from shop where shop_id not in ( select shop_id from stock ) |
device | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What are the names of shops that do not have any devices in stock? | device : device_id , device , carrier , package_version , applications , software_platform | shop : shop_id , shop_name , location , open_date , open_year | stock : shop_id , device_id , quantity | stock.device_id = device.device_id | stock.shop_id = shop.shop_id |
### Response:
select shop_name from shop where shop_id not in ( select shop_id from stock ) |
device | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: Show the locations shared by shops with open year later than 2012 and shops with open year before 2008. | device : device_id , device , carrier , package_version , applications , software_platform | shop : shop_id , shop_name , location , open_date , open_year | stock : shop_id , device_id , quantity | stock.device_id = device.device_id | stock.shop_id = shop.shop_id |
### Response:
select location from shop where open_year > 2012 intersect select location from shop where open_year < 2008 |
device | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: Which locations contains both shops that opened after the year 2012 and shops that opened before 2008? | device : device_id , device , carrier , package_version , applications , software_platform | shop : shop_id , shop_name , location , open_date , open_year | stock : shop_id , device_id , quantity | stock.device_id = device.device_id | stock.shop_id = shop.shop_id |
### Response:
select location from shop where open_year > 2012 intersect select location from shop where open_year < 2008 |
device | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: List the carriers of devices that have no devices in stock. | device : device_id , device , carrier , package_version , applications , software_platform | shop : shop_id , shop_name , location , open_date , open_year | stock : shop_id , device_id , quantity | stock.device_id = device.device_id | stock.shop_id = shop.shop_id |
### Response:
select carrier from device where device_id not in ( select device_id from stock ) |
device | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What are the carriers of devices that are not in stock anywhere? | device : device_id , device , carrier , package_version , applications , software_platform | shop : shop_id , shop_name , location , open_date , open_year | stock : shop_id , device_id , quantity | stock.device_id = device.device_id | stock.shop_id = shop.shop_id |
### Response:
select carrier from device where device_id not in ( select device_id from stock ) |
device | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: Show the carriers of devices in stock at more than one shop. | device : device_id , device , carrier , package_version , applications , software_platform | shop : shop_id , shop_name , location , open_date , open_year | stock : shop_id , device_id , quantity | stock.device_id = device.device_id | stock.shop_id = shop.shop_id |
### Response:
select device.carrier from stock join device on stock.device_id = device.device_id group by stock.device_id having count ( * ) > 1 |
device | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What are the carriers of devices that are in stock in more than a single shop? | device : device_id , device , carrier , package_version , applications , software_platform | shop : shop_id , shop_name , location , open_date , open_year | stock : shop_id , device_id , quantity | stock.device_id = device.device_id | stock.shop_id = shop.shop_id |
### Response:
select device.carrier from stock join device on stock.device_id = device.device_id group by stock.device_id having count ( * ) > 1 |
cre_Drama_Workshop_Groups | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: How many bookings do we have? | ref_payment_methods : payment_method_code , payment_method_description | ref_service_types : service_type_code , parent_service_type_code , service_type_description | addresses : address_id , line_1 , line_2 , city_town , state_county , other_details | products : product_id , product_name , product_price , product_description , other_product_service_details | marketing_regions : marketing_region_code , marketing_region_name , marketing_region_descriptrion , other_details | clients : client_id , address_id , customer_email_address , customer_name , customer_phone , other_details | drama_workshop_groups : workshop_group_id , address_id , currency_code , marketing_region_code , store_name , store_phone , store_email_address , other_details | performers : performer_id , address_id , customer_name , customer_phone , customer_email_address , other_details | customers : customer_id , address_id , customer_name , customer_phone , customer_email_address , other_details | stores : store_id , address_id , marketing_region_code , store_name , store_phone , store_email_address , other_details | bookings : booking_id , customer_id , workshop_group_id , status_code , store_id , order_date , planned_delivery_date , actual_delivery_date , other_order_details | performers_in_bookings : order_id , performer_id | customer_orders : order_id , customer_id , store_id , order_date , planned_delivery_date , actual_delivery_date , other_order_details | order_items : order_item_id , order_id , product_id , order_quantity , other_item_details | invoices : invoice_id , order_id , payment_method_code , product_id , order_quantity , other_item_details , order_item_id | services : service_id , service_type_code , workshop_group_id , product_description , product_name , product_price , other_product_service_details | bookings_services : order_id , product_id | invoice_items : invoice_item_id , invoice_id , order_id , order_item_id , product_id , order_quantity , other_item_details | clients.address_id = addresses.address_id | drama_workshop_groups.address_id = addresses.address_id | performers.address_id = addresses.address_id | customers.address_id = addresses.address_id | stores.marketing_region_code = marketing_regions.marketing_region_code | stores.address_id = addresses.address_id | bookings.workshop_group_id = drama_workshop_groups.workshop_group_id | bookings.customer_id = clients.client_id | performers_in_bookings.order_id = bookings.booking_id | performers_in_bookings.performer_id = performers.performer_id | customer_orders.store_id = stores.store_id | customer_orders.customer_id = customers.customer_id | order_items.product_id = products.product_id | order_items.order_id = customer_orders.order_id | invoices.payment_method_code = ref_payment_methods.payment_method_code | invoices.order_id = bookings.booking_id | invoices.order_id = customer_orders.order_id | services.service_type_code = ref_service_types.service_type_code | services.workshop_group_id = drama_workshop_groups.workshop_group_id | bookings_services.product_id = services.service_id | bookings_services.order_id = bookings.booking_id | invoice_items.order_id = bookings_services.order_id | invoice_items.product_id = bookings_services.product_id | invoice_items.invoice_id = invoices.invoice_id | invoice_items.order_item_id = order_items.order_item_id |
### Response:
select count ( * ) from bookings |
cre_Drama_Workshop_Groups | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: Count the total number of bookings made. | ref_payment_methods : payment_method_code , payment_method_description | ref_service_types : service_type_code , parent_service_type_code , service_type_description | addresses : address_id , line_1 , line_2 , city_town , state_county , other_details | products : product_id , product_name , product_price , product_description , other_product_service_details | marketing_regions : marketing_region_code , marketing_region_name , marketing_region_descriptrion , other_details | clients : client_id , address_id , customer_email_address , customer_name , customer_phone , other_details | drama_workshop_groups : workshop_group_id , address_id , currency_code , marketing_region_code , store_name , store_phone , store_email_address , other_details | performers : performer_id , address_id , customer_name , customer_phone , customer_email_address , other_details | customers : customer_id , address_id , customer_name , customer_phone , customer_email_address , other_details | stores : store_id , address_id , marketing_region_code , store_name , store_phone , store_email_address , other_details | bookings : booking_id , customer_id , workshop_group_id , status_code , store_id , order_date , planned_delivery_date , actual_delivery_date , other_order_details | performers_in_bookings : order_id , performer_id | customer_orders : order_id , customer_id , store_id , order_date , planned_delivery_date , actual_delivery_date , other_order_details | order_items : order_item_id , order_id , product_id , order_quantity , other_item_details | invoices : invoice_id , order_id , payment_method_code , product_id , order_quantity , other_item_details , order_item_id | services : service_id , service_type_code , workshop_group_id , product_description , product_name , product_price , other_product_service_details | bookings_services : order_id , product_id | invoice_items : invoice_item_id , invoice_id , order_id , order_item_id , product_id , order_quantity , other_item_details | clients.address_id = addresses.address_id | drama_workshop_groups.address_id = addresses.address_id | performers.address_id = addresses.address_id | customers.address_id = addresses.address_id | stores.marketing_region_code = marketing_regions.marketing_region_code | stores.address_id = addresses.address_id | bookings.workshop_group_id = drama_workshop_groups.workshop_group_id | bookings.customer_id = clients.client_id | performers_in_bookings.order_id = bookings.booking_id | performers_in_bookings.performer_id = performers.performer_id | customer_orders.store_id = stores.store_id | customer_orders.customer_id = customers.customer_id | order_items.product_id = products.product_id | order_items.order_id = customer_orders.order_id | invoices.payment_method_code = ref_payment_methods.payment_method_code | invoices.order_id = bookings.booking_id | invoices.order_id = customer_orders.order_id | services.service_type_code = ref_service_types.service_type_code | services.workshop_group_id = drama_workshop_groups.workshop_group_id | bookings_services.product_id = services.service_id | bookings_services.order_id = bookings.booking_id | invoice_items.order_id = bookings_services.order_id | invoice_items.product_id = bookings_services.product_id | invoice_items.invoice_id = invoices.invoice_id | invoice_items.order_item_id = order_items.order_item_id |
### Response:
select count ( * ) from bookings |
cre_Drama_Workshop_Groups | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: List the order dates of all the bookings. | ref_payment_methods : payment_method_code , payment_method_description | ref_service_types : service_type_code , parent_service_type_code , service_type_description | addresses : address_id , line_1 , line_2 , city_town , state_county , other_details | products : product_id , product_name , product_price , product_description , other_product_service_details | marketing_regions : marketing_region_code , marketing_region_name , marketing_region_descriptrion , other_details | clients : client_id , address_id , customer_email_address , customer_name , customer_phone , other_details | drama_workshop_groups : workshop_group_id , address_id , currency_code , marketing_region_code , store_name , store_phone , store_email_address , other_details | performers : performer_id , address_id , customer_name , customer_phone , customer_email_address , other_details | customers : customer_id , address_id , customer_name , customer_phone , customer_email_address , other_details | stores : store_id , address_id , marketing_region_code , store_name , store_phone , store_email_address , other_details | bookings : booking_id , customer_id , workshop_group_id , status_code , store_id , order_date , planned_delivery_date , actual_delivery_date , other_order_details | performers_in_bookings : order_id , performer_id | customer_orders : order_id , customer_id , store_id , order_date , planned_delivery_date , actual_delivery_date , other_order_details | order_items : order_item_id , order_id , product_id , order_quantity , other_item_details | invoices : invoice_id , order_id , payment_method_code , product_id , order_quantity , other_item_details , order_item_id | services : service_id , service_type_code , workshop_group_id , product_description , product_name , product_price , other_product_service_details | bookings_services : order_id , product_id | invoice_items : invoice_item_id , invoice_id , order_id , order_item_id , product_id , order_quantity , other_item_details | clients.address_id = addresses.address_id | drama_workshop_groups.address_id = addresses.address_id | performers.address_id = addresses.address_id | customers.address_id = addresses.address_id | stores.marketing_region_code = marketing_regions.marketing_region_code | stores.address_id = addresses.address_id | bookings.workshop_group_id = drama_workshop_groups.workshop_group_id | bookings.customer_id = clients.client_id | performers_in_bookings.order_id = bookings.booking_id | performers_in_bookings.performer_id = performers.performer_id | customer_orders.store_id = stores.store_id | customer_orders.customer_id = customers.customer_id | order_items.product_id = products.product_id | order_items.order_id = customer_orders.order_id | invoices.payment_method_code = ref_payment_methods.payment_method_code | invoices.order_id = bookings.booking_id | invoices.order_id = customer_orders.order_id | services.service_type_code = ref_service_types.service_type_code | services.workshop_group_id = drama_workshop_groups.workshop_group_id | bookings_services.product_id = services.service_id | bookings_services.order_id = bookings.booking_id | invoice_items.order_id = bookings_services.order_id | invoice_items.product_id = bookings_services.product_id | invoice_items.invoice_id = invoices.invoice_id | invoice_items.order_item_id = order_items.order_item_id |
### Response:
select order_date from bookings |
cre_Drama_Workshop_Groups | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What is the order date of each booking? | ref_payment_methods : payment_method_code , payment_method_description | ref_service_types : service_type_code , parent_service_type_code , service_type_description | addresses : address_id , line_1 , line_2 , city_town , state_county , other_details | products : product_id , product_name , product_price , product_description , other_product_service_details | marketing_regions : marketing_region_code , marketing_region_name , marketing_region_descriptrion , other_details | clients : client_id , address_id , customer_email_address , customer_name , customer_phone , other_details | drama_workshop_groups : workshop_group_id , address_id , currency_code , marketing_region_code , store_name , store_phone , store_email_address , other_details | performers : performer_id , address_id , customer_name , customer_phone , customer_email_address , other_details | customers : customer_id , address_id , customer_name , customer_phone , customer_email_address , other_details | stores : store_id , address_id , marketing_region_code , store_name , store_phone , store_email_address , other_details | bookings : booking_id , customer_id , workshop_group_id , status_code , store_id , order_date , planned_delivery_date , actual_delivery_date , other_order_details | performers_in_bookings : order_id , performer_id | customer_orders : order_id , customer_id , store_id , order_date , planned_delivery_date , actual_delivery_date , other_order_details | order_items : order_item_id , order_id , product_id , order_quantity , other_item_details | invoices : invoice_id , order_id , payment_method_code , product_id , order_quantity , other_item_details , order_item_id | services : service_id , service_type_code , workshop_group_id , product_description , product_name , product_price , other_product_service_details | bookings_services : order_id , product_id | invoice_items : invoice_item_id , invoice_id , order_id , order_item_id , product_id , order_quantity , other_item_details | clients.address_id = addresses.address_id | drama_workshop_groups.address_id = addresses.address_id | performers.address_id = addresses.address_id | customers.address_id = addresses.address_id | stores.marketing_region_code = marketing_regions.marketing_region_code | stores.address_id = addresses.address_id | bookings.workshop_group_id = drama_workshop_groups.workshop_group_id | bookings.customer_id = clients.client_id | performers_in_bookings.order_id = bookings.booking_id | performers_in_bookings.performer_id = performers.performer_id | customer_orders.store_id = stores.store_id | customer_orders.customer_id = customers.customer_id | order_items.product_id = products.product_id | order_items.order_id = customer_orders.order_id | invoices.payment_method_code = ref_payment_methods.payment_method_code | invoices.order_id = bookings.booking_id | invoices.order_id = customer_orders.order_id | services.service_type_code = ref_service_types.service_type_code | services.workshop_group_id = drama_workshop_groups.workshop_group_id | bookings_services.product_id = services.service_id | bookings_services.order_id = bookings.booking_id | invoice_items.order_id = bookings_services.order_id | invoice_items.product_id = bookings_services.product_id | invoice_items.invoice_id = invoices.invoice_id | invoice_items.order_item_id = order_items.order_item_id |
### Response:
select order_date from bookings |
cre_Drama_Workshop_Groups | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: Show all the planned delivery dates and actual delivery dates of bookings. | ref_payment_methods : payment_method_code , payment_method_description | ref_service_types : service_type_code , parent_service_type_code , service_type_description | addresses : address_id , line_1 , line_2 , city_town , state_county , other_details | products : product_id , product_name , product_price , product_description , other_product_service_details | marketing_regions : marketing_region_code , marketing_region_name , marketing_region_descriptrion , other_details | clients : client_id , address_id , customer_email_address , customer_name , customer_phone , other_details | drama_workshop_groups : workshop_group_id , address_id , currency_code , marketing_region_code , store_name , store_phone , store_email_address , other_details | performers : performer_id , address_id , customer_name , customer_phone , customer_email_address , other_details | customers : customer_id , address_id , customer_name , customer_phone , customer_email_address , other_details | stores : store_id , address_id , marketing_region_code , store_name , store_phone , store_email_address , other_details | bookings : booking_id , customer_id , workshop_group_id , status_code , store_id , order_date , planned_delivery_date , actual_delivery_date , other_order_details | performers_in_bookings : order_id , performer_id | customer_orders : order_id , customer_id , store_id , order_date , planned_delivery_date , actual_delivery_date , other_order_details | order_items : order_item_id , order_id , product_id , order_quantity , other_item_details | invoices : invoice_id , order_id , payment_method_code , product_id , order_quantity , other_item_details , order_item_id | services : service_id , service_type_code , workshop_group_id , product_description , product_name , product_price , other_product_service_details | bookings_services : order_id , product_id | invoice_items : invoice_item_id , invoice_id , order_id , order_item_id , product_id , order_quantity , other_item_details | clients.address_id = addresses.address_id | drama_workshop_groups.address_id = addresses.address_id | performers.address_id = addresses.address_id | customers.address_id = addresses.address_id | stores.marketing_region_code = marketing_regions.marketing_region_code | stores.address_id = addresses.address_id | bookings.workshop_group_id = drama_workshop_groups.workshop_group_id | bookings.customer_id = clients.client_id | performers_in_bookings.order_id = bookings.booking_id | performers_in_bookings.performer_id = performers.performer_id | customer_orders.store_id = stores.store_id | customer_orders.customer_id = customers.customer_id | order_items.product_id = products.product_id | order_items.order_id = customer_orders.order_id | invoices.payment_method_code = ref_payment_methods.payment_method_code | invoices.order_id = bookings.booking_id | invoices.order_id = customer_orders.order_id | services.service_type_code = ref_service_types.service_type_code | services.workshop_group_id = drama_workshop_groups.workshop_group_id | bookings_services.product_id = services.service_id | bookings_services.order_id = bookings.booking_id | invoice_items.order_id = bookings_services.order_id | invoice_items.product_id = bookings_services.product_id | invoice_items.invoice_id = invoices.invoice_id | invoice_items.order_item_id = order_items.order_item_id |
### Response:
select planned_delivery_date , actual_delivery_date from bookings |
cre_Drama_Workshop_Groups | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What are the planned delivery date and actual delivery date for each booking? | ref_payment_methods : payment_method_code , payment_method_description | ref_service_types : service_type_code , parent_service_type_code , service_type_description | addresses : address_id , line_1 , line_2 , city_town , state_county , other_details | products : product_id , product_name , product_price , product_description , other_product_service_details | marketing_regions : marketing_region_code , marketing_region_name , marketing_region_descriptrion , other_details | clients : client_id , address_id , customer_email_address , customer_name , customer_phone , other_details | drama_workshop_groups : workshop_group_id , address_id , currency_code , marketing_region_code , store_name , store_phone , store_email_address , other_details | performers : performer_id , address_id , customer_name , customer_phone , customer_email_address , other_details | customers : customer_id , address_id , customer_name , customer_phone , customer_email_address , other_details | stores : store_id , address_id , marketing_region_code , store_name , store_phone , store_email_address , other_details | bookings : booking_id , customer_id , workshop_group_id , status_code , store_id , order_date , planned_delivery_date , actual_delivery_date , other_order_details | performers_in_bookings : order_id , performer_id | customer_orders : order_id , customer_id , store_id , order_date , planned_delivery_date , actual_delivery_date , other_order_details | order_items : order_item_id , order_id , product_id , order_quantity , other_item_details | invoices : invoice_id , order_id , payment_method_code , product_id , order_quantity , other_item_details , order_item_id | services : service_id , service_type_code , workshop_group_id , product_description , product_name , product_price , other_product_service_details | bookings_services : order_id , product_id | invoice_items : invoice_item_id , invoice_id , order_id , order_item_id , product_id , order_quantity , other_item_details | clients.address_id = addresses.address_id | drama_workshop_groups.address_id = addresses.address_id | performers.address_id = addresses.address_id | customers.address_id = addresses.address_id | stores.marketing_region_code = marketing_regions.marketing_region_code | stores.address_id = addresses.address_id | bookings.workshop_group_id = drama_workshop_groups.workshop_group_id | bookings.customer_id = clients.client_id | performers_in_bookings.order_id = bookings.booking_id | performers_in_bookings.performer_id = performers.performer_id | customer_orders.store_id = stores.store_id | customer_orders.customer_id = customers.customer_id | order_items.product_id = products.product_id | order_items.order_id = customer_orders.order_id | invoices.payment_method_code = ref_payment_methods.payment_method_code | invoices.order_id = bookings.booking_id | invoices.order_id = customer_orders.order_id | services.service_type_code = ref_service_types.service_type_code | services.workshop_group_id = drama_workshop_groups.workshop_group_id | bookings_services.product_id = services.service_id | bookings_services.order_id = bookings.booking_id | invoice_items.order_id = bookings_services.order_id | invoice_items.product_id = bookings_services.product_id | invoice_items.invoice_id = invoices.invoice_id | invoice_items.order_item_id = order_items.order_item_id |
### Response:
select planned_delivery_date , actual_delivery_date from bookings |
cre_Drama_Workshop_Groups | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: How many customers do we have? | ref_payment_methods : payment_method_code , payment_method_description | ref_service_types : service_type_code , parent_service_type_code , service_type_description | addresses : address_id , line_1 , line_2 , city_town , state_county , other_details | products : product_id , product_name , product_price , product_description , other_product_service_details | marketing_regions : marketing_region_code , marketing_region_name , marketing_region_descriptrion , other_details | clients : client_id , address_id , customer_email_address , customer_name , customer_phone , other_details | drama_workshop_groups : workshop_group_id , address_id , currency_code , marketing_region_code , store_name , store_phone , store_email_address , other_details | performers : performer_id , address_id , customer_name , customer_phone , customer_email_address , other_details | customers : customer_id , address_id , customer_name , customer_phone , customer_email_address , other_details | stores : store_id , address_id , marketing_region_code , store_name , store_phone , store_email_address , other_details | bookings : booking_id , customer_id , workshop_group_id , status_code , store_id , order_date , planned_delivery_date , actual_delivery_date , other_order_details | performers_in_bookings : order_id , performer_id | customer_orders : order_id , customer_id , store_id , order_date , planned_delivery_date , actual_delivery_date , other_order_details | order_items : order_item_id , order_id , product_id , order_quantity , other_item_details | invoices : invoice_id , order_id , payment_method_code , product_id , order_quantity , other_item_details , order_item_id | services : service_id , service_type_code , workshop_group_id , product_description , product_name , product_price , other_product_service_details | bookings_services : order_id , product_id | invoice_items : invoice_item_id , invoice_id , order_id , order_item_id , product_id , order_quantity , other_item_details | clients.address_id = addresses.address_id | drama_workshop_groups.address_id = addresses.address_id | performers.address_id = addresses.address_id | customers.address_id = addresses.address_id | stores.marketing_region_code = marketing_regions.marketing_region_code | stores.address_id = addresses.address_id | bookings.workshop_group_id = drama_workshop_groups.workshop_group_id | bookings.customer_id = clients.client_id | performers_in_bookings.order_id = bookings.booking_id | performers_in_bookings.performer_id = performers.performer_id | customer_orders.store_id = stores.store_id | customer_orders.customer_id = customers.customer_id | order_items.product_id = products.product_id | order_items.order_id = customer_orders.order_id | invoices.payment_method_code = ref_payment_methods.payment_method_code | invoices.order_id = bookings.booking_id | invoices.order_id = customer_orders.order_id | services.service_type_code = ref_service_types.service_type_code | services.workshop_group_id = drama_workshop_groups.workshop_group_id | bookings_services.product_id = services.service_id | bookings_services.order_id = bookings.booking_id | invoice_items.order_id = bookings_services.order_id | invoice_items.product_id = bookings_services.product_id | invoice_items.invoice_id = invoices.invoice_id | invoice_items.order_item_id = order_items.order_item_id |
### Response:
select count ( * ) from customers |
cre_Drama_Workshop_Groups | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: Count the number of customers recorded. | ref_payment_methods : payment_method_code , payment_method_description | ref_service_types : service_type_code , parent_service_type_code , service_type_description | addresses : address_id , line_1 , line_2 , city_town , state_county , other_details | products : product_id , product_name , product_price , product_description , other_product_service_details | marketing_regions : marketing_region_code , marketing_region_name , marketing_region_descriptrion , other_details | clients : client_id , address_id , customer_email_address , customer_name , customer_phone , other_details | drama_workshop_groups : workshop_group_id , address_id , currency_code , marketing_region_code , store_name , store_phone , store_email_address , other_details | performers : performer_id , address_id , customer_name , customer_phone , customer_email_address , other_details | customers : customer_id , address_id , customer_name , customer_phone , customer_email_address , other_details | stores : store_id , address_id , marketing_region_code , store_name , store_phone , store_email_address , other_details | bookings : booking_id , customer_id , workshop_group_id , status_code , store_id , order_date , planned_delivery_date , actual_delivery_date , other_order_details | performers_in_bookings : order_id , performer_id | customer_orders : order_id , customer_id , store_id , order_date , planned_delivery_date , actual_delivery_date , other_order_details | order_items : order_item_id , order_id , product_id , order_quantity , other_item_details | invoices : invoice_id , order_id , payment_method_code , product_id , order_quantity , other_item_details , order_item_id | services : service_id , service_type_code , workshop_group_id , product_description , product_name , product_price , other_product_service_details | bookings_services : order_id , product_id | invoice_items : invoice_item_id , invoice_id , order_id , order_item_id , product_id , order_quantity , other_item_details | clients.address_id = addresses.address_id | drama_workshop_groups.address_id = addresses.address_id | performers.address_id = addresses.address_id | customers.address_id = addresses.address_id | stores.marketing_region_code = marketing_regions.marketing_region_code | stores.address_id = addresses.address_id | bookings.workshop_group_id = drama_workshop_groups.workshop_group_id | bookings.customer_id = clients.client_id | performers_in_bookings.order_id = bookings.booking_id | performers_in_bookings.performer_id = performers.performer_id | customer_orders.store_id = stores.store_id | customer_orders.customer_id = customers.customer_id | order_items.product_id = products.product_id | order_items.order_id = customer_orders.order_id | invoices.payment_method_code = ref_payment_methods.payment_method_code | invoices.order_id = bookings.booking_id | invoices.order_id = customer_orders.order_id | services.service_type_code = ref_service_types.service_type_code | services.workshop_group_id = drama_workshop_groups.workshop_group_id | bookings_services.product_id = services.service_id | bookings_services.order_id = bookings.booking_id | invoice_items.order_id = bookings_services.order_id | invoice_items.product_id = bookings_services.product_id | invoice_items.invoice_id = invoices.invoice_id | invoice_items.order_item_id = order_items.order_item_id |
### Response:
select count ( * ) from customers |
cre_Drama_Workshop_Groups | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What are the phone and email for customer Harold? | ref_payment_methods : payment_method_code , payment_method_description | ref_service_types : service_type_code , parent_service_type_code , service_type_description | addresses : address_id , line_1 , line_2 , city_town , state_county , other_details | products : product_id , product_name , product_price , product_description , other_product_service_details | marketing_regions : marketing_region_code , marketing_region_name , marketing_region_descriptrion , other_details | clients : client_id , address_id , customer_email_address , customer_name , customer_phone , other_details | drama_workshop_groups : workshop_group_id , address_id , currency_code , marketing_region_code , store_name , store_phone , store_email_address , other_details | performers : performer_id , address_id , customer_name , customer_phone , customer_email_address , other_details | customers : customer_id , address_id , customer_name , customer_phone , customer_email_address , other_details | stores : store_id , address_id , marketing_region_code , store_name , store_phone , store_email_address , other_details | bookings : booking_id , customer_id , workshop_group_id , status_code , store_id , order_date , planned_delivery_date , actual_delivery_date , other_order_details | performers_in_bookings : order_id , performer_id | customer_orders : order_id , customer_id , store_id , order_date , planned_delivery_date , actual_delivery_date , other_order_details | order_items : order_item_id , order_id , product_id , order_quantity , other_item_details | invoices : invoice_id , order_id , payment_method_code , product_id , order_quantity , other_item_details , order_item_id | services : service_id , service_type_code , workshop_group_id , product_description , product_name , product_price , other_product_service_details | bookings_services : order_id , product_id | invoice_items : invoice_item_id , invoice_id , order_id , order_item_id , product_id , order_quantity , other_item_details | clients.address_id = addresses.address_id | drama_workshop_groups.address_id = addresses.address_id | performers.address_id = addresses.address_id | customers.address_id = addresses.address_id | stores.marketing_region_code = marketing_regions.marketing_region_code | stores.address_id = addresses.address_id | bookings.workshop_group_id = drama_workshop_groups.workshop_group_id | bookings.customer_id = clients.client_id | performers_in_bookings.order_id = bookings.booking_id | performers_in_bookings.performer_id = performers.performer_id | customer_orders.store_id = stores.store_id | customer_orders.customer_id = customers.customer_id | order_items.product_id = products.product_id | order_items.order_id = customer_orders.order_id | invoices.payment_method_code = ref_payment_methods.payment_method_code | invoices.order_id = bookings.booking_id | invoices.order_id = customer_orders.order_id | services.service_type_code = ref_service_types.service_type_code | services.workshop_group_id = drama_workshop_groups.workshop_group_id | bookings_services.product_id = services.service_id | bookings_services.order_id = bookings.booking_id | invoice_items.order_id = bookings_services.order_id | invoice_items.product_id = bookings_services.product_id | invoice_items.invoice_id = invoices.invoice_id | invoice_items.order_item_id = order_items.order_item_id |
### Response:
select customer_phone , customer_email_address from customers where customer_name = 'Harold' |
cre_Drama_Workshop_Groups | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: Find the phone number and email address of customer "Harold". | ref_payment_methods : payment_method_code , payment_method_description | ref_service_types : service_type_code , parent_service_type_code , service_type_description | addresses : address_id , line_1 , line_2 , city_town , state_county , other_details | products : product_id , product_name , product_price , product_description , other_product_service_details | marketing_regions : marketing_region_code , marketing_region_name , marketing_region_descriptrion , other_details | clients : client_id , address_id , customer_email_address , customer_name , customer_phone , other_details | drama_workshop_groups : workshop_group_id , address_id , currency_code , marketing_region_code , store_name , store_phone , store_email_address , other_details | performers : performer_id , address_id , customer_name , customer_phone , customer_email_address , other_details | customers : customer_id , address_id , customer_name , customer_phone , customer_email_address , other_details | stores : store_id , address_id , marketing_region_code , store_name , store_phone , store_email_address , other_details | bookings : booking_id , customer_id , workshop_group_id , status_code , store_id , order_date , planned_delivery_date , actual_delivery_date , other_order_details | performers_in_bookings : order_id , performer_id | customer_orders : order_id , customer_id , store_id , order_date , planned_delivery_date , actual_delivery_date , other_order_details | order_items : order_item_id , order_id , product_id , order_quantity , other_item_details | invoices : invoice_id , order_id , payment_method_code , product_id , order_quantity , other_item_details , order_item_id | services : service_id , service_type_code , workshop_group_id , product_description , product_name , product_price , other_product_service_details | bookings_services : order_id , product_id | invoice_items : invoice_item_id , invoice_id , order_id , order_item_id , product_id , order_quantity , other_item_details | clients.address_id = addresses.address_id | drama_workshop_groups.address_id = addresses.address_id | performers.address_id = addresses.address_id | customers.address_id = addresses.address_id | stores.marketing_region_code = marketing_regions.marketing_region_code | stores.address_id = addresses.address_id | bookings.workshop_group_id = drama_workshop_groups.workshop_group_id | bookings.customer_id = clients.client_id | performers_in_bookings.order_id = bookings.booking_id | performers_in_bookings.performer_id = performers.performer_id | customer_orders.store_id = stores.store_id | customer_orders.customer_id = customers.customer_id | order_items.product_id = products.product_id | order_items.order_id = customer_orders.order_id | invoices.payment_method_code = ref_payment_methods.payment_method_code | invoices.order_id = bookings.booking_id | invoices.order_id = customer_orders.order_id | services.service_type_code = ref_service_types.service_type_code | services.workshop_group_id = drama_workshop_groups.workshop_group_id | bookings_services.product_id = services.service_id | bookings_services.order_id = bookings.booking_id | invoice_items.order_id = bookings_services.order_id | invoice_items.product_id = bookings_services.product_id | invoice_items.invoice_id = invoices.invoice_id | invoice_items.order_item_id = order_items.order_item_id |
### Response:
select customer_phone , customer_email_address from customers where customer_name = 'Harold' |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.