{"id":229,"date":"2021-11-18T08:16:17","date_gmt":"2021-11-18T08:16:17","guid":{"rendered":"http:\/\/tietokanta.dy.fi:8243\/mikko\/wordpress\/?p=229"},"modified":"2021-11-18T08:16:17","modified_gmt":"2021-11-18T08:16:17","slug":"deleting-a-table","status":"publish","type":"post","link":"http:\/\/tietokanta.dy.fi:8243\/mikko\/wordpress\/index.php\/2021\/11\/18\/deleting-a-table\/","title":{"rendered":"Deleting a table"},"content":{"rendered":"\n<p>Deleting a table is very easy indeed. But, because I don\u2019t want you to have to reenter all the data for the classics table, let\u2019s quickly create a new table, verify its existence, and then delete it. You can do this by typing the commands:<br><\/p>\n\n\n\n<p>CREATE TABLE datatiedot(trash INT);<br>DESCRIBE datatiedot;<br>DROP TABLE datatiedot;<br>SHOW tables;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Deleting a table is very easy indeed. But, because I don\u2019t want you to have to reenter all the data for the classics table, let\u2019s quickly create a new table, verify its existence, and then delete it. You can do this by typing the commands: CREATE TABLE datatiedot(trash INT);DESCRIBE datatiedot;DROP TABLE datatiedot;SHOW tables;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/tietokanta.dy.fi:8243\/mikko\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/229"}],"collection":[{"href":"http:\/\/tietokanta.dy.fi:8243\/mikko\/wordpress\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/tietokanta.dy.fi:8243\/mikko\/wordpress\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/tietokanta.dy.fi:8243\/mikko\/wordpress\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/tietokanta.dy.fi:8243\/mikko\/wordpress\/index.php\/wp-json\/wp\/v2\/comments?post=229"}],"version-history":[{"count":1,"href":"http:\/\/tietokanta.dy.fi:8243\/mikko\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/229\/revisions"}],"predecessor-version":[{"id":230,"href":"http:\/\/tietokanta.dy.fi:8243\/mikko\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/229\/revisions\/230"}],"wp:attachment":[{"href":"http:\/\/tietokanta.dy.fi:8243\/mikko\/wordpress\/index.php\/wp-json\/wp\/v2\/media?parent=229"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/tietokanta.dy.fi:8243\/mikko\/wordpress\/index.php\/wp-json\/wp\/v2\/categories?post=229"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/tietokanta.dy.fi:8243\/mikko\/wordpress\/index.php\/wp-json\/wp\/v2\/tags?post=229"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}