[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-1-en-105":3,"doc-seo-572210-105":53,"doc-detail-572210-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-quick-reference","SQL Cheat Sheet - Quick Reference","","SQL Cheat Sheet provides a practical quick reference to commonly used and some less common SQL elements, focusing on how to store, manipulate, and retrieve data in relational databases. It introduces core concepts behind SQL and its relationship to MySQL, then walks through installing MySQL on Windows and macOS, using common SQL management tools, and importing dummy data. Examples cover SELECT filtering with WHERE and sorting with ORDER BY, plus adding new records via INSERT INTO.",{"@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":11,"@type":70,"position":76},"https://docshare.wps.com/template/presentations/",3,{"item":78,"name":59,"@type":70,"position":79},"https://docshare.wps.com/template/sql-cheat-sheet-quick-reference/572210/",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-quick-reference/572210.png","ImageObject",442,249,{"name":88,"@type":89},"Melati","Person",{"url":68,"name":91,"@type":92},"DocShare","Organization","application/pdf","2026-10-21","2026-10-13",true,{"@type":98,"interactionType":99,"userInteractionCount":101},"InteractionCounter",{"@type":100},"ViewAction",6,{"@type":103,"mainEntity":104},"FAQPage",[105,111,115],{"name":106,"@type":107,"acceptedAnswer":108},"What does SQL stand for and what is it used for?","Question",{"text":109,"@type":110},"SQL stands for Structured Query Language. It is used to store, manipulate, and retrieve data in relational databases by writing queries.","Answer",{"name":112,"@type":107,"acceptedAnswer":113},"How is SQL different from MySQL?",{"text":114,"@type":110},"SQL is the language that defines query syntax for relational databases. MySQL is a database system that implements SQL on a server so you can manage MySQL databases.",{"name":116,"@type":107,"acceptedAnswer":117},"What is a common way to install and start using MySQL?",{"text":118,"@type":110},"On Windows, use the MySQL installer from the MySQL website. On macOS, use native packages (or a package manager like Homebrew). Then use an SQL management application to write queries more easily.","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},572210,1792337796,{"code":4,"msg":5,"data":128},{"doc_id":125,"user_id":129,"nickname":88,"user_avatar":130,"doc_module":9,"category_id":8,"category_name":11,"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":136,"language":137,"language_code":57,"site_id":56,"html_lang":57,"table_of_contents":138,"faqs":139,"seo_title":140,"seo_description":61,"update_tm":141,"read_time":25},962085570644,"https://ap-avatar.wpscdn.com/davatar_994ba38a5ba835b3df7d355c54d3ed8d","SQL Cheat Sheet  \nIn this guide, you’ll find a useful cheat sheet that documents some of the more commonly used elements of SQL, and even a few of the less common. Hopefully, it will help developers – both beginner and experienced level – become more proficient in their understanding of the SQL language.  \nUse this as a quick reference during development, a learning aid, or even print it out and bind it if you’d prefer (whatever works!).  \nBut before we get to the cheat sheet itself, for developers who may not be familiar with SQL, let’s start with…  \nTable of Contents  \n03 What is SQL  \n07 SQL vs MySQL  \n08 Installing MySQL  \n09 Using MySQL  \n11 Cheat Sheet  \n20 Comments  \n21 MySQL Data Types  \n25 Operators  \n27 Functions  \n36 Wildcard Characters  \n37 Keys  \n39 Indexes  \n40 Joins  \n42 View  \n43 Conclusions  \n[WebsiteSetup.org](WebsiteSetup.org-MySQL Cheat Sheet)[-MySQL Cheat Sheet](WebsiteSetup.org-MySQL Cheat Sheet)   \nSQL Cheat Sheet 3  \nWhat is SQL  \nSQL stands for Structured Query Language. It’s the language of choice on today’s web for storing, manipulating and retrieving data within relational databases. Most, if not all of the websites you visit will use it in some way, including this one.  \nHere’s what a basic relational database looks like. This example in particular stores e-commerce information, specifically the products on sale, the users who buy them, and records of these orders which link these 2 entities.  \n[WebsiteSetup.org](WebsiteSetup.org-MySQL Cheat Sheet)[-MySQL Cheat Sheet](WebsiteSetup.org-MySQL Cheat Sheet)   \nSQL Cheat Sheet 4  \nUsing SQL, you are able to interact with the database by writing queries, which when executed, return any results which meet its criteria.  \nHere’s an example query:-  \nSELECT * FROM users;  \nUsing this SELECT statement, the query selects all data from all columns in the user’s table. It would then return data like the below, which is typically called a results set:-  \n[WebsiteSetup.org](WebsiteSetup.org-MySQL Cheat Sheet)[-MySQL Cheat Sheet](WebsiteSetup.org-MySQL Cheat Sheet)   \nSQL Cheat Sheet 5  \nIf we were to replace the asterisk wildcard character (*) with specific column names instead, only the data from these columns would be returned from the query.  \nSELECT first_name, last_name FROM users;  \nWe can add a bit of complexity to a standard SELECT statement by adding a WHERE clause, which allows you to filter what gets returned.  \nSELECT * FROM products WHERE stock_count \u003C= 10 ORDER BY stock_count ASC;  \nThis query would return all data from the products table with a stock_count value of less than 10 in its results set. The use of the ORDER BY keyword means the results will be ordered using the stock_count column, lowest values to highest.  \n[WebsiteSetup.org](WebsiteSetup.org-MySQL Cheat Sheet)[-MySQL Cheat Sheet](WebsiteSetup.org-MySQL Cheat Sheet)   \nSQL Cheat Sheet 6  \nUsing the INSERT INTO statement, we can add new data to a table. Here’s a basic example adding a new user to the users table:-  \nINSERT INTO users (first_name, last_name, address, email) VALUES (‘Tester’, ‘Jester’, ‘123 Fake Street, Sheffield, United Kingdom’, ‘[test@lukeharrison.dev](test@lukeharrison.dev)’);  \nThen if you were to rerun the query to return all data from the user’s table, the results set would look like this:  \nOf course, these examples demonstrate only a very small selection of what the SQL language is capable of.  \n[WebsiteSetup.org](WebsiteSetup.org-MySQL Cheat Sheet)[-MySQL Cheat Sheet](WebsiteSetup.org-MySQL Cheat Sheet)   \nSQL Cheat Sheet 7  \nSQL vs MySQL  \nYou may have heard of MySQL before. It’s important that you don’t confuse this with SQL itself, as there’s a clear difference.  \nSQL is the language. It outlines syntax that allows you to write queries that manage relational databases. Nothing more.  \nMySQL meanwhile is a database system that runs on a server. It implements the SQL language, allowing you to write queries using its syntax to manage MySQL databases.  \nIn additio","cbCair0mGo1hZuBO","https://ap.wps.com/l/cbCair0mGo1hZuBO","pdf",1505874,43,"English","# Table of Contents\n## What is SQL\n## SQL vs MySQL\n## Installing MySQL\n## Using MySQL\n## Cheat Sheet\n## Comments\n## MySQL Data Types\n## Operators\n## Functions\n## Wildcard Characters\n## Keys\n## Indexes\n## Joins\n## View\n## Conclusions","[{\"question\":\"What does SQL stand for and what is it used for?\",\"answer\":\"SQL stands for Structured Query Language. It is used to store, manipulate, and retrieve data in relational databases by writing queries.\"},{\"question\":\"How is SQL different from MySQL?\",\"answer\":\"SQL is the language that defines query syntax for relational databases. MySQL is a database system that implements SQL on a server so you can manage MySQL databases.\"},{\"question\":\"What is a common way to install and start using MySQL?\",\"answer\":\"On Windows, use the MySQL installer from the MySQL website. On macOS, use native packages (or a package manager like Homebrew). Then use an SQL management application to write queries more easily.\"}]","SQL Cheat Sheet - Quick Reference | PDF",1791926157]