{"id":19,"date":"2024-01-18T20:15:00","date_gmt":"2024-01-18T20:15:00","guid":{"rendered":"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/?p=19"},"modified":"2024-03-27T14:51:07","modified_gmt":"2024-03-27T14:51:07","slug":"how-to-insert-data-into-your-table","status":"publish","type":"post","link":"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/how-to-insert-data-into-your-table\/","title":{"rendered":"How to insert data into your Table, the correct way"},"content":{"rendered":"\n<p>After your table is already created, you can add multiple kind of information..<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Let&#8217;s start<\/h2>\n\n\n\n<p>You can now start adding data into it with the\u00a0<code><strong>INSERT INTO<\/strong><\/code>\u00a0command:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Inserting a single record:<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code lang-sql\"><code>INSERT INTO people VALUES (20, 'Tony');<\/code><\/pre>\n\n\n\n<ol class=\"wp-block-list\" start=\"2\">\n<li>Inserting multiple records:<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code lang-sql\"><code>INSERT INTO people VALUES (57, 'Joe'), (8, 'Ruby');\n<\/code><\/pre>\n\n\n\n<ol class=\"wp-block-list\" start=\"3\">\n<li>Inserting data into specific columns:<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code lang-sql\"><code>INSERT INTO people (name) VALUES ('Harry');<\/code><\/pre>\n\n\n\n<p>To execute these queries using <strong>TablePlus SQL<\/strong> editor, follow these steps:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Open <strong>TablePlus <\/strong>and connect to your database.<\/li>\n\n\n\n<li>In the <strong>SQL editor<\/strong>, paste one of the provided queries.<\/li>\n\n\n\n<li>Select the query with your mouse.<\/li>\n\n\n\n<li>Click on <strong>&#8220;Run Current&#8221;<\/strong> to execute the query.<\/li>\n<\/ol>\n\n\n\n<p>After executing the queries, you can refresh the database view, click on the &#8220;people&#8221; table, and inspect its content. You&#8217;ll see the inserted data reflecting the changes made.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>These <strong>INSERT INTO<\/strong> commands allow you to populate your database tables with the necessary data, providing a foundation for meaningful interactions and queries. Feel free to experiment with different values and combinations to familiarize yourself with the process of inserting data into a SQL database.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>After your table is already created, you can add multiple kind of information.. Let&#8217;s start You can now start adding data into it with the\u00a0INSERT&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24,25],"tags":[],"class_list":["post-19","post","type-post","status-publish","format-standard","hentry","category-5-databases","category-sql"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to insert data into your Table, the correct way - Zento<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/how-to-insert-data-into-your-table\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to insert data into your Table, the correct way - Zento\" \/>\n<meta property=\"og:description\" content=\"After your table is already created, you can add multiple kind of information.. Let&#8217;s start You can now start adding data into it with the\u00a0INSERT...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/how-to-insert-data-into-your-table\/\" \/>\n<meta property=\"og:site_name\" content=\"Zento\" \/>\n<meta property=\"article:published_time\" content=\"2024-01-18T20:15:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-27T14:51:07+00:00\" \/>\n<meta name=\"author\" content=\"Jonathan Doe\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jonathan Doe\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/how-to-insert-data-into-your-table\/\",\"url\":\"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/how-to-insert-data-into-your-table\/\",\"name\":\"How to insert data into your Table, the correct way - Zento\",\"isPartOf\":{\"@id\":\"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/#website\"},\"datePublished\":\"2024-01-18T20:15:00+00:00\",\"dateModified\":\"2024-03-27T14:51:07+00:00\",\"author\":{\"@id\":\"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/#\/schema\/person\/73c40f6ccae14171f66e46de64b7ba55\"},\"breadcrumb\":{\"@id\":\"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/how-to-insert-data-into-your-table\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/how-to-insert-data-into-your-table\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/how-to-insert-data-into-your-table\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to insert data into your Table, the correct way\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/#website\",\"url\":\"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/\",\"name\":\"Zento\",\"description\":\"Thoughts, stories and ideas.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/#\/schema\/person\/73c40f6ccae14171f66e46de64b7ba55\",\"name\":\"Jonathan Doe\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/a726515546b3cba9511994084a492b5a58cf40acd8faff68586319f1844de21a?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/a726515546b3cba9511994084a492b5a58cf40acd8faff68586319f1844de21a?s=96&d=mm&r=g\",\"caption\":\"Jonathan Doe\"},\"description\":\"Actively writing articles for this website. I really like traveling and photography, follow me on @Twitter i share content there everyday.\",\"sameAs\":[\"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\"],\"url\":\"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to insert data into your Table, the correct way - Zento","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/how-to-insert-data-into-your-table\/","og_locale":"en_US","og_type":"article","og_title":"How to insert data into your Table, the correct way - Zento","og_description":"After your table is already created, you can add multiple kind of information.. Let&#8217;s start You can now start adding data into it with the\u00a0INSERT...","og_url":"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/how-to-insert-data-into-your-table\/","og_site_name":"Zento","article_published_time":"2024-01-18T20:15:00+00:00","article_modified_time":"2024-03-27T14:51:07+00:00","author":"Jonathan Doe","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Jonathan Doe","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/how-to-insert-data-into-your-table\/","url":"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/how-to-insert-data-into-your-table\/","name":"How to insert data into your Table, the correct way - Zento","isPartOf":{"@id":"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/#website"},"datePublished":"2024-01-18T20:15:00+00:00","dateModified":"2024-03-27T14:51:07+00:00","author":{"@id":"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/#\/schema\/person\/73c40f6ccae14171f66e46de64b7ba55"},"breadcrumb":{"@id":"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/how-to-insert-data-into-your-table\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/how-to-insert-data-into-your-table\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/how-to-insert-data-into-your-table\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/"},{"@type":"ListItem","position":2,"name":"How to insert data into your Table, the correct way"}]},{"@type":"WebSite","@id":"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/#website","url":"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/","name":"Zento","description":"Thoughts, stories and ideas.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/#\/schema\/person\/73c40f6ccae14171f66e46de64b7ba55","name":"Jonathan Doe","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/a726515546b3cba9511994084a492b5a58cf40acd8faff68586319f1844de21a?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/a726515546b3cba9511994084a492b5a58cf40acd8faff68586319f1844de21a?s=96&d=mm&r=g","caption":"Jonathan Doe"},"description":"Actively writing articles for this website. I really like traveling and photography, follow me on @Twitter i share content there everyday.","sameAs":["https:\/\/themes.estudiopatagon.com\/wordpress\/zento"],"url":"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/author\/admin\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/wp-json\/wp\/v2\/posts\/19","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/wp-json\/wp\/v2\/comments?post=19"}],"version-history":[{"count":6,"href":"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/wp-json\/wp\/v2\/posts\/19\/revisions"}],"predecessor-version":[{"id":71,"href":"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/wp-json\/wp\/v2\/posts\/19\/revisions\/71"}],"wp:attachment":[{"href":"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/wp-json\/wp\/v2\/media?parent=19"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/wp-json\/wp\/v2\/categories?post=19"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/themes.estudiopatagon.com\/wordpress\/zento\/wp-json\/wp\/v2\/tags?post=19"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}