| [ | |
| { | |
| "column_names": [ | |
| [ | |
| -1, | |
| "*" | |
| ], | |
| [ | |
| 0, | |
| "shop id" | |
| ], | |
| [ | |
| 0, | |
| "address" | |
| ], | |
| [ | |
| 0, | |
| "num of staff" | |
| ], | |
| [ | |
| 0, | |
| "score" | |
| ], | |
| [ | |
| 0, | |
| "open year" | |
| ], | |
| [ | |
| 1, | |
| "member id" | |
| ], | |
| [ | |
| 1, | |
| "name" | |
| ], | |
| [ | |
| 1, | |
| "membership card" | |
| ], | |
| [ | |
| 1, | |
| "age" | |
| ], | |
| [ | |
| 1, | |
| "time of purchase" | |
| ], | |
| [ | |
| 1, | |
| "level of membership" | |
| ], | |
| [ | |
| 1, | |
| "address" | |
| ], | |
| [ | |
| 2, | |
| "hh id" | |
| ], | |
| [ | |
| 2, | |
| "shop id" | |
| ], | |
| [ | |
| 2, | |
| "month" | |
| ], | |
| [ | |
| 2, | |
| "num of shaff in charge" | |
| ], | |
| [ | |
| 3, | |
| "hh id" | |
| ], | |
| [ | |
| 3, | |
| "member id" | |
| ], | |
| [ | |
| 3, | |
| "total amount" | |
| ] | |
| ], | |
| "column_names_original": [ | |
| [ | |
| -1, | |
| "*" | |
| ], | |
| [ | |
| 0, | |
| "Shop_ID" | |
| ], | |
| [ | |
| 0, | |
| "Address" | |
| ], | |
| [ | |
| 0, | |
| "Num_of_staff" | |
| ], | |
| [ | |
| 0, | |
| "Score" | |
| ], | |
| [ | |
| 0, | |
| "Open_Year" | |
| ], | |
| [ | |
| 1, | |
| "Member_ID" | |
| ], | |
| [ | |
| 1, | |
| "Name" | |
| ], | |
| [ | |
| 1, | |
| "Membership_card" | |
| ], | |
| [ | |
| 1, | |
| "Age" | |
| ], | |
| [ | |
| 1, | |
| "Time_of_purchase" | |
| ], | |
| [ | |
| 1, | |
| "Level_of_membership" | |
| ], | |
| [ | |
| 1, | |
| "Address" | |
| ], | |
| [ | |
| 2, | |
| "HH_ID" | |
| ], | |
| [ | |
| 2, | |
| "Shop_ID" | |
| ], | |
| [ | |
| 2, | |
| "Month" | |
| ], | |
| [ | |
| 2, | |
| "Num_of_shaff_in_charge" | |
| ], | |
| [ | |
| 3, | |
| "HH_ID" | |
| ], | |
| [ | |
| 3, | |
| "Member_ID" | |
| ], | |
| [ | |
| 3, | |
| "Total_amount" | |
| ] | |
| ], | |
| "column_types": [ | |
| "text", | |
| "number", | |
| "text", | |
| "text", | |
| "number", | |
| "text", | |
| "number", | |
| "text", | |
| "text", | |
| "number", | |
| "number", | |
| "number", | |
| "text", | |
| "number", | |
| "number", | |
| "text", | |
| "number", | |
| "number", | |
| "number", | |
| "number" | |
| ], | |
| "db_id": "coffee_shop", | |
| "foreign_keys": [ | |
| [ | |
| 14, | |
| 1 | |
| ], | |
| [ | |
| 18, | |
| 6 | |
| ] | |
| ], | |
| "primary_keys": [ | |
| 1, | |
| 6, | |
| 13, | |
| 17 | |
| ], | |
| "table_names": [ | |
| "shop", | |
| "member", | |
| "happy hour", | |
| "happy hour member" | |
| ], | |
| "table_names_original": [ | |
| "shop", | |
| "member", | |
| "happy_hour", | |
| "happy_hour_member" | |
| ] | |
| } | |
| ] |