db_id
stringclasses 140
values | question
stringlengths 16
224
| schema
stringclasses 140
values | summarized-schema
stringlengths 18
304
| shrink-score
float64 0
1
|
---|---|---|---|---|
workshop_paper
|
Count the number of submissions.
|
workshop : workshop_id (number) , date (text) , venue (text) , name (text) | submission : submission_id (number) , scores (number) , author (text) , college (text) | acceptance : submission_id (number) , workshop_id (number) , result (text)
|
submission : submission_id (number)
| 0.909091 |
workshop_paper
|
List the authors of submissions in ascending order of scores.
|
workshop : workshop_id (number) , date (text) , venue (text) , name (text) | submission : submission_id (number) , scores (number) , author (text) , college (text) | acceptance : submission_id (number) , workshop_id (number) , result (text)
|
submission : author (text) , scores (number)
| 0.818182 |
workshop_paper
|
Find the author for each submission and list them in ascending order of submission score.
|
workshop : workshop_id (number) , date (text) , venue (text) , name (text) | submission : submission_id (number) , scores (number) , author (text) , college (text) | acceptance : submission_id (number) , workshop_id (number) , result (text)
|
submission : author (text) , scores (number)
| 0.818182 |
workshop_paper
|
What are the authors of submissions and their colleges?
|
workshop : workshop_id (number) , date (text) , venue (text) , name (text) | submission : submission_id (number) , scores (number) , author (text) , college (text) | acceptance : submission_id (number) , workshop_id (number) , result (text)
|
submission : author (text) , college (text)
| 0.818182 |
workshop_paper
|
For each submission, show the author and their affiliated college.
|
workshop : workshop_id (number) , date (text) , venue (text) , name (text) | submission : submission_id (number) , scores (number) , author (text) , college (text) | acceptance : submission_id (number) , workshop_id (number) , result (text)
|
submission : author (text) , college (text)
| 0.818182 |
workshop_paper
|
Show the names of authors from college "Florida" or "Temple"
|
workshop : workshop_id (number) , date (text) , venue (text) , name (text) | submission : submission_id (number) , scores (number) , author (text) , college (text) | acceptance : submission_id (number) , workshop_id (number) , result (text)
|
submission : author (text) , college (text)
| 0.818182 |
workshop_paper
|
Which authors with submissions are from college "Florida" or "Temple"?
|
workshop : workshop_id (number) , date (text) , venue (text) , name (text) | submission : submission_id (number) , scores (number) , author (text) , college (text) | acceptance : submission_id (number) , workshop_id (number) , result (text)
|
submission : author (text) , college (text)
| 0.818182 |
workshop_paper
|
What is the average score of submissions?
|
workshop : workshop_id (number) , date (text) , venue (text) , name (text) | submission : submission_id (number) , scores (number) , author (text) , college (text) | acceptance : submission_id (number) , workshop_id (number) , result (text)
|
submission : scores (number)
| 0.909091 |
workshop_paper
|
Compute the average score of submissions.
|
workshop : workshop_id (number) , date (text) , venue (text) , name (text) | submission : submission_id (number) , scores (number) , author (text) , college (text) | acceptance : submission_id (number) , workshop_id (number) , result (text)
|
submission : scores (number)
| 0.909091 |
workshop_paper
|
What is the author of the submission with the highest score?
|
workshop : workshop_id (number) , date (text) , venue (text) , name (text) | submission : submission_id (number) , scores (number) , author (text) , college (text) | acceptance : submission_id (number) , workshop_id (number) , result (text)
|
submission : author (text) , scores (number)
| 0.818182 |
workshop_paper
|
Find the author who achieved the highest score in a submission.
|
workshop : workshop_id (number) , date (text) , venue (text) , name (text) | submission : submission_id (number) , scores (number) , author (text) , college (text) | acceptance : submission_id (number) , workshop_id (number) , result (text)
|
submission : author (text) , scores (number)
| 0.818182 |
workshop_paper
|
Show different colleges along with the number of authors of submission from each college.
|
workshop : workshop_id (number) , date (text) , venue (text) , name (text) | submission : submission_id (number) , scores (number) , author (text) , college (text) | acceptance : submission_id (number) , workshop_id (number) , result (text)
|
submission : college (text) , submission_id (number)
| 0.818182 |
workshop_paper
|
For each college, return the college name and the count of authors with submissions from that college.
|
workshop : workshop_id (number) , date (text) , venue (text) , name (text) | submission : submission_id (number) , scores (number) , author (text) , college (text) | acceptance : submission_id (number) , workshop_id (number) , result (text)
|
submission : college (text) , submission_id (number)
| 0.818182 |
workshop_paper
|
Show the most common college of authors of submissions.
|
workshop : workshop_id (number) , date (text) , venue (text) , name (text) | submission : submission_id (number) , scores (number) , author (text) , college (text) | acceptance : submission_id (number) , workshop_id (number) , result (text)
|
submission : college (text) , submission_id (number)
| 0.818182 |
workshop_paper
|
Which college has the most authors with submissions?
|
workshop : workshop_id (number) , date (text) , venue (text) , name (text) | submission : submission_id (number) , scores (number) , author (text) , college (text) | acceptance : submission_id (number) , workshop_id (number) , result (text)
|
submission : college (text) , submission_id (number)
| 0.818182 |
workshop_paper
|
Show the colleges that have both authors with submission score larger than 90 and authors with submission score smaller than 80.
|
workshop : workshop_id (number) , date (text) , venue (text) , name (text) | submission : submission_id (number) , scores (number) , author (text) , college (text) | acceptance : submission_id (number) , workshop_id (number) , result (text)
|
submission : college (text) , scores (number)
| 0.818182 |
workshop_paper
|
Which colleges have both authors with submission score above 90 and authors with submission score below 80?
|
workshop : workshop_id (number) , date (text) , venue (text) , name (text) | submission : submission_id (number) , scores (number) , author (text) , college (text) | acceptance : submission_id (number) , workshop_id (number) , result (text)
|
submission : college (text) , scores (number)
| 0.818182 |
workshop_paper
|
Show the authors of submissions and the acceptance results of their submissions.
|
workshop : workshop_id (number) , date (text) , venue (text) , name (text) | submission : submission_id (number) , scores (number) , author (text) , college (text) | acceptance : submission_id (number) , workshop_id (number) , result (text)
|
submission : author (text) , submission_id (number) | acceptance : result (text) , submission_id (number)
| 0.636364 |
workshop_paper
|
For each submission, find its author and acceptance result.
|
workshop : workshop_id (number) , date (text) , venue (text) , name (text) | submission : submission_id (number) , scores (number) , author (text) , college (text) | acceptance : submission_id (number) , workshop_id (number) , result (text)
|
submission : author (text) , submission_id (number) | acceptance : result (text) , submission_id (number)
| 0.636364 |
workshop_paper
|
Show the result of the submission with the highest score.
|
workshop : workshop_id (number) , date (text) , venue (text) , name (text) | submission : submission_id (number) , scores (number) , author (text) , college (text) | acceptance : submission_id (number) , workshop_id (number) , result (text)
|
acceptance : result (text) , submission_id (number) | submission : submission_id (number) , scores (number)
| 0.636364 |
workshop_paper
|
Which submission received the highest score in acceptance result. Show me the result.
|
workshop : workshop_id (number) , date (text) , venue (text) , name (text) | submission : submission_id (number) , scores (number) , author (text) , college (text) | acceptance : submission_id (number) , workshop_id (number) , result (text)
|
acceptance : result (text) , submission_id (number) | submission : submission_id (number) , scores (number)
| 0.636364 |
workshop_paper
|
Show each author and the number of workshops they submitted to.
|
workshop : workshop_id (number) , date (text) , venue (text) , name (text) | submission : submission_id (number) , scores (number) , author (text) , college (text) | acceptance : submission_id (number) , workshop_id (number) , result (text)
|
submission : author (text) , submission_id (number) | acceptance : workshop_id (number) , submission_id (number)
| 0.636364 |
workshop_paper
|
How many workshops did each author submit to? Return the author name and the number of workshops.
|
workshop : workshop_id (number) , date (text) , venue (text) , name (text) | submission : submission_id (number) , scores (number) , author (text) , college (text) | acceptance : submission_id (number) , workshop_id (number) , result (text)
|
submission : author (text) , submission_id (number) | acceptance : workshop_id (number) , submission_id (number)
| 0.636364 |
workshop_paper
|
Show the authors who have submissions to more than one workshop.
|
workshop : workshop_id (number) , date (text) , venue (text) , name (text) | submission : submission_id (number) , scores (number) , author (text) , college (text) | acceptance : submission_id (number) , workshop_id (number) , result (text)
|
submission : author (text) , submission_id (number) | acceptance : submission_id (number) , workshop_id (number)
| 0.636364 |
workshop_paper
|
Which authors have submitted to more than one workshop?
|
workshop : workshop_id (number) , date (text) , venue (text) , name (text) | submission : submission_id (number) , scores (number) , author (text) , college (text) | acceptance : submission_id (number) , workshop_id (number) , result (text)
|
submission : author (text) , submission_id (number) | acceptance : submission_id (number) , workshop_id (number)
| 0.636364 |
workshop_paper
|
Show the date and venue of each workshop in ascending alphabetical order of the venue.
|
workshop : workshop_id (number) , date (text) , venue (text) , name (text) | submission : submission_id (number) , scores (number) , author (text) , college (text) | acceptance : submission_id (number) , workshop_id (number) , result (text)
|
workshop : date (text) , venue (text)
| 0.818182 |
workshop_paper
|
Sort the each workshop in alphabetical order of the venue. Return the date and venue of each workshop.
|
workshop : workshop_id (number) , date (text) , venue (text) , name (text) | submission : submission_id (number) , scores (number) , author (text) , college (text) | acceptance : submission_id (number) , workshop_id (number) , result (text)
|
workshop : date (text) , venue (text)
| 0.818182 |
workshop_paper
|
List the authors who do not have submission to any workshop.
|
workshop : workshop_id (number) , date (text) , venue (text) , name (text) | submission : submission_id (number) , scores (number) , author (text) , college (text) | acceptance : submission_id (number) , workshop_id (number) , result (text)
|
submission : author (text) , submission_id (number) | acceptance : submission_id (number)
| 0.727273 |
workshop_paper
|
Which authors did not submit to any workshop?
|
workshop : workshop_id (number) , date (text) , venue (text) , name (text) | submission : submission_id (number) , scores (number) , author (text) , college (text) | acceptance : submission_id (number) , workshop_id (number) , result (text)
|
submission : author (text) , submission_id (number) | acceptance : submission_id (number)
| 0.727273 |
tracking_share_transactions
|
Find the number of investors in total.
|
investors : investor_id (number) , investor_details (text) | lots : lot_id (number) , investor_id (number) , lot_details (text) | ref_transaction_types : transaction_type_code (text) , transaction_type_description (text) | transactions : transaction_id (number) , investor_id (number) , transaction_type_code (text) , date_of_transaction (time) , amount_of_transaction (number) , share_count (text) , other_details (text) | sales : sales_transaction_id (number) , sales_details (text) | purchases : purchase_transaction_id (number) , purchase_details (text) | transactions_lots : transaction_id (number) , lot_id (number)
|
investors : investor_id (number)
| 0.95 |
tracking_share_transactions
|
Show all investor details.
|
investors : investor_id (number) , investor_details (text) | lots : lot_id (number) , investor_id (number) , lot_details (text) | ref_transaction_types : transaction_type_code (text) , transaction_type_description (text) | transactions : transaction_id (number) , investor_id (number) , transaction_type_code (text) , date_of_transaction (time) , amount_of_transaction (number) , share_count (text) , other_details (text) | sales : sales_transaction_id (number) , sales_details (text) | purchases : purchase_transaction_id (number) , purchase_details (text) | transactions_lots : transaction_id (number) , lot_id (number)
|
investors : investor_details (text)
| 0.95 |
tracking_share_transactions
|
Show all distinct lot details.
|
investors : investor_id (number) , investor_details (text) | lots : lot_id (number) , investor_id (number) , lot_details (text) | ref_transaction_types : transaction_type_code (text) , transaction_type_description (text) | transactions : transaction_id (number) , investor_id (number) , transaction_type_code (text) , date_of_transaction (time) , amount_of_transaction (number) , share_count (text) , other_details (text) | sales : sales_transaction_id (number) , sales_details (text) | purchases : purchase_transaction_id (number) , purchase_details (text) | transactions_lots : transaction_id (number) , lot_id (number)
|
lots : lot_details (text)
| 0.95 |
tracking_share_transactions
|
Show the maximum amount of transaction.
|
investors : investor_id (number) , investor_details (text) | lots : lot_id (number) , investor_id (number) , lot_details (text) | ref_transaction_types : transaction_type_code (text) , transaction_type_description (text) | transactions : transaction_id (number) , investor_id (number) , transaction_type_code (text) , date_of_transaction (time) , amount_of_transaction (number) , share_count (text) , other_details (text) | sales : sales_transaction_id (number) , sales_details (text) | purchases : purchase_transaction_id (number) , purchase_details (text) | transactions_lots : transaction_id (number) , lot_id (number)
|
transactions : amount_of_transaction (number)
| 0.95 |
tracking_share_transactions
|
Show all date and share count of transactions.
|
investors : investor_id (number) , investor_details (text) | lots : lot_id (number) , investor_id (number) , lot_details (text) | ref_transaction_types : transaction_type_code (text) , transaction_type_description (text) | transactions : transaction_id (number) , investor_id (number) , transaction_type_code (text) , date_of_transaction (time) , amount_of_transaction (number) , share_count (text) , other_details (text) | sales : sales_transaction_id (number) , sales_details (text) | purchases : purchase_transaction_id (number) , purchase_details (text) | transactions_lots : transaction_id (number) , lot_id (number)
|
transactions : date_of_transaction (time) , share_count (text)
| 0.9 |
tracking_share_transactions
|
What is the total share of transactions?
|
investors : investor_id (number) , investor_details (text) | lots : lot_id (number) , investor_id (number) , lot_details (text) | ref_transaction_types : transaction_type_code (text) , transaction_type_description (text) | transactions : transaction_id (number) , investor_id (number) , transaction_type_code (text) , date_of_transaction (time) , amount_of_transaction (number) , share_count (text) , other_details (text) | sales : sales_transaction_id (number) , sales_details (text) | purchases : purchase_transaction_id (number) , purchase_details (text) | transactions_lots : transaction_id (number) , lot_id (number)
|
transactions : share_count (text)
| 0.95 |
tracking_share_transactions
|
Show all transaction ids with transaction code 'PUR'.
|
investors : investor_id (number) , investor_details (text) | lots : lot_id (number) , investor_id (number) , lot_details (text) | ref_transaction_types : transaction_type_code (text) , transaction_type_description (text) | transactions : transaction_id (number) , investor_id (number) , transaction_type_code (text) , date_of_transaction (time) , amount_of_transaction (number) , share_count (text) , other_details (text) | sales : sales_transaction_id (number) , sales_details (text) | purchases : purchase_transaction_id (number) , purchase_details (text) | transactions_lots : transaction_id (number) , lot_id (number)
|
transactions : transaction_id (number) , transaction_type_code (text)
| 0.9 |
tracking_share_transactions
|
Show all dates of transactions whose type code is "SALE".
|
investors : investor_id (number) , investor_details (text) | lots : lot_id (number) , investor_id (number) , lot_details (text) | ref_transaction_types : transaction_type_code (text) , transaction_type_description (text) | transactions : transaction_id (number) , investor_id (number) , transaction_type_code (text) , date_of_transaction (time) , amount_of_transaction (number) , share_count (text) , other_details (text) | sales : sales_transaction_id (number) , sales_details (text) | purchases : purchase_transaction_id (number) , purchase_details (text) | transactions_lots : transaction_id (number) , lot_id (number)
|
transactions : date_of_transaction (time) , transaction_type_code (text)
| 0.9 |
tracking_share_transactions
|
Show the average amount of transactions with type code "SALE".
|
investors : investor_id (number) , investor_details (text) | lots : lot_id (number) , investor_id (number) , lot_details (text) | ref_transaction_types : transaction_type_code (text) , transaction_type_description (text) | transactions : transaction_id (number) , investor_id (number) , transaction_type_code (text) , date_of_transaction (time) , amount_of_transaction (number) , share_count (text) , other_details (text) | sales : sales_transaction_id (number) , sales_details (text) | purchases : purchase_transaction_id (number) , purchase_details (text) | transactions_lots : transaction_id (number) , lot_id (number)
|
transactions : amount_of_transaction (number) , transaction_type_code (text)
| 0.9 |
tracking_share_transactions
|
Show the description of transaction type with code "PUR".
|
investors : investor_id (number) , investor_details (text) | lots : lot_id (number) , investor_id (number) , lot_details (text) | ref_transaction_types : transaction_type_code (text) , transaction_type_description (text) | transactions : transaction_id (number) , investor_id (number) , transaction_type_code (text) , date_of_transaction (time) , amount_of_transaction (number) , share_count (text) , other_details (text) | sales : sales_transaction_id (number) , sales_details (text) | purchases : purchase_transaction_id (number) , purchase_details (text) | transactions_lots : transaction_id (number) , lot_id (number)
|
ref_transaction_types : transaction_type_description (text) , transaction_type_code (text)
| 0.9 |
tracking_share_transactions
|
Show the minimum amount of transactions whose type code is "PUR" and whose share count is bigger than 50.
|
investors : investor_id (number) , investor_details (text) | lots : lot_id (number) , investor_id (number) , lot_details (text) | ref_transaction_types : transaction_type_code (text) , transaction_type_description (text) | transactions : transaction_id (number) , investor_id (number) , transaction_type_code (text) , date_of_transaction (time) , amount_of_transaction (number) , share_count (text) , other_details (text) | sales : sales_transaction_id (number) , sales_details (text) | purchases : purchase_transaction_id (number) , purchase_details (text) | transactions_lots : transaction_id (number) , lot_id (number)
|
transactions : amount_of_transaction (number) , transaction_type_code (text) , share_count (text)
| 0.85 |
tracking_share_transactions
|
Show the maximum share count of transactions where the amount is smaller than 10000
|
investors : investor_id (number) , investor_details (text) | lots : lot_id (number) , investor_id (number) , lot_details (text) | ref_transaction_types : transaction_type_code (text) , transaction_type_description (text) | transactions : transaction_id (number) , investor_id (number) , transaction_type_code (text) , date_of_transaction (time) , amount_of_transaction (number) , share_count (text) , other_details (text) | sales : sales_transaction_id (number) , sales_details (text) | purchases : purchase_transaction_id (number) , purchase_details (text) | transactions_lots : transaction_id (number) , lot_id (number)
|
transactions : share_count (text) , amount_of_transaction (number)
| 0.9 |
tracking_share_transactions
|
Show the dates of transactions if the share count is bigger than 100 or the amount is bigger than 1000.
|
investors : investor_id (number) , investor_details (text) | lots : lot_id (number) , investor_id (number) , lot_details (text) | ref_transaction_types : transaction_type_code (text) , transaction_type_description (text) | transactions : transaction_id (number) , investor_id (number) , transaction_type_code (text) , date_of_transaction (time) , amount_of_transaction (number) , share_count (text) , other_details (text) | sales : sales_transaction_id (number) , sales_details (text) | purchases : purchase_transaction_id (number) , purchase_details (text) | transactions_lots : transaction_id (number) , lot_id (number)
|
transactions : date_of_transaction (time) , share_count (text) , amount_of_transaction (number)
| 0.85 |
tracking_share_transactions
|
Show the transaction type descriptions and dates if the share count is smaller than 10.
|
investors : investor_id (number) , investor_details (text) | lots : lot_id (number) , investor_id (number) , lot_details (text) | ref_transaction_types : transaction_type_code (text) , transaction_type_description (text) | transactions : transaction_id (number) , investor_id (number) , transaction_type_code (text) , date_of_transaction (time) , amount_of_transaction (number) , share_count (text) , other_details (text) | sales : sales_transaction_id (number) , sales_details (text) | purchases : purchase_transaction_id (number) , purchase_details (text) | transactions_lots : transaction_id (number) , lot_id (number)
|
ref_transaction_types : transaction_type_description (text) , transaction_type_code (text) | transactions : date_of_transaction (time) , transaction_type_code (text) , share_count (text)
| 0.75 |
tracking_share_transactions
|
Show details of all investors if they make any transaction with share count greater than 100.
|
investors : investor_id (number) , investor_details (text) | lots : lot_id (number) , investor_id (number) , lot_details (text) | ref_transaction_types : transaction_type_code (text) , transaction_type_description (text) | transactions : transaction_id (number) , investor_id (number) , transaction_type_code (text) , date_of_transaction (time) , amount_of_transaction (number) , share_count (text) , other_details (text) | sales : sales_transaction_id (number) , sales_details (text) | purchases : purchase_transaction_id (number) , purchase_details (text) | transactions_lots : transaction_id (number) , lot_id (number)
|
investors : investor_details (text) , investor_id (number) | transactions : investor_id (number) , share_count (text)
| 0.8 |
tracking_share_transactions
|
How many distinct transaction types are used in the transactions?
|
investors : investor_id (number) , investor_details (text) | lots : lot_id (number) , investor_id (number) , lot_details (text) | ref_transaction_types : transaction_type_code (text) , transaction_type_description (text) | transactions : transaction_id (number) , investor_id (number) , transaction_type_code (text) , date_of_transaction (time) , amount_of_transaction (number) , share_count (text) , other_details (text) | sales : sales_transaction_id (number) , sales_details (text) | purchases : purchase_transaction_id (number) , purchase_details (text) | transactions_lots : transaction_id (number) , lot_id (number)
|
transactions : transaction_type_code (text)
| 0.95 |
tracking_share_transactions
|
Return the lot details and investor ids.
|
investors : investor_id (number) , investor_details (text) | lots : lot_id (number) , investor_id (number) , lot_details (text) | ref_transaction_types : transaction_type_code (text) , transaction_type_description (text) | transactions : transaction_id (number) , investor_id (number) , transaction_type_code (text) , date_of_transaction (time) , amount_of_transaction (number) , share_count (text) , other_details (text) | sales : sales_transaction_id (number) , sales_details (text) | purchases : purchase_transaction_id (number) , purchase_details (text) | transactions_lots : transaction_id (number) , lot_id (number)
|
lots : lot_details (text) , investor_id (number)
| 0.9 |
tracking_share_transactions
|
Return the lot details of lots that belong to investors with details "l"?
|
investors : investor_id (number) , investor_details (text) | lots : lot_id (number) , investor_id (number) , lot_details (text) | ref_transaction_types : transaction_type_code (text) , transaction_type_description (text) | transactions : transaction_id (number) , investor_id (number) , transaction_type_code (text) , date_of_transaction (time) , amount_of_transaction (number) , share_count (text) , other_details (text) | sales : sales_transaction_id (number) , sales_details (text) | purchases : purchase_transaction_id (number) , purchase_details (text) | transactions_lots : transaction_id (number) , lot_id (number)
|
lots : lot_details (text) , investor_id (number) | investors : investor_id (number) , investor_details (text)
| 0.8 |
tracking_share_transactions
|
What are the purchase details of transactions with amount bigger than 10000?
|
investors : investor_id (number) , investor_details (text) | lots : lot_id (number) , investor_id (number) , lot_details (text) | ref_transaction_types : transaction_type_code (text) , transaction_type_description (text) | transactions : transaction_id (number) , investor_id (number) , transaction_type_code (text) , date_of_transaction (time) , amount_of_transaction (number) , share_count (text) , other_details (text) | sales : sales_transaction_id (number) , sales_details (text) | purchases : purchase_transaction_id (number) , purchase_details (text) | transactions_lots : transaction_id (number) , lot_id (number)
|
purchases : purchase_details (text) , purchase_transaction_id (number) | transactions : transaction_id (number) , amount_of_transaction (number)
| 0.8 |
tracking_share_transactions
|
What are the sale details and dates of transactions with amount smaller than 3000?
|
investors : investor_id (number) , investor_details (text) | lots : lot_id (number) , investor_id (number) , lot_details (text) | ref_transaction_types : transaction_type_code (text) , transaction_type_description (text) | transactions : transaction_id (number) , investor_id (number) , transaction_type_code (text) , date_of_transaction (time) , amount_of_transaction (number) , share_count (text) , other_details (text) | sales : sales_transaction_id (number) , sales_details (text) | purchases : purchase_transaction_id (number) , purchase_details (text) | transactions_lots : transaction_id (number) , lot_id (number)
|
sales : sales_details (text) , sales_transaction_id (number) | transactions : date_of_transaction (time) , transaction_id (number) , amount_of_transaction (number)
| 0.75 |
tracking_share_transactions
|
What are the lot details of lots associated with transactions with share count smaller than 50?
|
investors : investor_id (number) , investor_details (text) | lots : lot_id (number) , investor_id (number) , lot_details (text) | ref_transaction_types : transaction_type_code (text) , transaction_type_description (text) | transactions : transaction_id (number) , investor_id (number) , transaction_type_code (text) , date_of_transaction (time) , amount_of_transaction (number) , share_count (text) , other_details (text) | sales : sales_transaction_id (number) , sales_details (text) | purchases : purchase_transaction_id (number) , purchase_details (text) | transactions_lots : transaction_id (number) , lot_id (number)
|
lots : lot_details (text) , lot_id (number) | transactions_lots : lot_id (number) , transaction_id (number) | transactions : transaction_id (number) , share_count (text)
| 0.7 |
tracking_share_transactions
|
What are the lot details of lots associated with transactions whose share count is bigger than 100 and whose type code is "PUR"?
|
investors : investor_id (number) , investor_details (text) | lots : lot_id (number) , investor_id (number) , lot_details (text) | ref_transaction_types : transaction_type_code (text) , transaction_type_description (text) | transactions : transaction_id (number) , investor_id (number) , transaction_type_code (text) , date_of_transaction (time) , amount_of_transaction (number) , share_count (text) , other_details (text) | sales : sales_transaction_id (number) , sales_details (text) | purchases : purchase_transaction_id (number) , purchase_details (text) | transactions_lots : transaction_id (number) , lot_id (number)
|
lots : lot_details (text) , lot_id (number) | transactions_lots : lot_id (number) , transaction_id (number) | transactions : transaction_id (number) , share_count (text) , transaction_type_code (text)
| 0.65 |
tracking_share_transactions
|
Show the average transaction amount for different transaction types.
|
investors : investor_id (number) , investor_details (text) | lots : lot_id (number) , investor_id (number) , lot_details (text) | ref_transaction_types : transaction_type_code (text) , transaction_type_description (text) | transactions : transaction_id (number) , investor_id (number) , transaction_type_code (text) , date_of_transaction (time) , amount_of_transaction (number) , share_count (text) , other_details (text) | sales : sales_transaction_id (number) , sales_details (text) | purchases : purchase_transaction_id (number) , purchase_details (text) | transactions_lots : transaction_id (number) , lot_id (number)
|
transactions : transaction_type_code (text) , amount_of_transaction (number)
| 0.9 |
tracking_share_transactions
|
Show the maximum and minimum share count of different transaction types.
|
investors : investor_id (number) , investor_details (text) | lots : lot_id (number) , investor_id (number) , lot_details (text) | ref_transaction_types : transaction_type_code (text) , transaction_type_description (text) | transactions : transaction_id (number) , investor_id (number) , transaction_type_code (text) , date_of_transaction (time) , amount_of_transaction (number) , share_count (text) , other_details (text) | sales : sales_transaction_id (number) , sales_details (text) | purchases : purchase_transaction_id (number) , purchase_details (text) | transactions_lots : transaction_id (number) , lot_id (number)
|
transactions : transaction_type_code (text) , share_count (text)
| 0.9 |
tracking_share_transactions
|
Show the average share count of transactions for different investors.
|
investors : investor_id (number) , investor_details (text) | lots : lot_id (number) , investor_id (number) , lot_details (text) | ref_transaction_types : transaction_type_code (text) , transaction_type_description (text) | transactions : transaction_id (number) , investor_id (number) , transaction_type_code (text) , date_of_transaction (time) , amount_of_transaction (number) , share_count (text) , other_details (text) | sales : sales_transaction_id (number) , sales_details (text) | purchases : purchase_transaction_id (number) , purchase_details (text) | transactions_lots : transaction_id (number) , lot_id (number)
|
transactions : investor_id (number) , share_count (text)
| 0.9 |
tracking_share_transactions
|
Show the average share count of transactions each each investor, ordered by average share count.
|
investors : investor_id (number) , investor_details (text) | lots : lot_id (number) , investor_id (number) , lot_details (text) | ref_transaction_types : transaction_type_code (text) , transaction_type_description (text) | transactions : transaction_id (number) , investor_id (number) , transaction_type_code (text) , date_of_transaction (time) , amount_of_transaction (number) , share_count (text) , other_details (text) | sales : sales_transaction_id (number) , sales_details (text) | purchases : purchase_transaction_id (number) , purchase_details (text) | transactions_lots : transaction_id (number) , lot_id (number)
|
transactions : investor_id (number) , share_count (text)
| 0.9 |
tracking_share_transactions
|
Show the average amount of transactions for different investors.
|
investors : investor_id (number) , investor_details (text) | lots : lot_id (number) , investor_id (number) , lot_details (text) | ref_transaction_types : transaction_type_code (text) , transaction_type_description (text) | transactions : transaction_id (number) , investor_id (number) , transaction_type_code (text) , date_of_transaction (time) , amount_of_transaction (number) , share_count (text) , other_details (text) | sales : sales_transaction_id (number) , sales_details (text) | purchases : purchase_transaction_id (number) , purchase_details (text) | transactions_lots : transaction_id (number) , lot_id (number)
|
transactions : investor_id (number) , amount_of_transaction (number)
| 0.9 |
tracking_share_transactions
|
Show the average amount of transactions for different lots.
|
investors : investor_id (number) , investor_details (text) | lots : lot_id (number) , investor_id (number) , lot_details (text) | ref_transaction_types : transaction_type_code (text) , transaction_type_description (text) | transactions : transaction_id (number) , investor_id (number) , transaction_type_code (text) , date_of_transaction (time) , amount_of_transaction (number) , share_count (text) , other_details (text) | sales : sales_transaction_id (number) , sales_details (text) | purchases : purchase_transaction_id (number) , purchase_details (text) | transactions_lots : transaction_id (number) , lot_id (number)
|
transactions_lots : lot_id (number) , transaction_id (number) | transactions : amount_of_transaction (number) , transaction_id (number)
| 0.8 |
tracking_share_transactions
|
Show the average amount of transactions for different lots, ordered by average amount of transactions.
|
investors : investor_id (number) , investor_details (text) | lots : lot_id (number) , investor_id (number) , lot_details (text) | ref_transaction_types : transaction_type_code (text) , transaction_type_description (text) | transactions : transaction_id (number) , investor_id (number) , transaction_type_code (text) , date_of_transaction (time) , amount_of_transaction (number) , share_count (text) , other_details (text) | sales : sales_transaction_id (number) , sales_details (text) | purchases : purchase_transaction_id (number) , purchase_details (text) | transactions_lots : transaction_id (number) , lot_id (number)
|
transactions_lots : lot_id (number) , transaction_id (number) | transactions : amount_of_transaction (number) , transaction_id (number)
| 0.8 |
tracking_share_transactions
|
Show the number of transactions with transaction type code "SALE" for different investors if it is larger than 0.
|
investors : investor_id (number) , investor_details (text) | lots : lot_id (number) , investor_id (number) , lot_details (text) | ref_transaction_types : transaction_type_code (text) , transaction_type_description (text) | transactions : transaction_id (number) , investor_id (number) , transaction_type_code (text) , date_of_transaction (time) , amount_of_transaction (number) , share_count (text) , other_details (text) | sales : sales_transaction_id (number) , sales_details (text) | purchases : purchase_transaction_id (number) , purchase_details (text) | transactions_lots : transaction_id (number) , lot_id (number)
|
transactions : investor_id (number) , transaction_type_code (text) , transaction_id (number)
| 0.85 |
tracking_share_transactions
|
Show the number of transactions for different investors.
|
investors : investor_id (number) , investor_details (text) | lots : lot_id (number) , investor_id (number) , lot_details (text) | ref_transaction_types : transaction_type_code (text) , transaction_type_description (text) | transactions : transaction_id (number) , investor_id (number) , transaction_type_code (text) , date_of_transaction (time) , amount_of_transaction (number) , share_count (text) , other_details (text) | sales : sales_transaction_id (number) , sales_details (text) | purchases : purchase_transaction_id (number) , purchase_details (text) | transactions_lots : transaction_id (number) , lot_id (number)
|
transactions : investor_id (number) , transaction_id (number)
| 0.9 |
tracking_share_transactions
|
Show the transaction type code that occurs the fewest times.
|
investors : investor_id (number) , investor_details (text) | lots : lot_id (number) , investor_id (number) , lot_details (text) | ref_transaction_types : transaction_type_code (text) , transaction_type_description (text) | transactions : transaction_id (number) , investor_id (number) , transaction_type_code (text) , date_of_transaction (time) , amount_of_transaction (number) , share_count (text) , other_details (text) | sales : sales_transaction_id (number) , sales_details (text) | purchases : purchase_transaction_id (number) , purchase_details (text) | transactions_lots : transaction_id (number) , lot_id (number)
|
transactions : transaction_type_code (text) , transaction_id (number)
| 0.9 |
tracking_share_transactions
|
Show the transaction type code that occurs the most frequently.
|
investors : investor_id (number) , investor_details (text) | lots : lot_id (number) , investor_id (number) , lot_details (text) | ref_transaction_types : transaction_type_code (text) , transaction_type_description (text) | transactions : transaction_id (number) , investor_id (number) , transaction_type_code (text) , date_of_transaction (time) , amount_of_transaction (number) , share_count (text) , other_details (text) | sales : sales_transaction_id (number) , sales_details (text) | purchases : purchase_transaction_id (number) , purchase_details (text) | transactions_lots : transaction_id (number) , lot_id (number)
|
transactions : transaction_type_code (text) , transaction_id (number)
| 0.9 |
tracking_share_transactions
|
Show the description of the transaction type that occurs most frequently.
|
investors : investor_id (number) , investor_details (text) | lots : lot_id (number) , investor_id (number) , lot_details (text) | ref_transaction_types : transaction_type_code (text) , transaction_type_description (text) | transactions : transaction_id (number) , investor_id (number) , transaction_type_code (text) , date_of_transaction (time) , amount_of_transaction (number) , share_count (text) , other_details (text) | sales : sales_transaction_id (number) , sales_details (text) | purchases : purchase_transaction_id (number) , purchase_details (text) | transactions_lots : transaction_id (number) , lot_id (number)
|
ref_transaction_types : transaction_type_description (text) , transaction_type_code (text) | transactions : transaction_type_code (text) , transaction_id (number)
| 0.8 |
tracking_share_transactions
|
Show the id and details of the investor that has the largest number of transactions.
|
investors : investor_id (number) , investor_details (text) | lots : lot_id (number) , investor_id (number) , lot_details (text) | ref_transaction_types : transaction_type_code (text) , transaction_type_description (text) | transactions : transaction_id (number) , investor_id (number) , transaction_type_code (text) , date_of_transaction (time) , amount_of_transaction (number) , share_count (text) , other_details (text) | sales : sales_transaction_id (number) , sales_details (text) | purchases : purchase_transaction_id (number) , purchase_details (text) | transactions_lots : transaction_id (number) , lot_id (number)
|
investors : investor_id (number) , investor_details (text) | transactions : investor_id (number) , transaction_id (number)
| 0.8 |
tracking_share_transactions
|
Show the id and details for the investors who have the top 3 number of transactions.
|
investors : investor_id (number) , investor_details (text) | lots : lot_id (number) , investor_id (number) , lot_details (text) | ref_transaction_types : transaction_type_code (text) , transaction_type_description (text) | transactions : transaction_id (number) , investor_id (number) , transaction_type_code (text) , date_of_transaction (time) , amount_of_transaction (number) , share_count (text) , other_details (text) | sales : sales_transaction_id (number) , sales_details (text) | purchases : purchase_transaction_id (number) , purchase_details (text) | transactions_lots : transaction_id (number) , lot_id (number)
|
investors : investor_id (number) , investor_details (text) | transactions : investor_id (number) , transaction_id (number)
| 0.8 |
tracking_share_transactions
|
Show the ids of the investors who have at least two transactions.
|
investors : investor_id (number) , investor_details (text) | lots : lot_id (number) , investor_id (number) , lot_details (text) | ref_transaction_types : transaction_type_code (text) , transaction_type_description (text) | transactions : transaction_id (number) , investor_id (number) , transaction_type_code (text) , date_of_transaction (time) , amount_of_transaction (number) , share_count (text) , other_details (text) | sales : sales_transaction_id (number) , sales_details (text) | purchases : purchase_transaction_id (number) , purchase_details (text) | transactions_lots : transaction_id (number) , lot_id (number)
|
investors : investor_id (number) | transactions : investor_id (number) , transaction_id (number)
| 0.85 |
tracking_share_transactions
|
Show the ids and details of the investors who have at least two transactions with type code "SALE".
|
investors : investor_id (number) , investor_details (text) | lots : lot_id (number) , investor_id (number) , lot_details (text) | ref_transaction_types : transaction_type_code (text) , transaction_type_description (text) | transactions : transaction_id (number) , investor_id (number) , transaction_type_code (text) , date_of_transaction (time) , amount_of_transaction (number) , share_count (text) , other_details (text) | sales : sales_transaction_id (number) , sales_details (text) | purchases : purchase_transaction_id (number) , purchase_details (text) | transactions_lots : transaction_id (number) , lot_id (number)
|
investors : investor_id (number) , investor_details (text) | transactions : investor_id (number) , transaction_type_code (text) , transaction_id (number)
| 0.75 |
tracking_share_transactions
|
What are the dates of transactions with at least 100 share count or amount bigger than 100?
|
investors : investor_id (number) , investor_details (text) | lots : lot_id (number) , investor_id (number) , lot_details (text) | ref_transaction_types : transaction_type_code (text) , transaction_type_description (text) | transactions : transaction_id (number) , investor_id (number) , transaction_type_code (text) , date_of_transaction (time) , amount_of_transaction (number) , share_count (text) , other_details (text) | sales : sales_transaction_id (number) , sales_details (text) | purchases : purchase_transaction_id (number) , purchase_details (text) | transactions_lots : transaction_id (number) , lot_id (number)
|
transactions : date_of_transaction (time) , share_count (text) , amount_of_transaction (number)
| 0.85 |
tracking_share_transactions
|
What are the details of all sales and purchases?
|
investors : investor_id (number) , investor_details (text) | lots : lot_id (number) , investor_id (number) , lot_details (text) | ref_transaction_types : transaction_type_code (text) , transaction_type_description (text) | transactions : transaction_id (number) , investor_id (number) , transaction_type_code (text) , date_of_transaction (time) , amount_of_transaction (number) , share_count (text) , other_details (text) | sales : sales_transaction_id (number) , sales_details (text) | purchases : purchase_transaction_id (number) , purchase_details (text) | transactions_lots : transaction_id (number) , lot_id (number)
|
sales : sales_details (text) | purchases : purchase_details (text)
| 0.9 |
tracking_share_transactions
|
What are the details of the lots which are not used in any transactions?
|
investors : investor_id (number) , investor_details (text) | lots : lot_id (number) , investor_id (number) , lot_details (text) | ref_transaction_types : transaction_type_code (text) , transaction_type_description (text) | transactions : transaction_id (number) , investor_id (number) , transaction_type_code (text) , date_of_transaction (time) , amount_of_transaction (number) , share_count (text) , other_details (text) | sales : sales_transaction_id (number) , sales_details (text) | purchases : purchase_transaction_id (number) , purchase_details (text) | transactions_lots : transaction_id (number) , lot_id (number)
|
lots : lot_details (text) , lot_id (number) | transactions_lots : lot_id (number)
| 0.85 |
cre_Theme_park
|
How many available hotels are there in total?
|
ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)
|
hotels : hotel_id (number)
| 0.980769 |
cre_Theme_park
|
Find the total number of available hotels.
|
ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)
|
hotels : hotel_id (number)
| 0.980769 |
cre_Theme_park
|
What are the price ranges of hotels?
|
ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)
|
hotels : price_range (number)
| 0.980769 |
cre_Theme_park
|
Tell me the price ranges for all the hotels.
|
ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)
|
hotels : price_range (number)
| 0.980769 |
cre_Theme_park
|
Show all distinct location names.
|
ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)
|
locations : location_name (text)
| 0.980769 |
cre_Theme_park
|
What are the distinct location names?
|
ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)
|
locations : location_name (text)
| 0.980769 |
cre_Theme_park
|
Show the names and details of all the staff members.
|
ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)
|
staff : name (text) , other_details (text)
| 0.961538 |
cre_Theme_park
|
What is the name and detail of each staff member?
|
ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)
|
staff : name (text) , other_details (text)
| 0.961538 |
cre_Theme_park
|
Show details of all visitors.
|
ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)
|
visitors : tourist_details (text)
| 0.980769 |
cre_Theme_park
|
What is the detail of each visitor?
|
ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)
|
visitors : tourist_details (text)
| 0.980769 |
cre_Theme_park
|
Show the price ranges of hotels with 5 star ratings.
|
ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)
|
hotels : price_range (number) , star_rating_code (text)
| 0.961538 |
cre_Theme_park
|
What are the price ranges of five star hotels?
|
ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)
|
hotels : price_range (number) , star_rating_code (text)
| 0.961538 |
cre_Theme_park
|
Show the average price range of hotels that have 5 star ratings and allow pets.
|
ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)
|
hotels : price_range (number) , star_rating_code (text) , pets_allowed_yn (text)
| 0.942308 |
cre_Theme_park
|
What is the average price range of five star hotels that allow pets?
|
ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)
|
hotels : price_range (number) , star_rating_code (text) , pets_allowed_yn (text)
| 0.942308 |
cre_Theme_park
|
What is the address of the location "UK Gallery"?
|
ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)
|
locations : address (text) , location_name (text)
| 0.961538 |
cre_Theme_park
|
Find the address of the location named "UK Gallery".
|
ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)
|
locations : address (text) , location_name (text)
| 0.961538 |
cre_Theme_park
|
What is the detail of the location UK Gallery?
|
ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)
|
locations : other_details (text) , location_name (text)
| 0.961538 |
cre_Theme_park
|
Return the detail of the location named "UK Gallery".
|
ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)
|
locations : other_details (text) , location_name (text)
| 0.961538 |
cre_Theme_park
|
Which location names contain the word "film"?
|
ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)
|
locations : location_name (text)
| 0.980769 |
cre_Theme_park
|
Find all the locations whose names contain the word "film".
|
ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)
|
locations : location_name (text)
| 0.980769 |
cre_Theme_park
|
How many distinct names are associated with all the photos?
|
ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)
|
photos : name (text)
| 0.980769 |
cre_Theme_park
|
Count the number of distinct names associated with the photos.
|
ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)
|
photos : name (text)
| 0.980769 |
cre_Theme_park
|
What are the distinct visit dates?
|
ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)
|
visits : visit_date (time)
| 0.980769 |
cre_Theme_park
|
Find all the distinct visit dates.
|
ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)
|
visits : visit_date (time)
| 0.980769 |
cre_Theme_park
|
What are the names of the tourist attractions that can be accessed by bus?
|
ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)
|
tourist_attractions : name (text) , how_to_get_there (text)
| 0.961538 |
cre_Theme_park
|
Which tourist attractions can we get to by bus? Tell me the names of the attractions.
|
ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)
|
tourist_attractions : name (text) , how_to_get_there (text)
| 0.961538 |
cre_Theme_park
|
What are the names and opening hours of the tourist attractions that can be accessed by bus or walk?
|
ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)
|
tourist_attractions : name (text) , opening_hours (text) , how_to_get_there (text)
| 0.942308 |
cre_Theme_park
|
Find the names and opening hours of the tourist attractions that we get to by bus or walk.
|
ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)
|
tourist_attractions : name (text) , opening_hours (text) , how_to_get_there (text)
| 0.942308 |
cre_Theme_park
|
What are the star rating descriptions of the hotels with price above 10000?
|
ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)
|
ref_hotel_star_ratings : star_rating_description (text) , star_rating_code (text) | hotels : star_rating_code (text) , price_range (number)
| 0.923077 |
cre_Theme_park
|
Give me the star rating descriptions of the hotels that cost more than 10000.
|
ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)
|
ref_hotel_star_ratings : star_rating_description (text) , star_rating_code (text) | hotels : star_rating_code (text) , price_range (number)
| 0.923077 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.