[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-1-en-105":3,"doc-seo-572128-105":53,"doc-detail-572128-en":127},{"code":4,"msg":5,"data":6},0,"success",[7,14,19,24,29,34,39,44,49],{"id":8,"doc_module":9,"doc_module_name":10,"category_name":11,"show_sort_weight":12,"slug":13},11,1,"Template","Presentations",90,"presentations",{"id":15,"doc_module":9,"doc_module_name":10,"category_name":16,"show_sort_weight":17,"slug":18},12,"Resumes",80,"resumes",{"id":20,"doc_module":9,"doc_module_name":10,"category_name":21,"show_sort_weight":22,"slug":23},14,"Invoices",70,"invoices",{"id":25,"doc_module":9,"doc_module_name":10,"category_name":26,"show_sort_weight":27,"slug":28},15,"Posters",60,"posters",{"id":30,"doc_module":9,"doc_module_name":10,"category_name":31,"show_sort_weight":32,"slug":33},16,"Social Media",50,"social-media",{"id":35,"doc_module":9,"doc_module_name":10,"category_name":36,"show_sort_weight":37,"slug":38},17,"Forms",40,"forms",{"id":40,"doc_module":9,"doc_module_name":10,"category_name":41,"show_sort_weight":42,"slug":43},18,"Letters",30,"letters",{"id":45,"doc_module":9,"doc_module_name":10,"category_name":46,"show_sort_weight":47,"slug":48},21,"Paper Templates",5,"papers-templates",{"id":50,"doc_module":9,"doc_module_name":10,"category_name":51,"show_sort_weight":4,"slug":52},158,"General","general-158",{"code":4,"msg":54,"data":55},"ok",{"site_id":56,"language":57,"slug":58,"title":59,"keywords":60,"description":61,"schema_data":62,"social_meta":120,"head_meta":122,"extra_data":124,"updated_unix":126},105,"en","sql-cheat-sheet-1st-edition-learn-sql-basics-and-core-query-clauses","SQL - Cheat Sheet - 1st Edition - Learn SQL basics and core query clauses","","SQL Cheat Sheet (1st Edition) compiles the core language constructs taught in a beginner SQL tutorial for YouTube by Mosh Hamedani. It summarizes essential building blocks such as SELECT, FROM, and filtering with WHERE, including comparison operators and logical operators (AND/OR/NOT). It covers pattern matching and selection utilities like IN, BETWEEN, LIKE, REGEXP, and IS NULL, plus result ordering and pagination via ORDER BY and LIMIT. Examples are provided using a sample customers table.",{"@graph":63,"@context":119},[64,80,102],{"@type":65,"itemListElement":66},"BreadcrumbList",[67,71,74,77],{"item":68,"name":69,"@type":70,"position":9},"https://docshare.wps.com","Home","ListItem",{"item":72,"name":10,"@type":70,"position":73},"https://docshare.wps.com/template/",2,{"item":75,"name":51,"@type":70,"position":76},"https://docshare.wps.com/template/general/",3,{"item":78,"name":59,"@type":70,"position":79},"https://docshare.wps.com/template/sql-cheat-sheet-1st-edition-learn-sql-basics-and-core-query-clauses/572128/",4,{"url":78,"name":59,"@type":81,"image":82,"author":87,"headline":59,"publisher":90,"fileFormat":93,"inLanguage":57,"description":61,"dateModified":94,"datePublished":95,"encodingFormat":93,"isAccessibleForFree":96,"interactionStatistic":97},"DigitalDocument",{"url":83,"@type":84,"width":85,"height":86},"https://docshare.wps.com/thumbnails/sql-cheat-sheet-1st-edition-learn-sql-basics-and-core-query-clauses/572128.png","ImageObject",442,249,{"name":88,"@type":89},"lugxt","Person",{"url":68,"name":91,"@type":92},"DocShare","Organization","application/pdf","2026-10-24","2026-10-13",true,{"@type":98,"interactionType":99,"userInteractionCount":101},"InteractionCounter",{"@type":100},"ViewAction",7,{"@type":103,"mainEntity":104},"FAQPage",[105,111,115],{"name":106,"@type":107,"acceptedAnswer":108},"What SQL basics does the cheat sheet cover first?","Question",{"text":109,"@type":110},"It introduces core query structure with SELECT and FROM, then shows filtering using WHERE. It also covers how MySQL statements are terminated with semicolons and notes that SQL is not case-sensitive.","Answer",{"name":112,"@type":107,"acceptedAnswer":113},"Which WHERE-related operators are included?",{"text":114,"@type":110},"It includes comparison operators (> >= \u003C \u003C= = \u003C> !=), logical operators (AND, OR, NOT), and utility operators like IN and BETWEEN.",{"name":116,"@type":107,"acceptedAnswer":117},"How does the cheat sheet handle sorting and limiting results?",{"text":118,"@type":110},"It explains ORDER BY for sorting (including mixed ascending/descending across columns) and LIMIT for returning only a fixed number of rows, including pagination-style usage with an offset.","https://schema.org",{"og:url":78,"og:type":121,"og:title":59,"og:site_name":91,"og:description":61},"article",{"robots":123,"canonical":78},"index,follow",{"doc_id":125,"site_id":56},572128,1792083967,{"code":4,"msg":5,"data":128},{"doc_id":125,"user_id":129,"nickname":88,"user_avatar":130,"doc_module":9,"category_id":50,"category_name":51,"doc_title":59,"doc_description":61,"doc_content":131,"file_id":132,"file_url":133,"file_type":134,"file_size":135,"view_count":101,"is_deleted":4,"is_public":9,"is_downloadable":9,"audit_status":9,"page_count":15,"language":136,"language_code":57,"site_id":56,"html_lang":57,"table_of_contents":137,"faqs":138,"seo_title":139,"seo_description":61,"update_tm":140,"read_time":79},3985747862600,"https://ap-avatar.wpscdn.com/davatar_9964176cb1d06d4a9deccf72a44ae3dc","SQL  \nCheat Sheet  \nMosh Hamedani  \nCode with Mosh ([codewithmosh.com](codewithmosh.com))  \n1st Edition  \nAbout this Cheat Sheet  \nThis cheat sheet includes the materials I’ve covered in my SQL tutorial for Beginners on YouTube.  \n[https://youtu.be/7S_tz1z_5bA](https://youtu.be/7S_tz1z_5bA)  \nBoth the YouTube tutorial and this cheat cover the core language constructs and they are not complete by any means.  \nIf you want to learn everything SQL has to offer and become a SQL expert, checkout my Complete SQL Mastery Course.  \nUse the coupon code CHEATSHEET upon checkout to get this course with a 90% discount:  \n[https://codewithmosh.com/p/complete-sql-mastery/](https://codewithmosh.com/p/complete-sql-mastery/)  \nAbout the Author  \nHi! My name is Mosh Hamedani. I’m a software engineer with two decades of experience and I’ve taught over three million how to code or how to become a professional software engineer. It’s my mission to make software engineering simple and accessible to everyone.  \n[https://codewithmosh.com](https://codewithmosh.com)  \n[https://youtube.com/user/programmingwithmosh](https://youtube.com/user/programmingwithmosh)  \n[https://twitter.com/moshhamedani](https://twitter.com/moshhamedani)  \n[https://facebook.com/programmingwithmosh/](https://facebook.com/programmingwithmosh/)  \nBasics ........................................................................................................ 5  \nComments ................................................................................................. 5  \nSELECT Clause ........................................................................................ 5  \nWHERE Clause ........................................................................................ 6  \nLogical Operators .................................................................................... 6  \nIN Operator .............................................................................................. 7  \nBETWEEN Operator ................................................................................ 7  \nLIKE Operator .......................................................................................... 7  \nREGEXP Operator .................................................................................... 7  \nIS NULL Operator ................................................................................... 8  \nORDER BY Clause ................................................................................... 8  \nLIMIT Clause ............................................................................................ 8  \nInner Joins ............................................................................................... 9  \nOuter Joins ............................................................................................... 9  \nUSING Clause ........................................................................................... 9  \nCross Joins ................................................................................................ 9  \nUnions ..................................................................................................... 10  \nInserting Data ........................................................................................ 10  \nWant to Become a SQL Expert? ............................................................ 10  \nBasics  \nUSE sql_store;  \nSELECT *  \nFROM customers WHERE state = ‘CA’ORDER BY first name LIMIT 3;  \n• SQL is not a case-sensitive language.  \n• In MySQL, every statement must be terminated with a semicolon.  \nComments  \nWe use comments to add notes to our code.  \n—-This is a comment and it won’t get executed .  \nSELECT Clause  \n—-Using expressions  \nSELECT (points * 10 + 20) AS discount_factor FROM customers  \nOrder of operations:  \n• Parenthesis  \n• Multiplication / division  \n• Addition / subtraction  \n—-Removing duplicates  \nSELECT DISTINCT state  \nFROM customers  \nWHERE Clause  \nWe use the WHERE clause to filter data.","cbCaivqSvA7tDzLm","https://ap.wps.com/l/cbCaivqSvA7tDzLm","pdf",473161,"English","# Basics\n# Comments\n# SELECT Clause\n## ORDER of operations\n## Removing duplicates\n# WHERE Clause\n## Comparison operators\n## Logical operators\n# IN Operator\n# BETWEEN Operator\n# LIKE Operator\n# REGEXP Operator\n# IS NULL Operator\n# ORDER BY Clause\n# LIMIT Clause\n# Inner Joins","[{\"question\":\"What SQL basics does the cheat sheet cover first?\",\"answer\":\"It introduces core query structure with SELECT and FROM, then shows filtering using WHERE. It also covers how MySQL statements are terminated with semicolons and notes that SQL is not case-sensitive.\"},{\"question\":\"Which WHERE-related operators are included?\",\"answer\":\"It includes comparison operators (\\u003e \\u003e= \\u003c \\u003c= = \\u003c\\u003e !=), logical operators (AND, OR, NOT), and utility operators like IN and BETWEEN.\"},{\"question\":\"How does the cheat sheet handle sorting and limiting results?\",\"answer\":\"It explains ORDER BY for sorting (including mixed ascending/descending across columns) and LIMIT for returning only a fixed number of rows, including pagination-style usage with an offset.\"}]","SQL - Cheat Sheet - 1st Edition - Learn SQL basics and core query clauses | PDF",1791925687]