{"id":56,"date":"2017-09-21T14:33:56","date_gmt":"2017-09-21T14:33:56","guid":{"rendered":"http:\/\/www.ootp.cavebutter.net\/blog\/?p=56"},"modified":"2017-09-21T15:07:12","modified_gmt":"2017-09-21T15:07:12","slug":"post-4-parks-and-teams","status":"publish","type":"post","link":"http:\/\/www.ootp.cavebutter.net\/blog\/archives\/56","title":{"rendered":"<font color='#1e73be'>Tables 4:  Parks and Teams<\/font>"},"content":{"rendered":"<p><strong>Creating parks table<\/strong><\/p>\n<p>Parks is another one of those tables that has a ton of columns of which we need only a couple. \u00a0It&#8217;s a standalone table that doesn&#8217;t have any columns that could be construed as a foreign key (if we were using them). \u00a0We&#8217;re really only interested in &#8216;park_id&#8217; and the park factor columns about halfway down:<\/p>\n<ul>\n<li>&#8216;avg&#8217;<\/li>\n<li>&#8216;avg_l&#8217;<\/li>\n<li>&#8216;avg_r&#8217;<\/li>\n<li>&#8216;d&#8217;<\/li>\n<li>&#8216;t&#8217;<\/li>\n<li>&#8216;hr&#8217;<\/li>\n<li>&#8216;hr_l&#8217;<\/li>\n<li>&#8216;hr_r&#8217;<\/li>\n<\/ul>\n<p>And of those, at least for the time being, we&#8217;re only interested in &#8216;avg&#8217;. \u00a0This is the factor we&#8217;ll be using to adjust some of the advanced statistics by to account for the specific conditions of the park in which each player played his home games.<\/p>\n<pre class=\"line-numbers\"><code class=\"language-sql\">CREATE TABLE `parks` (\r\n  `park_id` int(11) NOT NULL,\r\n  `dimensions_x` smallint(6) DEFAULT NULL,\r\n  `dimensions_y` smallint(6) DEFAULT NULL,\r\n  `batter_left_x` smallint(6) DEFAULT NULL,\r\n  `batter_left_y` smallint(6) DEFAULT NULL,\r\n  `batter_right_x` smallint(6) DEFAULT NULL,\r\n  `batter_right_y` smallint(6) DEFAULT NULL,\r\n  `bases_x0` smallint(6) DEFAULT NULL,\r\n  `bases_x1` smallint(6) DEFAULT NULL,\r\n  `bases_x2` smallint(6) DEFAULT NULL,\r\n  `bases_y0` smallint(6) DEFAULT NULL,\r\n  `bases_y1` smallint(6) DEFAULT NULL,\r\n  `bases_y2` smallint(6) DEFAULT NULL,\r\n  `positions_x0` smallint(6) DEFAULT NULL,\r\n  `positions_x1` smallint(6) DEFAULT NULL,\r\n  `positions_x2` smallint(6) DEFAULT NULL,\r\n  `positions_x3` smallint(6) DEFAULT NULL,\r\n  `positions_x4` smallint(6) DEFAULT NULL,\r\n  `positions_x5` smallint(6) DEFAULT NULL,\r\n  `positions_x6` smallint(6) DEFAULT NULL,\r\n  `positions_x7` smallint(6) DEFAULT NULL,\r\n  `positions_x8` smallint(6) DEFAULT NULL,\r\n  `positions_x9` smallint(6) DEFAULT NULL,\r\n  `positions_y0` smallint(6) DEFAULT NULL,\r\n  `positions_y1` smallint(6) DEFAULT NULL,\r\n  `positions_y2` smallint(6) DEFAULT NULL,\r\n  `positions_y3` smallint(6) DEFAULT NULL,\r\n  `positions_y4` smallint(6) DEFAULT NULL,\r\n  `positions_y5` smallint(6) DEFAULT NULL,\r\n  `positions_y6` smallint(6) DEFAULT NULL,\r\n  `positions_y7` smallint(6) DEFAULT NULL,\r\n  `positions_y8` smallint(6) DEFAULT NULL,\r\n  `positions_y9` smallint(6) DEFAULT NULL,\r\n  `avg` double DEFAULT NULL,\r\n  `avg_l` double DEFAULT NULL,\r\n  `avg_r` double DEFAULT NULL,\r\n  `d` double DEFAULT NULL,\r\n  `t` double DEFAULT NULL,\r\n  `hr` double DEFAULT NULL,\r\n  `hr_r` double DEFAULT NULL,\r\n  `hr_l` double DEFAULT NULL,\r\n  `temperature0` smallint(6) DEFAULT NULL,\r\n  `temperature1` smallint(6) DEFAULT NULL,\r\n  `temperature2` smallint(6) DEFAULT NULL,\r\n  `temperature3` smallint(6) DEFAULT NULL,\r\n  `temperature4` smallint(6) DEFAULT NULL,\r\n  `temperature5` smallint(6) DEFAULT NULL,\r\n  `temperature6` smallint(6) DEFAULT NULL,\r\n  `temperature7` smallint(6) DEFAULT NULL,\r\n  `temperature8` smallint(6) DEFAULT NULL,\r\n  `temperature9` smallint(6) DEFAULT NULL,\r\n  `temperature10` smallint(6) DEFAULT NULL,\r\n  `temperature11` smallint(6) DEFAULT NULL,\r\n  `rain0` smallint(6) DEFAULT NULL,\r\n  `rain1` smallint(6) DEFAULT NULL,\r\n  `rain2` smallint(6) DEFAULT NULL,\r\n  `rain3` smallint(6) DEFAULT NULL,\r\n  `rain4` smallint(6) DEFAULT NULL,\r\n  `rain5` smallint(6) DEFAULT NULL,\r\n  `rain6` smallint(6) DEFAULT NULL,\r\n  `rain7` smallint(6) DEFAULT NULL,\r\n  `rain8` smallint(6) DEFAULT NULL,\r\n  `rain9` smallint(6) DEFAULT NULL,\r\n  `rain10` smallint(6) DEFAULT NULL,\r\n  `rain11` smallint(6) DEFAULT NULL,\r\n  `wind` smallint(6) DEFAULT NULL,\r\n  `wind_direction` smallint(6) DEFAULT NULL,\r\n  `distances0` smallint(6) DEFAULT NULL,\r\n  `distances1` smallint(6) DEFAULT NULL,\r\n  `distances2` smallint(6) DEFAULT NULL,\r\n  `distances3` smallint(6) DEFAULT NULL,\r\n  `distances4` smallint(6) DEFAULT NULL,\r\n  `distances5` smallint(6) DEFAULT NULL,\r\n  `distances6` smallint(6) DEFAULT NULL,\r\n  `wall_heights0` smallint(6) DEFAULT NULL,\r\n  `wall_heights1` smallint(6) DEFAULT NULL,\r\n  `wall_heights2` smallint(6) DEFAULT NULL,\r\n  `wall_heights3` smallint(6) DEFAULT NULL,\r\n  `wall_heights4` smallint(6) DEFAULT NULL,\r\n  `wall_heights5` smallint(6) DEFAULT NULL,\r\n  `wall_heights6` smallint(6) DEFAULT NULL,\r\n  `name` varchar(100) DEFAULT NULL,\r\n  `picture` varchar(200) DEFAULT NULL,\r\n  `picture_night` varchar(200) DEFAULT NULL,\r\n  `nation_id` int(11) DEFAULT NULL,\r\n  `capacity` int(11) DEFAULT NULL,\r\n  `type` smallint(6) DEFAULT NULL,\r\n  `foul_ground` smallint(6) DEFAULT NULL,\r\n  `turf` tinyint(4) DEFAULT NULL,\r\n  `gender` int(11) DEFAULT NULL,\r\n  `relative_path_3d_model` varchar(200) DEFAULT NULL,\r\n  `file_name_3d_model` varchar(200) DEFAULT NULL,\r\n  `home_team_dugout_is_at_first_base` tinyint(4) DEFAULT NULL,\r\n  PRIMARY KEY (`park_id`)\r\n) ENGINE=InnoDB DEFAULT CHARSET=latin1;<\/code><\/pre>\n<p>&nbsp;<\/p>\n<p><strong>Creating teams table<\/strong><\/p>\n<p>This table contains, obviously, information about all of the teams in our OOTP universe. \u00a0Again, there are a bunch of columns that are only useful in-game. \u00a0We&#8217;re interested in the teams&#8217; names, nicknames, league, sub_league, and park_id.<\/p>\n<pre class=\"line-numbers\"><code class=\"language-sql\">CREATE TABLE `teams` (\r\n  `team_id` int(11) NOT NULL,\r\n  `name` varchar(50) DEFAULT NULL,\r\n  `abbr` varchar(50) DEFAULT NULL,\r\n  `nickname` varchar(50) DEFAULT NULL,\r\n  `logo_file_name` varchar(200) DEFAULT NULL,\r\n  `city_id` int(11) DEFAULT NULL,\r\n  `park_id` int(11) DEFAULT NULL,\r\n  `league_id` int(11) DEFAULT NULL,\r\n  `sub_league_id` int(11) DEFAULT NULL,\r\n  `division_id` int(11) DEFAULT NULL,\r\n  `nation_id` int(11) DEFAULT NULL,\r\n  `parent_team_id` int(11) DEFAULT NULL,\r\n  `level` int(11) DEFAULT NULL,\r\n  `prevent_any_moves` tinyint(4) DEFAULT NULL,\r\n  `human_team` tinyint(4) DEFAULT NULL,\r\n  `human_id` int(11) DEFAULT NULL,\r\n  `gender` int(11) DEFAULT NULL,\r\n  `background_color_id` varchar(8) DEFAULT NULL,\r\n  `text_color_id` varchar(8) DEFAULT NULL,\r\n  `ballcaps_main_color_id` varchar(8) DEFAULT NULL,\r\n  `ballcaps_visor_color_id` varchar(8) DEFAULT NULL,\r\n  `jersey_main_color_id` varchar(8) DEFAULT NULL,\r\n  `jersey_away_color_id` varchar(8) DEFAULT NULL,\r\n  `jersey_secondary_color_id` varchar(8) DEFAULT NULL,\r\n  `jersey_pin_stripes_color_id` varchar(8) DEFAULT NULL,\r\n  `allstar_team` tinyint(4) DEFAULT NULL,\r\n  `historical_id` varchar(50) DEFAULT NULL,\r\n  PRIMARY KEY (`team_id`),\r\n  INDEX `teams_ix1` (`park_id`),\r\n  INDEX `teams_ix2` (`league_id`),\r\n  INDEX `teams_ix3` (`sub_league_id`),\r\n  INDEX `teams_ix4` (`division_id`)\r\n) ENGINE=InnoDB DEFAULT CHARSET=latin1;<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Creating parks table Parks is another one of those tables that has a ton of columns of which we need only a couple. \u00a0It&#8217;s a standalone table that doesn&#8217;t have any columns that could be construed as a foreign key (if we were using them). \u00a0We&#8217;re really only interested in &#8216;park_id&#8217; and the park factor&hellip; <a class=\"more-link\" href=\"http:\/\/www.ootp.cavebutter.net\/blog\/archives\/56\">Continue reading <span class=\"screen-reader-text\">Tables 4:  Parks and Teams<\/span> <span class=\"meta-nav\" aria-hidden=\"true\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[10],"tags":[7,4,21,6,20],"class_list":["post-56","post","type-post","status-publish","format-standard","hentry","category-tables","tag-mysql","tag-ootp","tag-parks","tag-tables","tag-teams"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.1 - aioseo.com -->\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"cavebutter\"\/>\n\t<link rel=\"canonical\" href=\"http:\/\/www.ootp.cavebutter.net\/blog\/archives\/56\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"MySQL MyStruggle | Rolling my own MySQL Database with OOTP\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Tables 4: Parks and Teams | MySQL MyStruggle\" \/>\n\t\t<meta property=\"og:url\" content=\"http:\/\/www.ootp.cavebutter.net\/blog\/archives\/56\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2017-09-21T14:33:56+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2017-09-21T15:07:12+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Tables 4: Parks and Teams | MySQL MyStruggle\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"http:\\\/\\\/www.ootp.cavebutter.net\\\/blog\\\/archives\\\/56#article\",\"name\":\"Tables 4: Parks and Teams | MySQL MyStruggle\",\"headline\":\"Tables 4:  Parks and Teams\",\"author\":{\"@id\":\"http:\\\/\\\/www.ootp.cavebutter.net\\\/blog\\\/archives\\\/author\\\/cavebutter#author\"},\"publisher\":{\"@id\":\"http:\\\/\\\/www.ootp.cavebutter.net\\\/blog\\\/#organization\"},\"datePublished\":\"2017-09-21T14:33:56-07:00\",\"dateModified\":\"2017-09-21T15:07:12-07:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"http:\\\/\\\/www.ootp.cavebutter.net\\\/blog\\\/archives\\\/56#webpage\"},\"isPartOf\":{\"@id\":\"http:\\\/\\\/www.ootp.cavebutter.net\\\/blog\\\/archives\\\/56#webpage\"},\"articleSection\":\"Tables, mysql, OOTP, parks, tables, teams\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\\\/\\\/www.ootp.cavebutter.net\\\/blog\\\/archives\\\/56#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/www.ootp.cavebutter.net\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\\\/\\\/www.ootp.cavebutter.net\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/www.ootp.cavebutter.net\\\/blog\\\/archives\\\/category\\\/tables#listItem\",\"name\":\"Tables\"}},{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/www.ootp.cavebutter.net\\\/blog\\\/archives\\\/category\\\/tables#listItem\",\"position\":2,\"name\":\"Tables\",\"item\":\"http:\\\/\\\/www.ootp.cavebutter.net\\\/blog\\\/archives\\\/category\\\/tables\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/www.ootp.cavebutter.net\\\/blog\\\/archives\\\/56#listItem\",\"name\":\"Tables 4:  Parks and Teams\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/www.ootp.cavebutter.net\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/www.ootp.cavebutter.net\\\/blog\\\/archives\\\/56#listItem\",\"position\":3,\"name\":\"Tables 4:  Parks and Teams\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/www.ootp.cavebutter.net\\\/blog\\\/archives\\\/category\\\/tables#listItem\",\"name\":\"Tables\"}}]},{\"@type\":\"Organization\",\"@id\":\"http:\\\/\\\/www.ootp.cavebutter.net\\\/blog\\\/#organization\",\"name\":\"MySQL MyStruggle\",\"description\":\"Rolling my own MySQL Database with OOTP\",\"url\":\"http:\\\/\\\/www.ootp.cavebutter.net\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"http:\\\/\\\/www.ootp.cavebutter.net\\\/blog\\\/archives\\\/author\\\/cavebutter#author\",\"url\":\"http:\\\/\\\/www.ootp.cavebutter.net\\\/blog\\\/archives\\\/author\\\/cavebutter\",\"name\":\"cavebutter\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"http:\\\/\\\/www.ootp.cavebutter.net\\\/blog\\\/archives\\\/56#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3841893aa5a48e51f3ff3699f735196959f8b88a5ed3851eda2fed141b75cadc?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"cavebutter\"}},{\"@type\":\"WebPage\",\"@id\":\"http:\\\/\\\/www.ootp.cavebutter.net\\\/blog\\\/archives\\\/56#webpage\",\"url\":\"http:\\\/\\\/www.ootp.cavebutter.net\\\/blog\\\/archives\\\/56\",\"name\":\"Tables 4: Parks and Teams | MySQL MyStruggle\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"http:\\\/\\\/www.ootp.cavebutter.net\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"http:\\\/\\\/www.ootp.cavebutter.net\\\/blog\\\/archives\\\/56#breadcrumblist\"},\"author\":{\"@id\":\"http:\\\/\\\/www.ootp.cavebutter.net\\\/blog\\\/archives\\\/author\\\/cavebutter#author\"},\"creator\":{\"@id\":\"http:\\\/\\\/www.ootp.cavebutter.net\\\/blog\\\/archives\\\/author\\\/cavebutter#author\"},\"datePublished\":\"2017-09-21T14:33:56-07:00\",\"dateModified\":\"2017-09-21T15:07:12-07:00\"},{\"@type\":\"WebSite\",\"@id\":\"http:\\\/\\\/www.ootp.cavebutter.net\\\/blog\\\/#website\",\"url\":\"http:\\\/\\\/www.ootp.cavebutter.net\\\/blog\\\/\",\"name\":\"MySQL MyStruggle\",\"description\":\"Rolling my own MySQL Database with OOTP\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"http:\\\/\\\/www.ootp.cavebutter.net\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Tables 4: Parks and Teams | MySQL MyStruggle","description":"","canonical_url":"http:\/\/www.ootp.cavebutter.net\/blog\/archives\/56","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"http:\/\/www.ootp.cavebutter.net\/blog\/archives\/56#article","name":"Tables 4: Parks and Teams | MySQL MyStruggle","headline":"Tables 4:  Parks and Teams","author":{"@id":"http:\/\/www.ootp.cavebutter.net\/blog\/archives\/author\/cavebutter#author"},"publisher":{"@id":"http:\/\/www.ootp.cavebutter.net\/blog\/#organization"},"datePublished":"2017-09-21T14:33:56-07:00","dateModified":"2017-09-21T15:07:12-07:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"http:\/\/www.ootp.cavebutter.net\/blog\/archives\/56#webpage"},"isPartOf":{"@id":"http:\/\/www.ootp.cavebutter.net\/blog\/archives\/56#webpage"},"articleSection":"Tables, mysql, OOTP, parks, tables, teams"},{"@type":"BreadcrumbList","@id":"http:\/\/www.ootp.cavebutter.net\/blog\/archives\/56#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"http:\/\/www.ootp.cavebutter.net\/blog#listItem","position":1,"name":"Home","item":"http:\/\/www.ootp.cavebutter.net\/blog","nextItem":{"@type":"ListItem","@id":"http:\/\/www.ootp.cavebutter.net\/blog\/archives\/category\/tables#listItem","name":"Tables"}},{"@type":"ListItem","@id":"http:\/\/www.ootp.cavebutter.net\/blog\/archives\/category\/tables#listItem","position":2,"name":"Tables","item":"http:\/\/www.ootp.cavebutter.net\/blog\/archives\/category\/tables","nextItem":{"@type":"ListItem","@id":"http:\/\/www.ootp.cavebutter.net\/blog\/archives\/56#listItem","name":"Tables 4:  Parks and Teams"},"previousItem":{"@type":"ListItem","@id":"http:\/\/www.ootp.cavebutter.net\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"http:\/\/www.ootp.cavebutter.net\/blog\/archives\/56#listItem","position":3,"name":"Tables 4:  Parks and Teams","previousItem":{"@type":"ListItem","@id":"http:\/\/www.ootp.cavebutter.net\/blog\/archives\/category\/tables#listItem","name":"Tables"}}]},{"@type":"Organization","@id":"http:\/\/www.ootp.cavebutter.net\/blog\/#organization","name":"MySQL MyStruggle","description":"Rolling my own MySQL Database with OOTP","url":"http:\/\/www.ootp.cavebutter.net\/blog\/"},{"@type":"Person","@id":"http:\/\/www.ootp.cavebutter.net\/blog\/archives\/author\/cavebutter#author","url":"http:\/\/www.ootp.cavebutter.net\/blog\/archives\/author\/cavebutter","name":"cavebutter","image":{"@type":"ImageObject","@id":"http:\/\/www.ootp.cavebutter.net\/blog\/archives\/56#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/3841893aa5a48e51f3ff3699f735196959f8b88a5ed3851eda2fed141b75cadc?s=96&d=mm&r=g","width":96,"height":96,"caption":"cavebutter"}},{"@type":"WebPage","@id":"http:\/\/www.ootp.cavebutter.net\/blog\/archives\/56#webpage","url":"http:\/\/www.ootp.cavebutter.net\/blog\/archives\/56","name":"Tables 4: Parks and Teams | MySQL MyStruggle","inLanguage":"en-US","isPartOf":{"@id":"http:\/\/www.ootp.cavebutter.net\/blog\/#website"},"breadcrumb":{"@id":"http:\/\/www.ootp.cavebutter.net\/blog\/archives\/56#breadcrumblist"},"author":{"@id":"http:\/\/www.ootp.cavebutter.net\/blog\/archives\/author\/cavebutter#author"},"creator":{"@id":"http:\/\/www.ootp.cavebutter.net\/blog\/archives\/author\/cavebutter#author"},"datePublished":"2017-09-21T14:33:56-07:00","dateModified":"2017-09-21T15:07:12-07:00"},{"@type":"WebSite","@id":"http:\/\/www.ootp.cavebutter.net\/blog\/#website","url":"http:\/\/www.ootp.cavebutter.net\/blog\/","name":"MySQL MyStruggle","description":"Rolling my own MySQL Database with OOTP","inLanguage":"en-US","publisher":{"@id":"http:\/\/www.ootp.cavebutter.net\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"MySQL MyStruggle | Rolling my own MySQL Database with OOTP","og:type":"article","og:title":"Tables 4: Parks and Teams | MySQL MyStruggle","og:url":"http:\/\/www.ootp.cavebutter.net\/blog\/archives\/56","article:published_time":"2017-09-21T14:33:56+00:00","article:modified_time":"2017-09-21T15:07:12+00:00","twitter:card":"summary","twitter:title":"Tables 4: Parks and Teams | MySQL MyStruggle"},"aioseo_meta_data":{"post_id":"56","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"location":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2021-02-03 03:39:37","updated":"2025-12-10 01:07:41","seo_analyzer_scan_date":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"http:\/\/www.ootp.cavebutter.net\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"http:\/\/www.ootp.cavebutter.net\/blog\/archives\/category\/tables\" title=\"Tables\">Tables<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<font color=\"#1e73be\">Tables 4:  Parks and Teams<\/font>\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"http:\/\/www.ootp.cavebutter.net\/blog"},{"label":"Tables","link":"http:\/\/www.ootp.cavebutter.net\/blog\/archives\/category\/tables"},{"label":"<font color='#1e73be'>Tables 4:  Parks and Teams<\/font>","link":"http:\/\/www.ootp.cavebutter.net\/blog\/archives\/56"}],"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9cxb5-U","jetpack_likes_enabled":true,"jetpack-related-posts":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"http:\/\/www.ootp.cavebutter.net\/blog\/wp-json\/wp\/v2\/posts\/56","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.ootp.cavebutter.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.ootp.cavebutter.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.ootp.cavebutter.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.ootp.cavebutter.net\/blog\/wp-json\/wp\/v2\/comments?post=56"}],"version-history":[{"count":2,"href":"http:\/\/www.ootp.cavebutter.net\/blog\/wp-json\/wp\/v2\/posts\/56\/revisions"}],"predecessor-version":[{"id":62,"href":"http:\/\/www.ootp.cavebutter.net\/blog\/wp-json\/wp\/v2\/posts\/56\/revisions\/62"}],"wp:attachment":[{"href":"http:\/\/www.ootp.cavebutter.net\/blog\/wp-json\/wp\/v2\/media?parent=56"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.ootp.cavebutter.net\/blog\/wp-json\/wp\/v2\/categories?post=56"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.ootp.cavebutter.net\/blog\/wp-json\/wp\/v2\/tags?post=56"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}