[{"data":1,"prerenderedAt":106},["ShallowReactive",2],{"term-s\u002Fsql":3,"related-s\u002Fsql":87},{"id":4,"title":5,"acronym":6,"body":7,"category":65,"description":66,"difficulty":67,"extension":68,"letter":69,"meta":70,"navigation":71,"path":72,"related":73,"seo":80,"sitemap":81,"stem":84,"subcategory":85,"__hash__":86},"terms\u002Fterms\u002Fs\u002Fsql.md","SQL","Structured Query Language",{"type":8,"value":9,"toc":58},"minimark",[10,15,19,23,26,30,47,51,54],[11,12,14],"h2",{"id":13},"eli5-the-vibe-check","ELI5 — The Vibe Check",[16,17,18],"p",{},"SQL is the language you use to talk to a database. You ask it things like 'give me all users who signed up this week' and it actually does it. It looks scary at first but AI writes most of it for you anyway.",[11,20,22],{"id":21},"real-talk","Real Talk",[16,24,25],{},"SQL is a domain-specific language for managing and querying relational databases. It includes commands for data definition (DDL), data manipulation (DML), and data control (DCL). Standard SQL is defined by ISO\u002FANSI but each database vendor adds extensions.",[11,27,29],{"id":28},"show-me-the-code","Show Me The Code",[31,32,37],"pre",{"className":33,"code":34,"language":35,"meta":36,"style":36},"language-sql shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","SELECT name, email FROM users WHERE created_at > '2024-01-01';\n","sql","",[38,39,40],"code",{"__ignoreMap":36},[41,42,45],"span",{"class":43,"line":44},"line",1,[41,46,34],{},[11,48,50],{"id":49},"when-youll-hear-this","When You'll Hear This",[16,52,53],{},"\"Write a SQL query to get all orders over $100.\" \u002F \"I don't know SQL, I just ask the AI to write it.\"",[55,56,57],"style",{},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":36,"searchDepth":59,"depth":59,"links":60},2,[61,62,63,64],{"id":13,"depth":59,"text":14},{"id":21,"depth":59,"text":22},{"id":28,"depth":59,"text":29},{"id":49,"depth":59,"text":50},"database","SQL is the language you use to talk to a database. You ask it things like 'give me all users who signed up this week' and it actually does it.","beginner","md","s",{},true,"\u002Fterms\u002Fs\u002Fsql",[74,75,76,77,78,79],"SELECT","INSERT","UPDATE","DELETE","PostgreSQL","MySQL",{"title":5,"description":66},{"changefreq":82,"priority":83},"weekly",0.7,"terms\u002Fs\u002Fsql",null,"9Zogt6wkrkiKcfCmm5jlQjML8F88wtSsm6hJKQF2uw8",[88,91,94,97,100,103],{"title":77,"path":89,"acronym":85,"category":65,"difficulty":67,"description":90},"\u002Fterms\u002Fd\u002Fdelete","DELETE removes rows from a table. It is the 'Delete' in CRUD. Like UPDATE, you MUST use a WHERE clause — without it, you delete everything in the table.",{"title":75,"path":92,"acronym":85,"category":65,"difficulty":67,"description":93},"\u002Fterms\u002Fi\u002Finsert","INSERT is how you add new data to a database. It is the 'Create' in CRUD. You tell it which table, which columns, and what values to put in.",{"title":79,"path":95,"acronym":85,"category":65,"difficulty":67,"description":96},"\u002Fterms\u002Fm\u002Fmysql","MySQL is the OG popular kid of databases. Half the internet runs on it (WordPress, Facebook originally).",{"title":78,"path":98,"acronym":85,"category":65,"difficulty":67,"description":99},"\u002Fterms\u002Fp\u002Fpostgresql","PostgreSQL (just say 'Postgres') is the Swiss Army knife of databases.",{"title":74,"path":101,"acronym":85,"category":65,"difficulty":67,"description":102},"\u002Fterms\u002Fs\u002Fselect","SELECT is how you ask a database to give you data. It is the 'Read' in CRUD.",{"title":76,"path":104,"acronym":85,"category":65,"difficulty":67,"description":105},"\u002Fterms\u002Fu\u002Fupdate","UPDATE changes existing data in a table. It is the 'Update' in CRUD.",1776518310134]