1:"$Sreact.fragment" 2:I[1402,["619","static/chunks/619-ba102abea3e3d0e4.js","495","static/chunks/495-934e7f1966bcffc3.js","177","static/chunks/app/layout-934ea78abb2ed38c.js"],""] 3:I[2619,["619","static/chunks/619-ba102abea3e3d0e4.js","182","static/chunks/app/%5Bslug%5D/page-67147cd43da08221.js"],""] 4:I[1356,["619","static/chunks/619-ba102abea3e3d0e4.js","495","static/chunks/495-934e7f1966bcffc3.js","177","static/chunks/app/layout-934ea78abb2ed38c.js"],"Image"] 5:I[4008,["619","static/chunks/619-ba102abea3e3d0e4.js","974","static/chunks/app/page-39b9e408c80270cf.js"],"default"] 6:I[6621,["619","static/chunks/619-ba102abea3e3d0e4.js","495","static/chunks/495-934e7f1966bcffc3.js","177","static/chunks/app/layout-934ea78abb2ed38c.js"],"default"] 7:I[909,["619","static/chunks/619-ba102abea3e3d0e4.js","495","static/chunks/495-934e7f1966bcffc3.js","177","static/chunks/app/layout-934ea78abb2ed38c.js"],"default"] 8:I[9766,[],""] 9:I[8924,[],""] e:I[7150,[],""] :HL["/_next/static/css/cb35ce482af17d9a.css","style"] 0:{"P":null,"b":"L1L0eUPU9JBXqsI8shjOF","p":"","c":["","sql"],"i":false,"f":[[["",{"children":[["slug","sql","d"],{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/cb35ce482af17d9a.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"children":[[false,["$","$L2",null,{"async":true,"src":"https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-9789622687009991","crossOrigin":"anonymous","strategy":"afterInteractive"}]],["$","header",null,{"className":"site-header","children":["$","div",null,{"className":"shell nav","children":[["$","$L3",null,{"className":"brand","href":"/","children":[["$","$L4",null,{"src":"/formatter-logo.svg","alt":"ClearFunda Formatter logo","width":46,"height":46,"priority":true}],["$","span",null,{"children":["Formatter ",["$","small",null,{"children":"by Clearfunda"}]]}]]}],["$","div",null,{"className":"nav-right","children":[["$","$L5",null,{"variant":"header"}],["$","$L6",null,{}],["$","$L7",null,{}]]}]]}]}],["$","main",null,{"className":"shell","children":["$","$L8",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L9",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","div",null,{"className":"not-found","children":[["$","h1",null,{"children":"Formatter not found"}],["$","p",null,{"children":"That tool does not exist."}],["$","$L3",null,{"href":"/","children":"Browse all tools"}]]}],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}],["$","footer",null,{"className":"footer shell","children":[["$","div",null,{"className":"footer-grid","children":[["$","div",null,{"className":"footer-brand","children":[["$","strong",null,{"children":"Formatter"}],["$","p",null,{"children":"by Clearfunda ยท Code and data formatting tools."}]]}],["$","nav",null,{"className":"footer-section","aria-label":"Information","children":[["$","strong",null,{"children":"Information"}],["$","$L3",null,{"href":"/about","children":"About Us"}],["$","$L3",null,{"href":"/contact","children":"Contact Us"}],["$","$L3",null,{"href":"/terms","children":"Terms & Conditions"}],["$","$L3",null,{"href":"/policy","children":"Privacy Policy"}]]}],["$","div",null,{"className":"footer-section","children":[["$","strong",null,{"children":"Other ClearFunda tools"}],["$","nav",null,{"className":"utility-links","aria-label":"More ClearFunda utilities","children":[["$","strong",null,{"children":"More ClearFunda utilities"}],["$","div",null,{"children":[["$","a","UnitConverter",{"href":"https://unitconverter.clearfunda.com","target":"_blank","rel":"noopener noreferrer","children":"UnitConverter"}],["$","a","Text Compare",{"href":"https://textcompare.clearfunda.com","target":"_blank","rel":"noopener noreferrer","children":"Text Compare"}],["$","a","Favicon Generator",{"href":"https://favicon.clearfunda.com","target":"_blank","rel":"noopener noreferrer","children":"Favicon Generator"}],["$","a","Password Generator",{"href":"https://passwordgen.clearfunda.com","target":"_blank","rel":"noopener noreferrer","children":"Password Generator"}],["$","a","NotePad",{"href":"https://notepad.clearfunda.com","target":"_blank","rel":"noopener noreferrer","children":"NotePad"}]]}]]}]]}],["$","div",null,{"className":"footer-section","children":[["$","strong",null,{"children":"Follow Us"}],["$","div",null,{"className":"footer-social-icons","children":[["$","a",null,{"href":"https://x.com/clearfunda1","target":"_blank","rel":"noopener noreferrer","aria-label":"X (formerly Twitter)","title":"X","children":"๐•"}],["$","a",null,{"href":"https://www.linkedin.com/company/clearfunda/","target":"_blank","rel":"noopener noreferrer","aria-label":"LinkedIn","children":["$","svg",null,{"ref":"$undefined","xmlns":"http://www.w3.org/2000/svg","width":19,"height":19,"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":2,"strokeLinecap":"round","strokeLinejoin":"round","className":"lucide lucide-linkedin","children":[["$","path","c2jq9f",{"d":"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z"}],["$","rect","mk3on5",{"width":"4","height":"12","x":"2","y":"9"}],["$","circle","bt5ra8",{"cx":"4","cy":"4","r":"2"}],"$undefined"]}]}],["$","a",null,{"href":"https://www.facebook.com/clearfundaofficial","target":"_blank","rel":"noopener noreferrer","aria-label":"Facebook","children":["$","svg",null,{"ref":"$undefined","xmlns":"http://www.w3.org/2000/svg","width":19,"height":19,"viewBox":"0 0 24 24","fill":"none","stroke":"currentColor","strokeWidth":2,"strokeLinecap":"round","strokeLinejoin":"round","className":"lucide lucide-facebook","children":[["$","path","1jg4f8",{"d":"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z"}],"$undefined"]}]}]]}]]}]]}],"$La"]}]]}]}]]}],{"children":[["slug","sql","d"],"$Lb",{"children":["__PAGE__","$Lc",{},null,false]},null,false]},null,false],"$Ld",false]],"m":"$undefined","G":["$e",[]],"s":false,"S":true} 10:I[4431,[],"OutletBoundary"] 12:I[5278,[],"AsyncMetadataOutlet"] 14:I[4431,[],"ViewportBoundary"] 16:I[4431,[],"MetadataBoundary"] 17:"$Sreact.suspense" a:["$","div",null,{"className":"footer-bottom","children":["ยฉ ",2026," ClearFunda. All rights reserved."]}] b:["$","$1","c",{"children":[null,["$","$L8",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L9",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}] c:["$","$1","c",{"children":["$Lf",null,["$","$L10",null,{"children":["$L11",["$","$L12",null,{"promise":"$@13"}]]}]]}] d:["$","$1","h",{"children":[null,[["$","$L14",null,{"children":"$L15"}],null],["$","$L16",null,{"children":["$","div",null,{"hidden":true,"children":["$","$17",null,{"fallback":null,"children":"$L18"}]}]}]]}] 19:I[5469,["619","static/chunks/619-ba102abea3e3d0e4.js","182","static/chunks/app/%5Bslug%5D/page-67147cd43da08221.js"],"default"] 1a:I[7500,["619","static/chunks/619-ba102abea3e3d0e4.js","182","static/chunks/app/%5Bslug%5D/page-67147cd43da08221.js"],"default"] f:[["$","div",null,{"className":"breadcrumb","children":[["$","$L3",null,{"href":"/","children":"Home"}]," / ","Database & Query"," / ","SQL Formatter"]}],["$","div",null,{"className":"workspace-layout","children":["$","$L19",null,{"tool":{"slug":"sql","name":"SQL Formatter","group":"Database & Query","description":"Format SQL statements and clauses.","engine":"sql"}}]}],["$","$L1a",null,{"placement":"belowWorkspace"}],["$","article",null,{"className":"formatter-guide","aria-label":"Learn about SQL","children":[["$","span",null,{"className":"guide-eyebrow","children":"GUIDE & EXAMPLES"}],["$","h2",null,{"children":["What is ","SQL","?"]}],["$","p",null,{"children":"SQL (Structured Query Language) is used to read and modify relational data. Consistent layout makes SELECT, JOIN, WHERE, GROUP BY, and ORDER BY clauses easier to inspect."}],["$","h3",null,{"children":"When to use this tool"}],["$","ul",null,{"children":[["$","li","Review long reports and joins",{"children":"Review long reports and joins"}],["$","li","Understand filter order while debugging",{"children":"Understand filter order while debugging"}],["$","li","Share easier-to-read queries in code reviews",{"children":"Share easier-to-read queries in code reviews"}]]}],["$","h3",null,{"children":"Practical tips"}],["$","ul",null,{"children":[["$","li","Always verify query logic after formatting.",{"children":"Always verify query logic after formatting."}],["$","li","Parameterize values rather than assembling SQL with untrusted input.",{"children":"Parameterize values rather than assembling SQL with untrusted input."}],["$","li","Dialect differences matter; review vendor-specific syntax.",{"children":"Dialect differences matter; review vendor-specific syntax."}]]}],["$","section",null,{"className":"guide-insight","children":[["$","h3",null,{"children":"Why can LEFT JOIN unexpectedly hide rows?"}],["$","p",null,{"children":"A filter on the right-hand table in WHERE can remove the NULL-extended rows that LEFT JOIN was meant to preserve."}],["$","pre",null,{"className":"guide-example","children":["$","code",null,{"children":"SELECT u.id FROM users u\nLEFT JOIN orders o ON o.user_id = u.id\nWHERE o.status = 'paid';"}]}],["$","p",null,{"children":[["$","strong",null,{"children":"Remember:"}]," ","If users with no orders must remain, check whether the right-hand filter belongs in ON instead of WHERE."]}]]}],[["$","h3",null,{"children":"Example"}],["$","p",null,{"className":"guide-example-intro","children":["A readable sample showing typical ","sql"," content:"]}],["$","pre",null,{"className":"guide-example","children":["$","code",null,{"children":"SELECT\n u.name,\n COUNT(o.id) AS orders\nFROM users AS u\nLEFT JOIN orders AS o ON o.user_id = u.id\nGROUP BY u.name;"}]}]],null,["$","h3",null,{"children":"How to use the formatter"}],["$","p",null,{"children":"Paste your input into the left editor, choose indentation when applicable, and select Beautify. The right editor shows the result. Use Validate where available to check syntax, then copy or download your result. Load sample inserts practice data without needing a real API response."}],["$","p",null,{"children":"For sensitive material, use synthetic test data wherever possible. Formatting and validation are different operations: a syntactically correct document might still fail application-specific rules."}]]}],["$","section",null,{"className":"tool-information","children":[["$","div",null,{"className":"side-card","children":[["$","h2",null,{"children":["About ","SQL Formatter"]}],["$","p",null,{"children":"Format SQL statements and clauses."}],["$","p",null,{"children":"Input is processed locally in your browser by this formatter. Do not paste live secrets into online tools."}]]}],["$","div",null,{"className":"side-card","children":[["$","h2",null,{"children":"Related tools"}],["$","div",null,{"className":"related-links","children":[["$","$L3","mongodb-query",{"href":"/mongodb-query","children":["MongoDB Query Formatter"," โ†’"]}],["$","$L3","graphql",{"href":"/graphql","children":["GraphQL Formatter"," โ†’"]}]]}]]}]]}]] 15:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]] 11:null 1b:I[622,[],"IconMark"] 13:{"metadata":[["$","title","0",{"children":"SQL Formatter | ClearFunda Formatter"}],["$","meta","1",{"name":"description","content":"Format SQL statements and clauses."}],["$","meta","2",{"name":"robots","content":"index, follow"}],["$","link","3",{"rel":"canonical","href":"https://formatter.clearfunda.com/sql"}],["$","meta","4",{"property":"og:title","content":"Formatter by Clearfunda"}],["$","meta","5",{"property":"og:description","content":"Fast, free code and data formatting tools."}],["$","meta","6",{"property":"og:url","content":"https://formatter.clearfunda.com"}],["$","meta","7",{"property":"og:site_name","content":"Formatter by Clearfunda"}],["$","meta","8",{"property":"og:image","content":"https://formatter.clearfunda.com/formatter-social.png"}],["$","meta","9",{"property":"og:image:alt","content":"ClearFunda Formatter"}],["$","meta","10",{"property":"og:type","content":"website"}],["$","meta","11",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","12",{"name":"twitter:title","content":"Formatter by Clearfunda"}],["$","meta","13",{"name":"twitter:description","content":"Fast, free code and data formatting tools."}],["$","meta","14",{"name":"twitter:image","content":"https://formatter.clearfunda.com/formatter-social.png"}],["$","meta","15",{"name":"twitter:image:alt","content":"ClearFunda Formatter"}],["$","link","16",{"rel":"icon","href":"/favicon.ico","sizes":"any"}],["$","link","17",{"rel":"icon","href":"/formatter-logo.svg","type":"image/svg+xml"}],["$","link","18",{"rel":"apple-touch-icon","href":"/apple-touch-icon.png"}],["$","$L1b","19",{}]],"error":null,"digest":"$undefined"} 18:"$13:metadata"