{"id":402,"date":"2016-04-03T03:51:30","date_gmt":"2016-04-03T03:51:30","guid":{"rendered":"https:\/\/sqltutorial.org\/?page_id=402"},"modified":"2025-01-20T02:10:31","modified_gmt":"2025-01-20T09:10:31","slug":"sql-reference","status":"publish","type":"page","link":"https:\/\/www.sqltutorial.org\/sql-reference\/","title":{"rendered":"SQL Reference"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" id='sql-statements'>SQL statements <a href=\"#sql-statements\" class=\"anchor\" id=\"sql-statements\" title=\"Anchor for SQL statements\">#<\/a><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.sqltutorial.org\/sql-select\/\">SELECT<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.sqltutorial.org\/sql-distinct\/\">DISTINCT<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.sqltutorial.org\/sql-where\/\">WHERE<\/a><a href=\"https:\/\/www.sqltutorial.org\/sql-inner-join\/\">INNER JOIN<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.sqltutorial.org\/sql-left-join\/\">LEFT JOIN<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.sqltutorial.org\/sql-self-join\/\">SELF-JOIN<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.sqltutorial.org\/sql-group-by\/\">GROUP BY<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.sqltutorial.org\/sql-having\/\">HAVING<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.sqltutorial.org\/sql-order-by\/\">ORDER BY<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.sqltutorial.org\/sql-union\/\">UNION<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.sqltutorial.org\/sql-intersect\/\">INTERSECT<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.sqltutorial.org\/sql-minus\/\">MINUS<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.sqltutorial.org\/sql-insert\/\">INSERT<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.sqltutorial.org\/sql-update\/\">UPDATE<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.sqltutorial.org\/sql-delete\/\">DELETE<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.sqltutorial.org\/sql-create-table\/\">CREATE TABLE<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.sqltutorial.org\/sql-alter-table\/\">ALTER TABLE<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.sqltutorial.org\/sql-drop-table\/\">DROP TABLE<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.sqltutorial.org\/sql-primary-key\/\">PRIMARY KEY<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.sqltutorial.org\/sql-foreign-key\/\">FOREIGN KEY<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.sqltutorial.org\/sql-not-null-constraint\/\">NOT NULL<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.sqltutorial.org\/sql-check-constraint\/\">CHECK<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.sqltutorial.org\/sql-unique-constraint\/\">UNIQUE<\/a><\/li>\n\n\n\n<li><a>DEFAULT<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id='sql-operators'>SQL Operators <a href=\"#sql-operators\" class=\"anchor\" id=\"sql-operators\" title=\"Anchor for SQL Operators\">#<\/a><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.sqltutorial.org\/sql-and\/\">AND<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.sqltutorial.org\/sql-or\/\">OR<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.sqltutorial.org\/sql-not\/\">NOT<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.sqltutorial.org\/sql-like\/\">LIKE<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.sqltutorial.org\/sql-between\/\">BETWEEN<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.sqltutorial.org\/sql-is-null\/\">IS NULL<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>SQL statements # SQL Operators #<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":71,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-402","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>SQL Reference<\/title>\n<meta name=\"description\" content=\"This SQL reference provides a quick SQL statement and function references.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.sqltutorial.org\/sql-reference\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"SQL Reference\" \/>\n<meta property=\"og:description\" content=\"This SQL reference provides a quick SQL statement and function references.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.sqltutorial.org\/sql-reference\/\" \/>\n<meta property=\"og:site_name\" content=\"SQL Tutorial\" \/>\n<meta property=\"article:modified_time\" content=\"2025-01-20T09:10:31+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.sqltutorial.org\/sql-reference\/\",\"url\":\"https:\/\/www.sqltutorial.org\/sql-reference\/\",\"name\":\"SQL Reference\",\"isPartOf\":{\"@id\":\"https:\/\/www.sqltutorial.org\/#website\"},\"datePublished\":\"2016-04-03T03:51:30+00:00\",\"dateModified\":\"2025-01-20T09:10:31+00:00\",\"description\":\"This SQL reference provides a quick SQL statement and function references.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.sqltutorial.org\/sql-reference\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.sqltutorial.org\/sql-reference\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.sqltutorial.org\/sql-reference\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.sqltutorial.org\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"SQL Reference\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.sqltutorial.org\/#website\",\"url\":\"https:\/\/www.sqltutorial.org\/\",\"name\":\"SQL Tutorial\",\"description\":\"An Interactive SQL Tutorial\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.sqltutorial.org\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"SQL Reference","description":"This SQL reference provides a quick SQL statement and function references.","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:\/\/www.sqltutorial.org\/sql-reference\/","og_locale":"en_US","og_type":"article","og_title":"SQL Reference","og_description":"This SQL reference provides a quick SQL statement and function references.","og_url":"https:\/\/www.sqltutorial.org\/sql-reference\/","og_site_name":"SQL Tutorial","article_modified_time":"2025-01-20T09:10:31+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.sqltutorial.org\/sql-reference\/","url":"https:\/\/www.sqltutorial.org\/sql-reference\/","name":"SQL Reference","isPartOf":{"@id":"https:\/\/www.sqltutorial.org\/#website"},"datePublished":"2016-04-03T03:51:30+00:00","dateModified":"2025-01-20T09:10:31+00:00","description":"This SQL reference provides a quick SQL statement and function references.","breadcrumb":{"@id":"https:\/\/www.sqltutorial.org\/sql-reference\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.sqltutorial.org\/sql-reference\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.sqltutorial.org\/sql-reference\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.sqltutorial.org\/"},{"@type":"ListItem","position":2,"name":"SQL Reference"}]},{"@type":"WebSite","@id":"https:\/\/www.sqltutorial.org\/#website","url":"https:\/\/www.sqltutorial.org\/","name":"SQL Tutorial","description":"An Interactive SQL Tutorial","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.sqltutorial.org\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/www.sqltutorial.org\/wp-json\/wp\/v2\/pages\/402","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sqltutorial.org\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.sqltutorial.org\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.sqltutorial.org\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sqltutorial.org\/wp-json\/wp\/v2\/comments?post=402"}],"version-history":[{"count":0,"href":"https:\/\/www.sqltutorial.org\/wp-json\/wp\/v2\/pages\/402\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sqltutorial.org\/wp-json\/wp\/v2\/media?parent=402"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}