{"id":9078,"date":"2022-07-27T06:43:00","date_gmt":"2022-07-27T04:43:00","guid":{"rendered":"https:\/\/expert-only.com\/?p=9078"},"modified":"2022-08-29T18:13:33","modified_gmt":"2022-08-29T16:13:33","slug":"create-table-mysql-with-primary-key","status":"publish","type":"post","link":"https:\/\/expert-only.com\/en\/mysql\/create-table-mysql-with-primary-key\/","title":{"rendered":"Create a table in MySQL with a primary key"},"content":{"rendered":"\n<p>To create a table in MySQL (with a primary key), start by connecting to the MySQL server from PHPMyAdmin. Indeed phpMyAdmin (PMA) is the central interface to manage MySQL databases and tables.<\/p>\n\n\n\n<p>MySQL is an Open Source database, which means that it is free software. To start, connect to the MySQL server and database from a web browser like Google Chrome or Firefox for example.<\/p>\n\n\n\n<p>MySQL is a relational database management system (RDBMS) that is the most popular open source database system in the world. It can be used with any operating system. <\/p>\n\n\n\n<p>The MySQL RDBMS provides many benefits, including <strong>high performance and reliability<\/strong>, which make it a popular choice for web-based applications.<\/p>\n\n\n\n<p>Some of the features of MySQL include:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Relational Database Management System (RDBMS)<\/li><li>it is an Open Source software <\/li><li>Can be used with any operating system <\/li><li>Provides high performance and reliability <\/li><li>Many benefits include being web-based<\/li><\/ul>\n\n\n\n<p>Indeed, MySQL is an open-source DBMS that is popular among developers because it&#8217;s free and easy to use.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-create-a-mysql-table-and-add-a-primary-key\">Create a MySQL table and add a primary key<\/h2>\n\n\n\n<p>If your development server is your machine, then the URL is: https:\/\/localhost\/pma\/. Where localhost can be replaced by your machine name. The default port for PMA is 3306.<\/p>\n\n\n\n<p>To sum up you need two information&#8217;s: <\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>The server URL: https:\/\/localhost\/pma\/ where localhost is replaced by your servername<\/li><li>The server port, by default it is 3306<\/li><\/ol>\n\n\n\n<p>Simply copy and paste the script into the phpMyAdmin interface for example.<\/p>\n\n\n\n<p>This MySQL example table contains three columns:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>The CLIENTID column which represents the client number of type auto incremented integer<\/li><li>A NAME column for the customer name of type varchar(20) with the UNIQUE attribute<\/li><li>A CITY column to store the customer&#8217;s city varchar(20)<\/li><\/ul>\n\n\n\n<p>At the end of the script, the ClientID column is explicitly defined a primary key.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Create a table, insert and select data with MySQL <\/h2>\n\n\n\n<p>A MySQL database is a collection of tables, which store data. The tables are created to store different types of data.<\/p>\n\n\n\n<p>A MySQL table is a collection of data. It can be created by using the SQL CREATE TABLE statement.<\/p>\n\n\n\n<p>This section defines what a MySQL table is and how to create one from scratch.<\/p>\n\n\n\n<p>This MySQL tutorial also provides some examples of common queries and the syntax used to execute them. <\/p>\n\n\n\n<p>The three steps in the code are : <\/p>\n\n\n\n<ol class=\"wp-block-list\"><li><strong>Create the table<\/strong> to store the data<\/li><li><strong>Insert<\/strong> some sample lines <\/li><li>and <strong>select<\/strong> the content from the table.<\/li><\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">MySQL code to add a table with a primary key<\/h3>\n\n\n\n<p>To start, test if the table exists in our database with the exists() function. If it does, then the table is deleted with the T-SQL drop table command. Then create the SALES table which simply contains three columns.<\/p>\n\n\n\n<p>To execute the code and create a table in a MySQL database, go to the SQL tab, copy, and adapt the SQL code as needed.<\/p>\n\n\n\n<p>The client ID column is defined as the primary key of the table. <\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"sql\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">-- Create the CUSTOMERS MySQL table with the column NAME declared as UNIQUE\n-- The UNIQUE keyword defines the column with a unique value\nCREATE TABLE Customers (\n\tCLIENTID int AUTO_INCREMENT,\t\n\tNAME varchar(20) UNIQUE,\t\n\tCITY varchar(20),\n    PRIMARY KEY (CLIENTID)\n);\n\n-- Insert data for manipulation examples\nINSERT INTO Customers (NAME, CITY) \nVALUES \t('MAMMADOU', 'Lyon'),\n\t\t('SERGEI', 'Lyon'),\n\t\t('CHRISTOPHE', 'Paris');\n\n-- Check inserted rows\nSELECT\t*\nFROM    Customers;\n<\/pre>\n\n\n\n<p>This short <a href=\"https:\/\/dev.mysql.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">MySQL<\/a> tutorial explains how to create a table with the Create Table command. And also, how to insert some rows with the SQL Insert Into command. Finally, how to display the contents of the table with a Select query.<\/p>\n\n\n\n<p>To go further, here is an article to learn how <strong><a href=\"https:\/\/expert-only.com\/en\/t-sql\/create-table-sql-server\/\">to create a SQL Server table with a T-SQL script<\/a><\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-tutoriels-sql-et-it wp-block-embed-tutoriels-sql-et-it\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"qSZLLgIhUK\"><a href=\"https:\/\/expert-only.com\/en\/t-sql\/create-table-sql-server\/\">CREATE TABLE with SQL Server<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;CREATE TABLE with SQL Server&#8221; &#8212; SQL and IT Tutorials\" src=\"https:\/\/expert-only.com\/en\/t-sql\/create-table-sql-server\/embed\/#?secret=bKEQjmeYdD#?secret=qSZLLgIhUK\" data-secret=\"qSZLLgIhUK\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>To create a table in MySQL (with a primary key), start by connecting to the MySQL server from PHPMyAdmin. Indeed phpMyAdmin (PMA) is the central interface to manage MySQL databases and tables. MySQL is an Open Source database, which <a class=\"mh-excerpt-more\" href=\"https:\/\/expert-only.com\/en\/mysql\/create-table-mysql-with-primary-key\/\" title=\"Create a table in MySQL with a primary key\">&#8230;<\/a><\/p>\n<\/div>","protected":false},"author":1,"featured_media":6520,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[646],"tags":[],"class_list":{"0":"post-9078","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-mysql"},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.7 (Yoast SEO v26.2) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Create a table in MySQL with a primary key - MySQL<\/title>\n<meta name=\"description\" content=\"Create a table in MySQL from phpMyAdmin with this example to create, insert and display customer data in the SQL database.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/expert-only.com\/en\/mysql\/create-table-mysql-with-primary-key\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Create a table in MySQL with a primary key\" \/>\n<meta property=\"og:description\" content=\"Create a table in MySQL from phpMyAdmin with this example to create, insert and display customer data in the SQL database.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/expert-only.com\/en\/mysql\/create-table-mysql-with-primary-key\/\" \/>\n<meta property=\"og:site_name\" content=\"SQL and IT Tutorials\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/ExpertOnlyCom\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-07-27T04:43:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-08-29T16:13:33+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/04\/code-1839406_1920.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1920\" \/>\n\t<meta property=\"og:image:height\" content=\"1080\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Expert-Only\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@expert_only\" \/>\n<meta name=\"twitter:site\" content=\"@expert_only\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Expert-Only\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/expert-only.com\/en\/mysql\/create-table-mysql-with-primary-key\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/expert-only.com\/en\/mysql\/create-table-mysql-with-primary-key\/\"},\"author\":{\"name\":\"Expert-Only\",\"@id\":\"https:\/\/expert-only.com\/en\/#\/schema\/person\/406a9576b52944f018739a42046873ef\"},\"headline\":\"Create a table in MySQL with a primary key\",\"datePublished\":\"2022-07-27T04:43:00+00:00\",\"dateModified\":\"2022-08-29T16:13:33+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/expert-only.com\/en\/mysql\/create-table-mysql-with-primary-key\/\"},\"wordCount\":572,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/expert-only.com\/en\/#organization\"},\"image\":{\"@id\":\"https:\/\/expert-only.com\/en\/mysql\/create-table-mysql-with-primary-key\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/04\/code-1839406_1920.jpg\",\"articleSection\":[\"MySQL\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/expert-only.com\/en\/mysql\/create-table-mysql-with-primary-key\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/expert-only.com\/en\/mysql\/create-table-mysql-with-primary-key\/\",\"url\":\"https:\/\/expert-only.com\/en\/mysql\/create-table-mysql-with-primary-key\/\",\"name\":\"Create a table in MySQL with a primary key - MySQL\",\"isPartOf\":{\"@id\":\"https:\/\/expert-only.com\/en\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/expert-only.com\/en\/mysql\/create-table-mysql-with-primary-key\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/expert-only.com\/en\/mysql\/create-table-mysql-with-primary-key\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/04\/code-1839406_1920.jpg\",\"datePublished\":\"2022-07-27T04:43:00+00:00\",\"dateModified\":\"2022-08-29T16:13:33+00:00\",\"description\":\"Create a table in MySQL from phpMyAdmin with this example to create, insert and display customer data in the SQL database.\",\"breadcrumb\":{\"@id\":\"https:\/\/expert-only.com\/en\/mysql\/create-table-mysql-with-primary-key\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/expert-only.com\/en\/mysql\/create-table-mysql-with-primary-key\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/expert-only.com\/en\/mysql\/create-table-mysql-with-primary-key\/#primaryimage\",\"url\":\"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/04\/code-1839406_1920.jpg\",\"contentUrl\":\"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/04\/code-1839406_1920.jpg\",\"width\":1920,\"height\":1080},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/expert-only.com\/en\/mysql\/create-table-mysql-with-primary-key\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"en\",\"item\":\"https:\/\/expert-only.com\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create a table in MySQL with a primary key\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/expert-only.com\/en\/#website\",\"url\":\"https:\/\/expert-only.com\/en\/\",\"name\":\"SQL and IT Tutorials\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/expert-only.com\/en\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/expert-only.com\/en\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/expert-only.com\/en\/#organization\",\"name\":\"Expert-Only\",\"url\":\"https:\/\/expert-only.com\/en\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/expert-only.com\/en\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/expert-only.com\/wp-content\/uploads\/2017\/09\/cropped-logo_Expert-Only.jpg\",\"contentUrl\":\"https:\/\/expert-only.com\/wp-content\/uploads\/2017\/09\/cropped-logo_Expert-Only.jpg\",\"width\":381,\"height\":174,\"caption\":\"Expert-Only\"},\"image\":{\"@id\":\"https:\/\/expert-only.com\/en\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/ExpertOnlyCom\/\",\"https:\/\/x.com\/expert_only\",\"https:\/\/www.youtube.com\/channel\/UCMS5sR_FwAetB0FmciNvUaA\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/expert-only.com\/en\/#\/schema\/person\/406a9576b52944f018739a42046873ef\",\"name\":\"Expert-Only\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/expert-only.com\/en\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/084b15660763ff5b13bb60b2f52f97bb?s=96&d=identicon&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/084b15660763ff5b13bb60b2f52f97bb?s=96&d=identicon&r=g\",\"caption\":\"Expert-Only\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Create a table in MySQL with a primary key - MySQL","description":"Create a table in MySQL from phpMyAdmin with this example to create, insert and display customer data in the SQL database.","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:\/\/expert-only.com\/en\/mysql\/create-table-mysql-with-primary-key\/","og_locale":"en_US","og_type":"article","og_title":"Create a table in MySQL with a primary key","og_description":"Create a table in MySQL from phpMyAdmin with this example to create, insert and display customer data in the SQL database.","og_url":"https:\/\/expert-only.com\/en\/mysql\/create-table-mysql-with-primary-key\/","og_site_name":"SQL and IT Tutorials","article_publisher":"https:\/\/www.facebook.com\/ExpertOnlyCom\/","article_published_time":"2022-07-27T04:43:00+00:00","article_modified_time":"2022-08-29T16:13:33+00:00","og_image":[{"width":1920,"height":1080,"url":"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/04\/code-1839406_1920.jpg","type":"image\/jpeg"}],"author":"Expert-Only","twitter_card":"summary_large_image","twitter_creator":"@expert_only","twitter_site":"@expert_only","twitter_misc":{"Written by":"Expert-Only","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/expert-only.com\/en\/mysql\/create-table-mysql-with-primary-key\/#article","isPartOf":{"@id":"https:\/\/expert-only.com\/en\/mysql\/create-table-mysql-with-primary-key\/"},"author":{"name":"Expert-Only","@id":"https:\/\/expert-only.com\/en\/#\/schema\/person\/406a9576b52944f018739a42046873ef"},"headline":"Create a table in MySQL with a primary key","datePublished":"2022-07-27T04:43:00+00:00","dateModified":"2022-08-29T16:13:33+00:00","mainEntityOfPage":{"@id":"https:\/\/expert-only.com\/en\/mysql\/create-table-mysql-with-primary-key\/"},"wordCount":572,"commentCount":0,"publisher":{"@id":"https:\/\/expert-only.com\/en\/#organization"},"image":{"@id":"https:\/\/expert-only.com\/en\/mysql\/create-table-mysql-with-primary-key\/#primaryimage"},"thumbnailUrl":"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/04\/code-1839406_1920.jpg","articleSection":["MySQL"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/expert-only.com\/en\/mysql\/create-table-mysql-with-primary-key\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/expert-only.com\/en\/mysql\/create-table-mysql-with-primary-key\/","url":"https:\/\/expert-only.com\/en\/mysql\/create-table-mysql-with-primary-key\/","name":"Create a table in MySQL with a primary key - MySQL","isPartOf":{"@id":"https:\/\/expert-only.com\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/expert-only.com\/en\/mysql\/create-table-mysql-with-primary-key\/#primaryimage"},"image":{"@id":"https:\/\/expert-only.com\/en\/mysql\/create-table-mysql-with-primary-key\/#primaryimage"},"thumbnailUrl":"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/04\/code-1839406_1920.jpg","datePublished":"2022-07-27T04:43:00+00:00","dateModified":"2022-08-29T16:13:33+00:00","description":"Create a table in MySQL from phpMyAdmin with this example to create, insert and display customer data in the SQL database.","breadcrumb":{"@id":"https:\/\/expert-only.com\/en\/mysql\/create-table-mysql-with-primary-key\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/expert-only.com\/en\/mysql\/create-table-mysql-with-primary-key\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/expert-only.com\/en\/mysql\/create-table-mysql-with-primary-key\/#primaryimage","url":"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/04\/code-1839406_1920.jpg","contentUrl":"https:\/\/expert-only.com\/wp-content\/uploads\/2022\/04\/code-1839406_1920.jpg","width":1920,"height":1080},{"@type":"BreadcrumbList","@id":"https:\/\/expert-only.com\/en\/mysql\/create-table-mysql-with-primary-key\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"en","item":"https:\/\/expert-only.com\/en\/"},{"@type":"ListItem","position":2,"name":"Create a table in MySQL with a primary key"}]},{"@type":"WebSite","@id":"https:\/\/expert-only.com\/en\/#website","url":"https:\/\/expert-only.com\/en\/","name":"SQL and IT Tutorials","description":"","publisher":{"@id":"https:\/\/expert-only.com\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/expert-only.com\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/expert-only.com\/en\/#organization","name":"Expert-Only","url":"https:\/\/expert-only.com\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/expert-only.com\/en\/#\/schema\/logo\/image\/","url":"https:\/\/expert-only.com\/wp-content\/uploads\/2017\/09\/cropped-logo_Expert-Only.jpg","contentUrl":"https:\/\/expert-only.com\/wp-content\/uploads\/2017\/09\/cropped-logo_Expert-Only.jpg","width":381,"height":174,"caption":"Expert-Only"},"image":{"@id":"https:\/\/expert-only.com\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/ExpertOnlyCom\/","https:\/\/x.com\/expert_only","https:\/\/www.youtube.com\/channel\/UCMS5sR_FwAetB0FmciNvUaA"]},{"@type":"Person","@id":"https:\/\/expert-only.com\/en\/#\/schema\/person\/406a9576b52944f018739a42046873ef","name":"Expert-Only","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/expert-only.com\/en\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/084b15660763ff5b13bb60b2f52f97bb?s=96&d=identicon&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/084b15660763ff5b13bb60b2f52f97bb?s=96&d=identicon&r=g","caption":"Expert-Only"}}]}},"_links":{"self":[{"href":"https:\/\/expert-only.com\/en\/wp-json\/wp\/v2\/posts\/9078","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/expert-only.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/expert-only.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/expert-only.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/expert-only.com\/en\/wp-json\/wp\/v2\/comments?post=9078"}],"version-history":[{"count":0,"href":"https:\/\/expert-only.com\/en\/wp-json\/wp\/v2\/posts\/9078\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/expert-only.com\/en\/wp-json\/wp\/v2\/media\/6520"}],"wp:attachment":[{"href":"https:\/\/expert-only.com\/en\/wp-json\/wp\/v2\/media?parent=9078"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/expert-only.com\/en\/wp-json\/wp\/v2\/categories?post=9078"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/expert-only.com\/en\/wp-json\/wp\/v2\/tags?post=9078"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}