{"id":35,"date":"2024-08-09T02:41:02","date_gmt":"2024-08-09T02:41:02","guid":{"rendered":"https:\/\/techkubo.com\/sql\/?page_id=35"},"modified":"2025-01-17T02:06:51","modified_gmt":"2025-01-17T02:06:51","slug":"sql-tutorial","status":"publish","type":"page","link":"https:\/\/techkubo.com\/sql\/sql-tutorial\/","title":{"rendered":"SQL Playground"},"content":{"rendered":"\n\n\n<iframe src=\"https:\/\/www.techkubo.com\/sql-sim.html\" title=\"Try SQL on TechKubo\" width=\"100%\" height=\"500\"><\/iframe>\n\n\n\n<p><\/p>\n\n\n\n<div class=\"wp-block-query is-layout-flow wp-block-query-is-layout-flow\"><ul class=\"columns-3 wp-block-post-template is-layout-grid wp-container-core-post-template-is-layout-1 wp-block-post-template-is-layout-grid\"><li class=\"wp-block-post post-1691 post type-post status-publish format-standard hentry category-sql\">\n\n<div class=\"wp-block-group is-layout-flow wp-block-group-is-layout-flow\" style=\"padding-top:30px;padding-right:30px;padding-bottom:30px;padding-left:30px\"><h2 class=\"wp-block-post-title\"><a href=\"https:\/\/techkubo.com\/sql\/mysql-length-function\/\" target=\"_self\" >MySQL\u00a0LENGTH()\u00a0Function<\/a><\/h2>\n\n<div class=\"wp-block-post-excerpt\"><p class=\"wp-block-post-excerpt__excerpt\">The LENGTH() function returns the length of a string. MySQL LENGTH Function Syntax MySQL LENGTH Function Example This query returns [&hellip;] <\/p><\/div>\n\n<div class=\"wp-block-post-date\"><time datetime=\"2025-06-14T05:48:21+00:00\">June 14, 2025<\/time><\/div><\/div>\n\n<\/li><li class=\"wp-block-post post-1680 post type-post status-publish format-standard hentry category-sql\">\n\n<div class=\"wp-block-group is-layout-flow wp-block-group-is-layout-flow\" style=\"padding-top:30px;padding-right:30px;padding-bottom:30px;padding-left:30px\"><h2 class=\"wp-block-post-title\"><a href=\"https:\/\/techkubo.com\/sql\/mysql-left-function\/\" target=\"_self\" >MySQL\u00a0LEFT()\u00a0Function<\/a><\/h2>\n\n<div class=\"wp-block-post-excerpt\"><p class=\"wp-block-post-excerpt__excerpt\">The LEFT() function in MySQL returns a specific number of characters from the start (left side) of a string. MySQL [&hellip;] <\/p><\/div>\n\n<div class=\"wp-block-post-date\"><time datetime=\"2025-06-11T09:38:03+00:00\">June 11, 2025<\/time><\/div><\/div>\n\n<\/li><li class=\"wp-block-post post-1677 post type-post status-publish format-standard hentry category-sql\">\n\n<div class=\"wp-block-group is-layout-flow wp-block-group-is-layout-flow\" style=\"padding-top:30px;padding-right:30px;padding-bottom:30px;padding-left:30px\"><h2 class=\"wp-block-post-title\"><a href=\"https:\/\/techkubo.com\/sql\/mysql-lcase-function\/\" target=\"_self\" >MySQL\u00a0LCASE()\u00a0Function<\/a><\/h2>\n\n<div class=\"wp-block-post-excerpt\"><p class=\"wp-block-post-excerpt__excerpt\">The LCASE() function in MySQL is used to convert any text value to lower-case letters. This is helpful when you [&hellip;] <\/p><\/div>\n\n<div class=\"wp-block-post-date\"><time datetime=\"2025-06-11T09:19:44+00:00\">June 11, 2025<\/time><\/div><\/div>\n\n<\/li><li class=\"wp-block-post post-1669 post type-post status-publish format-standard hentry category-sql\">\n\n<div class=\"wp-block-group is-layout-flow wp-block-group-is-layout-flow\" style=\"padding-top:30px;padding-right:30px;padding-bottom:30px;padding-left:30px\"><h2 class=\"wp-block-post-title\"><a href=\"https:\/\/techkubo.com\/sql\/mysql-instr-function\/\" target=\"_self\" >MySQL\u00a0INSTR()\u00a0Function<\/a><\/h2>\n\n<div class=\"wp-block-post-excerpt\"><p class=\"wp-block-post-excerpt__excerpt\">The INSTR() function returns the position of the first occurrence of a substring within another string. If the substring is [&hellip;] <\/p><\/div>\n\n<div class=\"wp-block-post-date\"><time datetime=\"2025-06-11T08:53:06+00:00\">June 11, 2025<\/time><\/div><\/div>\n\n<\/li><li class=\"wp-block-post post-1667 post type-post status-publish format-standard hentry category-sql\">\n\n<div class=\"wp-block-group is-layout-flow wp-block-group-is-layout-flow\" style=\"padding-top:30px;padding-right:30px;padding-bottom:30px;padding-left:30px\"><h2 class=\"wp-block-post-title\"><a href=\"https:\/\/techkubo.com\/sql\/mysql-insert-function\/\" target=\"_self\" >MySQL\u00a0INSERT()\u00a0Function<\/a><\/h2>\n\n<div class=\"wp-block-post-excerpt\"><p class=\"wp-block-post-excerpt__excerpt\">The INSERT() function adds a substring into another string at a specific position, replacing a set number of characters. MySQL [&hellip;] <\/p><\/div>\n\n<div class=\"wp-block-post-date\"><time datetime=\"2025-06-11T08:37:52+00:00\">June 11, 2025<\/time><\/div><\/div>\n\n<\/li><li class=\"wp-block-post post-1664 post type-post status-publish format-standard hentry category-sql\">\n\n<div class=\"wp-block-group is-layout-flow wp-block-group-is-layout-flow\" style=\"padding-top:30px;padding-right:30px;padding-bottom:30px;padding-left:30px\"><h2 class=\"wp-block-post-title\"><a href=\"https:\/\/techkubo.com\/sql\/mysql-format-function\/\" target=\"_self\" >MySQL\u00a0FORMAT()\u00a0Function<\/a><\/h2>\n\n<div class=\"wp-block-post-excerpt\"><p class=\"wp-block-post-excerpt__excerpt\">The FORMAT() function formats a number with commas and rounds to a given number of decimal places, returning the result [&hellip;] <\/p><\/div>\n\n<div class=\"wp-block-post-date\"><time datetime=\"2025-06-11T08:02:46+00:00\">June 11, 2025<\/time><\/div><\/div>\n\n<\/li><\/ul><\/div>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"no-sidebar","site-content-layout":"","ast-site-content-layout":"full-width-container","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"disabled","ast-breadcrumbs-content":"","ast-featured-img":"disabled","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"class_list":["post-35","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>SQL Playground - SQL Tutorial<\/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:\/\/techkubo.com\/sql\/sql-tutorial\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"SQL Playground - SQL Tutorial\" \/>\n<meta property=\"og:url\" content=\"https:\/\/techkubo.com\/sql\/sql-tutorial\/\" \/>\n<meta property=\"og:site_name\" content=\"SQL Tutorial\" \/>\n<meta property=\"article:modified_time\" content=\"2025-01-17T02:06:51+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/techkubo.com\/sql\/sql-tutorial\/\",\"url\":\"https:\/\/techkubo.com\/sql\/sql-tutorial\/\",\"name\":\"SQL Playground - SQL Tutorial\",\"isPartOf\":{\"@id\":\"https:\/\/techkubo.com\/sql\/#website\"},\"datePublished\":\"2024-08-09T02:41:02+00:00\",\"dateModified\":\"2025-01-17T02:06:51+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/techkubo.com\/sql\/sql-tutorial\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/techkubo.com\/sql\/sql-tutorial\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/techkubo.com\/sql\/sql-tutorial\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/techkubo.com\/sql\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"SQL Playground\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/techkubo.com\/sql\/#website\",\"url\":\"https:\/\/techkubo.com\/sql\/\",\"name\":\"SQL Tutorial\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/techkubo.com\/sql\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/techkubo.com\/sql\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/techkubo.com\/sql\/#organization\",\"name\":\"SQL Tutorial\",\"url\":\"https:\/\/techkubo.com\/sql\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/techkubo.com\/sql\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/techkubo.com\/sql\/wp-content\/uploads\/sites\/3\/2025\/01\/cropped-Techkubo-logo-1.png\",\"contentUrl\":\"https:\/\/techkubo.com\/sql\/wp-content\/uploads\/sites\/3\/2025\/01\/cropped-Techkubo-logo-1.png\",\"width\":1618,\"height\":1174,\"caption\":\"SQL Tutorial\"},\"image\":{\"@id\":\"https:\/\/techkubo.com\/sql\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"SQL Playground - SQL Tutorial","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:\/\/techkubo.com\/sql\/sql-tutorial\/","og_locale":"en_US","og_type":"article","og_title":"SQL Playground - SQL Tutorial","og_url":"https:\/\/techkubo.com\/sql\/sql-tutorial\/","og_site_name":"SQL Tutorial","article_modified_time":"2025-01-17T02:06:51+00:00","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/techkubo.com\/sql\/sql-tutorial\/","url":"https:\/\/techkubo.com\/sql\/sql-tutorial\/","name":"SQL Playground - SQL Tutorial","isPartOf":{"@id":"https:\/\/techkubo.com\/sql\/#website"},"datePublished":"2024-08-09T02:41:02+00:00","dateModified":"2025-01-17T02:06:51+00:00","breadcrumb":{"@id":"https:\/\/techkubo.com\/sql\/sql-tutorial\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/techkubo.com\/sql\/sql-tutorial\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/techkubo.com\/sql\/sql-tutorial\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/techkubo.com\/sql\/"},{"@type":"ListItem","position":2,"name":"SQL Playground"}]},{"@type":"WebSite","@id":"https:\/\/techkubo.com\/sql\/#website","url":"https:\/\/techkubo.com\/sql\/","name":"SQL Tutorial","description":"","publisher":{"@id":"https:\/\/techkubo.com\/sql\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/techkubo.com\/sql\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/techkubo.com\/sql\/#organization","name":"SQL Tutorial","url":"https:\/\/techkubo.com\/sql\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/techkubo.com\/sql\/#\/schema\/logo\/image\/","url":"https:\/\/techkubo.com\/sql\/wp-content\/uploads\/sites\/3\/2025\/01\/cropped-Techkubo-logo-1.png","contentUrl":"https:\/\/techkubo.com\/sql\/wp-content\/uploads\/sites\/3\/2025\/01\/cropped-Techkubo-logo-1.png","width":1618,"height":1174,"caption":"SQL Tutorial"},"image":{"@id":"https:\/\/techkubo.com\/sql\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/techkubo.com\/sql\/wp-json\/wp\/v2\/pages\/35"}],"collection":[{"href":"https:\/\/techkubo.com\/sql\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/techkubo.com\/sql\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/techkubo.com\/sql\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/techkubo.com\/sql\/wp-json\/wp\/v2\/comments?post=35"}],"version-history":[{"count":7,"href":"https:\/\/techkubo.com\/sql\/wp-json\/wp\/v2\/pages\/35\/revisions"}],"predecessor-version":[{"id":1057,"href":"https:\/\/techkubo.com\/sql\/wp-json\/wp\/v2\/pages\/35\/revisions\/1057"}],"wp:attachment":[{"href":"https:\/\/techkubo.com\/sql\/wp-json\/wp\/v2\/media?parent=35"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}