mirror of
https://github.com/m-lamonaca/dev-notes.git
synced 2025-04-06 02:46:39 +00:00
4925 lines
No EOL
141 KiB
HTML
4925 lines
No EOL
141 KiB
HTML
|
|
<!doctype html>
|
|
<html lang="en" class="no-js">
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
|
|
|
|
<meta name="author" content="Marcello Lamonaca">
|
|
|
|
|
|
<link rel="canonical" href="http://m-lamonaca.github.io/dev-notes/databases/sql.html">
|
|
|
|
|
|
<link rel="prev" href="redis.html">
|
|
|
|
|
|
<link rel="next" href="mongo-db.html">
|
|
|
|
|
|
<link rel="icon" href="../assets/images/favicon.png">
|
|
<meta name="generator" content="mkdocs-1.6.1, mkdocs-material-9.5.34">
|
|
|
|
|
|
|
|
<title>SQL - Dev Notes</title>
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="../assets/stylesheets/main.35f28582.min.css">
|
|
|
|
|
|
<link rel="stylesheet" href="../assets/stylesheets/palette.06af60db.min.css">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<script src="https://unpkg.com/iframe-worker/shim"></script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,300i,400,400i,700,700i%7CRoboto+Mono:400,400i,700,700i&display=fallback">
|
|
<style>:root{--md-text-font:"Roboto";--md-code-font:"Roboto Mono"}</style>
|
|
|
|
|
|
|
|
<script>__md_scope=new URL("..",location),__md_hash=e=>[...e].reduce(((e,_)=>(e<<5)-e+_.charCodeAt(0)),0),__md_get=(e,_=localStorage,t=__md_scope)=>JSON.parse(_.getItem(t.pathname+"."+e)),__md_set=(e,_,t=localStorage,a=__md_scope)=>{try{t.setItem(a.pathname+"."+e,JSON.stringify(_))}catch(e){}}</script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<meta property="og:type" content="website" >
|
|
|
|
<meta property="og:title" content="SQL - Dev Notes" >
|
|
|
|
<meta property="og:description" content="None" >
|
|
|
|
<meta property="og:image" content="http://m-lamonaca.github.io/dev-notes/assets/images/social/databases/sql.png" >
|
|
|
|
<meta property="og:image:type" content="image/png" >
|
|
|
|
<meta property="og:image:width" content="1200" >
|
|
|
|
<meta property="og:image:height" content="630" >
|
|
|
|
<meta property="og:url" content="http://m-lamonaca.github.io/dev-notes/databases/sql.html" >
|
|
|
|
<meta name="twitter:card" content="summary_large_image" >
|
|
|
|
<meta name="twitter:title" content="SQL - Dev Notes" >
|
|
|
|
<meta name="twitter:description" content="None" >
|
|
|
|
<meta name="twitter:image" content="http://m-lamonaca.github.io/dev-notes/assets/images/social/databases/sql.png" >
|
|
|
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<body dir="ltr" data-md-color-scheme="default" data-md-color-primary="orange" data-md-color-accent="deep-orange">
|
|
|
|
|
|
<input class="md-toggle" data-md-toggle="drawer" type="checkbox" id="__drawer" autocomplete="off">
|
|
<input class="md-toggle" data-md-toggle="search" type="checkbox" id="__search" autocomplete="off">
|
|
<label class="md-overlay" for="__drawer"></label>
|
|
<div data-md-component="skip">
|
|
|
|
|
|
<a href="#sql" class="md-skip">
|
|
Skip to content
|
|
</a>
|
|
|
|
</div>
|
|
<div data-md-component="announce">
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<header class="md-header md-header--shadow md-header--lifted" data-md-component="header">
|
|
<nav class="md-header__inner md-grid" aria-label="Header">
|
|
<a href="../index.html" title="Dev Notes" class="md-header__button md-logo" aria-label="Dev Notes" data-md-component="logo">
|
|
|
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><!--! Font Awesome Free 6.6.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2024 Fonticons, Inc.--><path d="M392.8 1.2c-17-4.9-34.7 5-39.6 22l-128 448c-4.9 17 5 34.7 22 39.6s34.7-5 39.6-22l128-448c4.9-17-5-34.7-22-39.6m80.6 120.1c-12.5 12.5-12.5 32.8 0 45.3l89.3 89.4-89.4 89.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l112-112c12.5-12.5 12.5-32.8 0-45.3l-112-112c-12.5-12.5-32.8-12.5-45.3 0zm-306.7 0c-12.5-12.5-32.8-12.5-45.3 0l-112 112c-12.5 12.5-12.5 32.8 0 45.3l112 112c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256l89.4-89.4c12.5-12.5 12.5-32.8 0-45.3"/></svg>
|
|
|
|
</a>
|
|
<label class="md-header__button md-icon" for="__drawer">
|
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M3 6h18v2H3zm0 5h18v2H3zm0 5h18v2H3z"/></svg>
|
|
</label>
|
|
<div class="md-header__title" data-md-component="header-title">
|
|
<div class="md-header__ellipsis">
|
|
<div class="md-header__topic">
|
|
<span class="md-ellipsis">
|
|
Dev Notes
|
|
</span>
|
|
</div>
|
|
<div class="md-header__topic" data-md-component="header-topic">
|
|
<span class="md-ellipsis">
|
|
|
|
SQL
|
|
|
|
</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<form class="md-header__option" data-md-component="palette">
|
|
|
|
|
|
|
|
|
|
<input class="md-option" data-md-color-media="(prefers-color-scheme: light)" data-md-color-scheme="default" data-md-color-primary="orange" data-md-color-accent="deep-orange" aria-label="Switch to dark mode" type="radio" name="__palette" id="__palette_0">
|
|
|
|
<label class="md-header__button md-icon" title="Switch to dark mode" for="__palette_1" hidden>
|
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a4 4 0 0 0-4 4 4 4 0 0 0 4 4 4 4 0 0 0 4-4 4 4 0 0 0-4-4m0 10a6 6 0 0 1-6-6 6 6 0 0 1 6-6 6 6 0 0 1 6 6 6 6 0 0 1-6 6m8-9.31V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69L23.31 12z"/></svg>
|
|
</label>
|
|
|
|
|
|
|
|
|
|
|
|
<input class="md-option" data-md-color-media="(prefers-color-scheme: dark)" data-md-color-scheme="slate" data-md-color-primary="orange" data-md-color-accent="deep-orange" aria-label="Switch to light mode" type="radio" name="__palette" id="__palette_1">
|
|
|
|
<label class="md-header__button md-icon" title="Switch to light mode" for="__palette_0" hidden>
|
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 18c-.89 0-1.74-.2-2.5-.55C11.56 16.5 13 14.42 13 12s-1.44-4.5-3.5-5.45C10.26 6.2 11.11 6 12 6a6 6 0 0 1 6 6 6 6 0 0 1-6 6m8-9.31V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69L23.31 12z"/></svg>
|
|
</label>
|
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
<script>var palette=__md_get("__palette");if(palette&&palette.color){if("(prefers-color-scheme)"===palette.color.media){var media=matchMedia("(prefers-color-scheme: light)"),input=document.querySelector(media.matches?"[data-md-color-media='(prefers-color-scheme: light)']":"[data-md-color-media='(prefers-color-scheme: dark)']");palette.color.media=input.getAttribute("data-md-color-media"),palette.color.scheme=input.getAttribute("data-md-color-scheme"),palette.color.primary=input.getAttribute("data-md-color-primary"),palette.color.accent=input.getAttribute("data-md-color-accent")}for(var[key,value]of Object.entries(palette.color))document.body.setAttribute("data-md-color-"+key,value)}</script>
|
|
|
|
|
|
|
|
<label class="md-header__button md-icon" for="__search">
|
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.5 3A6.5 6.5 0 0 1 16 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.52 6.52 0 0 1 9.5 16 6.5 6.5 0 0 1 3 9.5 6.5 6.5 0 0 1 9.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5"/></svg>
|
|
</label>
|
|
<div class="md-search" data-md-component="search" role="dialog">
|
|
<label class="md-search__overlay" for="__search"></label>
|
|
<div class="md-search__inner" role="search">
|
|
<form class="md-search__form" name="search">
|
|
<input type="text" class="md-search__input" name="query" aria-label="Search" placeholder="Search" autocapitalize="off" autocorrect="off" autocomplete="off" spellcheck="false" data-md-component="search-query" required>
|
|
<label class="md-search__icon md-icon" for="__search">
|
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.5 3A6.5 6.5 0 0 1 16 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.52 6.52 0 0 1 9.5 16 6.5 6.5 0 0 1 3 9.5 6.5 6.5 0 0 1 9.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5"/></svg>
|
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11z"/></svg>
|
|
</label>
|
|
<nav class="md-search__options" aria-label="Search">
|
|
|
|
<button type="reset" class="md-search__icon md-icon" title="Clear" aria-label="Clear" tabindex="-1">
|
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></svg>
|
|
</button>
|
|
</nav>
|
|
|
|
</form>
|
|
<div class="md-search__output">
|
|
<div class="md-search__scrollwrap" tabindex="0" data-md-scrollfix>
|
|
<div class="md-search-result" data-md-component="search-result">
|
|
<div class="md-search-result__meta">
|
|
Initializing search
|
|
</div>
|
|
<ol class="md-search-result__list" role="presentation"></ol>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<div class="md-header__source">
|
|
<a href="https://github.com/m-lamonaca/dev-notes" title="Go to repository" class="md-source" data-md-component="source">
|
|
<div class="md-source__icon md-icon">
|
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--! Font Awesome Free 6.6.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2024 Fonticons, Inc.--><path d="M439.55 236.05 244 40.45a28.87 28.87 0 0 0-40.81 0l-40.66 40.63 51.52 51.52c27.06-9.14 52.68 16.77 43.39 43.68l49.66 49.66c34.23-11.8 61.18 31 35.47 56.69-26.49 26.49-70.21-2.87-56-37.34L240.22 199v121.85c25.3 12.54 22.26 41.85 9.08 55a34.34 34.34 0 0 1-48.55 0c-17.57-17.6-11.07-46.91 11.25-56v-123c-20.8-8.51-24.6-30.74-18.64-45L142.57 101 8.45 235.14a28.86 28.86 0 0 0 0 40.81l195.61 195.6a28.86 28.86 0 0 0 40.8 0l194.69-194.69a28.86 28.86 0 0 0 0-40.81"/></svg>
|
|
</div>
|
|
<div class="md-source__repository">
|
|
GitHub
|
|
</div>
|
|
</a>
|
|
</div>
|
|
|
|
</nav>
|
|
|
|
|
|
|
|
<nav class="md-tabs" aria-label="Tabs" data-md-component="tabs">
|
|
<div class="md-grid">
|
|
<ul class="md-tabs__list">
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-tabs__item">
|
|
<a href="../index.html" class="md-tabs__link">
|
|
|
|
|
|
|
|
|
|
Home
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-tabs__item">
|
|
<a href="../containers/docker.html" class="md-tabs__link">
|
|
|
|
|
|
|
|
|
|
Containers
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-tabs__item md-tabs__item--active">
|
|
<a href="redis.html" class="md-tabs__link">
|
|
|
|
|
|
|
|
|
|
Databases
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-tabs__item">
|
|
<a href="../languages/html/html.html" class="md-tabs__link">
|
|
|
|
|
|
|
|
|
|
Languages
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-tabs__item">
|
|
<a href="../misc/git.html" class="md-tabs__link">
|
|
|
|
|
|
|
|
|
|
Misc
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-tabs__item">
|
|
<a href="../linux/filesystem/file-links.html" class="md-tabs__link">
|
|
|
|
|
|
|
|
|
|
Linux
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
</div>
|
|
</nav>
|
|
|
|
|
|
</header>
|
|
|
|
<div class="md-container" data-md-component="container">
|
|
|
|
|
|
|
|
|
|
<main class="md-main" data-md-component="main">
|
|
<div class="md-main__inner md-grid">
|
|
|
|
|
|
|
|
<div class="md-sidebar md-sidebar--primary" data-md-component="sidebar" data-md-type="navigation" >
|
|
<div class="md-sidebar__scrollwrap">
|
|
<div class="md-sidebar__inner">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<nav class="md-nav md-nav--primary md-nav--lifted" aria-label="Navigation" data-md-level="0">
|
|
<label class="md-nav__title" for="__drawer">
|
|
<a href="../index.html" title="Dev Notes" class="md-nav__button md-logo" aria-label="Dev Notes" data-md-component="logo">
|
|
|
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><!--! Font Awesome Free 6.6.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2024 Fonticons, Inc.--><path d="M392.8 1.2c-17-4.9-34.7 5-39.6 22l-128 448c-4.9 17 5 34.7 22 39.6s34.7-5 39.6-22l128-448c4.9-17-5-34.7-22-39.6m80.6 120.1c-12.5 12.5-12.5 32.8 0 45.3l89.3 89.4-89.4 89.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l112-112c12.5-12.5 12.5-32.8 0-45.3l-112-112c-12.5-12.5-32.8-12.5-45.3 0zm-306.7 0c-12.5-12.5-32.8-12.5-45.3 0l-112 112c-12.5 12.5-12.5 32.8 0 45.3l112 112c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256l89.4-89.4c12.5-12.5 12.5-32.8 0-45.3"/></svg>
|
|
|
|
</a>
|
|
Dev Notes
|
|
</label>
|
|
|
|
<div class="md-nav__source">
|
|
<a href="https://github.com/m-lamonaca/dev-notes" title="Go to repository" class="md-source" data-md-component="source">
|
|
<div class="md-source__icon md-icon">
|
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--! Font Awesome Free 6.6.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2024 Fonticons, Inc.--><path d="M439.55 236.05 244 40.45a28.87 28.87 0 0 0-40.81 0l-40.66 40.63 51.52 51.52c27.06-9.14 52.68 16.77 43.39 43.68l49.66 49.66c34.23-11.8 61.18 31 35.47 56.69-26.49 26.49-70.21-2.87-56-37.34L240.22 199v121.85c25.3 12.54 22.26 41.85 9.08 55a34.34 34.34 0 0 1-48.55 0c-17.57-17.6-11.07-46.91 11.25-56v-123c-20.8-8.51-24.6-30.74-18.64-45L142.57 101 8.45 235.14a28.86 28.86 0 0 0 0 40.81l195.61 195.6a28.86 28.86 0 0 0 40.8 0l194.69-194.69a28.86 28.86 0 0 0 0-40.81"/></svg>
|
|
</div>
|
|
<div class="md-source__repository">
|
|
GitHub
|
|
</div>
|
|
</a>
|
|
</div>
|
|
|
|
<ul class="md-nav__list" data-md-scrollfix>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../index.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Home
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item md-nav__item--nested">
|
|
|
|
|
|
|
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_2" >
|
|
|
|
|
|
<label class="md-nav__link" for="__nav_2" id="__nav_2_label" tabindex="0">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Containers
|
|
</span>
|
|
|
|
|
|
<span class="md-nav__icon md-icon"></span>
|
|
</label>
|
|
|
|
<nav class="md-nav" data-md-level="1" aria-labelledby="__nav_2_label" aria-expanded="false">
|
|
<label class="md-nav__title" for="__nav_2">
|
|
<span class="md-nav__icon md-icon"></span>
|
|
Containers
|
|
</label>
|
|
<ul class="md-nav__list" data-md-scrollfix>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../containers/docker.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Docker
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../containers/kubernetes.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Kubernetes
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
</nav>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item md-nav__item--active md-nav__item--section md-nav__item--nested">
|
|
|
|
|
|
|
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_3" checked>
|
|
|
|
|
|
<label class="md-nav__link" for="__nav_3" id="__nav_3_label" tabindex="">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Databases
|
|
</span>
|
|
|
|
|
|
<span class="md-nav__icon md-icon"></span>
|
|
</label>
|
|
|
|
<nav class="md-nav" data-md-level="1" aria-labelledby="__nav_3_label" aria-expanded="true">
|
|
<label class="md-nav__title" for="__nav_3">
|
|
<span class="md-nav__icon md-icon"></span>
|
|
Databases
|
|
</label>
|
|
<ul class="md-nav__list" data-md-scrollfix>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="redis.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Redis
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item md-nav__item--active">
|
|
|
|
<input class="md-nav__toggle md-toggle" type="checkbox" id="__toc">
|
|
|
|
|
|
|
|
|
|
|
|
<label class="md-nav__link md-nav__link--active" for="__toc">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
SQL
|
|
</span>
|
|
|
|
|
|
<span class="md-nav__icon md-icon"></span>
|
|
</label>
|
|
|
|
<a href="sql.html" class="md-nav__link md-nav__link--active">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
SQL
|
|
</span>
|
|
|
|
|
|
</a>
|
|
|
|
|
|
|
|
<nav class="md-nav md-nav--secondary" aria-label="Table of contents">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<label class="md-nav__title" for="__toc">
|
|
<span class="md-nav__icon md-icon"></span>
|
|
Table of contents
|
|
</label>
|
|
<ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#ddl" class="md-nav__link">
|
|
<span class="md-ellipsis">
|
|
DDL
|
|
</span>
|
|
</a>
|
|
|
|
<nav class="md-nav" aria-label="DDL">
|
|
<ul class="md-nav__list">
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#table-creation" class="md-nav__link">
|
|
<span class="md-ellipsis">
|
|
Table Creation
|
|
</span>
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#primary-key-from-multiple-fields" class="md-nav__link">
|
|
<span class="md-ellipsis">
|
|
PRIMARY KEY from multiple fields
|
|
</span>
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#table-field-options" class="md-nav__link">
|
|
<span class="md-ellipsis">
|
|
Table Field Options
|
|
</span>
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#table-modification" class="md-nav__link">
|
|
<span class="md-ellipsis">
|
|
Table Modification
|
|
</span>
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</nav>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#dml" class="md-nav__link">
|
|
<span class="md-ellipsis">
|
|
DML
|
|
</span>
|
|
</a>
|
|
|
|
<nav class="md-nav" aria-label="DML">
|
|
<ul class="md-nav__list">
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#data-insertion" class="md-nav__link">
|
|
<span class="md-ellipsis">
|
|
Data Insertion
|
|
</span>
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#data-update" class="md-nav__link">
|
|
<span class="md-ellipsis">
|
|
Data Update
|
|
</span>
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#data-elimination" class="md-nav__link">
|
|
<span class="md-ellipsis">
|
|
Data Elimination
|
|
</span>
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</nav>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#data-selection" class="md-nav__link">
|
|
<span class="md-ellipsis">
|
|
Data Selection
|
|
</span>
|
|
</a>
|
|
|
|
<nav class="md-nav" aria-label="Data Selection">
|
|
<ul class="md-nav__list">
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#alias" class="md-nav__link">
|
|
<span class="md-ellipsis">
|
|
Alias
|
|
</span>
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#conditional-selection" class="md-nav__link">
|
|
<span class="md-ellipsis">
|
|
Conditional Selection
|
|
</span>
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#ordering" class="md-nav__link">
|
|
<span class="md-ellipsis">
|
|
Ordering
|
|
</span>
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</nav>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#grouping" class="md-nav__link">
|
|
<span class="md-ellipsis">
|
|
Grouping
|
|
</span>
|
|
</a>
|
|
|
|
<nav class="md-nav" aria-label="Grouping">
|
|
<ul class="md-nav__list">
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#ricerca-caratteri-in-valori" class="md-nav__link">
|
|
<span class="md-ellipsis">
|
|
Ricerca caratteri in valori
|
|
</span>
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#selection-from-multiple-tables" class="md-nav__link">
|
|
<span class="md-ellipsis">
|
|
Selection from multiple tables
|
|
</span>
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</nav>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#functions" class="md-nav__link">
|
|
<span class="md-ellipsis">
|
|
Functions
|
|
</span>
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#nested-queries" class="md-nav__link">
|
|
<span class="md-ellipsis">
|
|
Nested Queries
|
|
</span>
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#new-table-from-data" class="md-nav__link">
|
|
<span class="md-ellipsis">
|
|
New table from data
|
|
</span>
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#join" class="md-nav__link">
|
|
<span class="md-ellipsis">
|
|
Join
|
|
</span>
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#multiple-join" class="md-nav__link">
|
|
<span class="md-ellipsis">
|
|
Multiple Join
|
|
</span>
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#t-sql-mssql-server" class="md-nav__link">
|
|
<span class="md-ellipsis">
|
|
T-SQL (MSSQL Server)
|
|
</span>
|
|
</a>
|
|
|
|
<nav class="md-nav" aria-label="T-SQL (MSSQL Server)">
|
|
<ul class="md-nav__list">
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#t-sql-insert-from-table" class="md-nav__link">
|
|
<span class="md-ellipsis">
|
|
T-SQL Insert From table
|
|
</span>
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#t-sql-parametric-query" class="md-nav__link">
|
|
<span class="md-ellipsis">
|
|
T-SQL Parametric Query
|
|
</span>
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#t-sql-view" class="md-nav__link">
|
|
<span class="md-ellipsis">
|
|
T-SQL View
|
|
</span>
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#t-sql-stored-procedure" class="md-nav__link">
|
|
<span class="md-ellipsis">
|
|
T-SQL Stored Procedure
|
|
</span>
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</nav>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="mongo-db.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
MongoDB
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
</nav>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item md-nav__item--nested">
|
|
|
|
|
|
|
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_4" >
|
|
|
|
|
|
<label class="md-nav__link" for="__nav_4" id="__nav_4_label" tabindex="0">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Languages
|
|
</span>
|
|
|
|
|
|
<span class="md-nav__icon md-icon"></span>
|
|
</label>
|
|
|
|
<nav class="md-nav" data-md-level="1" aria-labelledby="__nav_4_label" aria-expanded="false">
|
|
<label class="md-nav__title" for="__nav_4">
|
|
<span class="md-nav__icon md-icon"></span>
|
|
Languages
|
|
</label>
|
|
<ul class="md-nav__list" data-md-scrollfix>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/html/html.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
HTML
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/markdown.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Markdown
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/css/css.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
CSS
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/c/c.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
C
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/kotlin/kotlin.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Kotlin
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/swift/swift.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Swift
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item md-nav__item--nested">
|
|
|
|
|
|
|
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_4_7" >
|
|
|
|
|
|
<label class="md-nav__link" for="__nav_4_7" id="__nav_4_7_label" tabindex="0">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Assembly
|
|
</span>
|
|
|
|
|
|
<span class="md-nav__icon md-icon"></span>
|
|
</label>
|
|
|
|
<nav class="md-nav" data-md-level="2" aria-labelledby="__nav_4_7_label" aria-expanded="false">
|
|
<label class="md-nav__title" for="__nav_4_7">
|
|
<span class="md-nav__icon md-icon"></span>
|
|
Assembly
|
|
</label>
|
|
<ul class="md-nav__list" data-md-scrollfix>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/assembly/intel.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Intel
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/assembly/riscv.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
RISC-V
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
</nav>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item md-nav__item--nested">
|
|
|
|
|
|
|
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_4_8" >
|
|
|
|
|
|
<label class="md-nav__link" for="__nav_4_8" id="__nav_4_8_label" tabindex="0">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Python
|
|
</span>
|
|
|
|
|
|
<span class="md-nav__icon md-icon"></span>
|
|
</label>
|
|
|
|
<nav class="md-nav" data-md-level="2" aria-labelledby="__nav_4_8_label" aria-expanded="false">
|
|
<label class="md-nav__title" for="__nav_4_8">
|
|
<span class="md-nav__icon md-icon"></span>
|
|
Python
|
|
</label>
|
|
<ul class="md-nav__list" data-md-scrollfix>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/python/python.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Python
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item md-nav__item--nested">
|
|
|
|
|
|
|
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_4_8_2" >
|
|
|
|
|
|
<label class="md-nav__link" for="__nav_4_8_2" id="__nav_4_8_2_label" tabindex="0">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Modules
|
|
</span>
|
|
|
|
|
|
<span class="md-nav__icon md-icon"></span>
|
|
</label>
|
|
|
|
<nav class="md-nav" data-md-level="3" aria-labelledby="__nav_4_8_2_label" aria-expanded="false">
|
|
<label class="md-nav__title" for="__nav_4_8_2">
|
|
<span class="md-nav__icon md-icon"></span>
|
|
Modules
|
|
</label>
|
|
<ul class="md-nav__list" data-md-scrollfix>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/python/modules/argparse.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
argparse
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/python/modules/collections.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
collection
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/python/modules/csv.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
csv
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/python/modules/ftplib.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
ftplib
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/python/modules/itertools.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
itertools
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/python/modules/json.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
json
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/python/modules/logging.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
logging
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/python/modules/shutil.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
shutil
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/python/modules/smtplib.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
smtplib
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/python/modules/socket.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
socket
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/python/modules/sqlite.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
sqlite
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/python/modules/time-datetime.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
time & datetime
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/python/modules/unittest.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
unittest
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
</nav>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item md-nav__item--nested">
|
|
|
|
|
|
|
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_4_8_3" >
|
|
|
|
|
|
<label class="md-nav__link" for="__nav_4_8_3" id="__nav_4_8_3_label" tabindex="0">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Libraries
|
|
</span>
|
|
|
|
|
|
<span class="md-nav__icon md-icon"></span>
|
|
</label>
|
|
|
|
<nav class="md-nav" data-md-level="3" aria-labelledby="__nav_4_8_3_label" aria-expanded="false">
|
|
<label class="md-nav__title" for="__nav_4_8_3">
|
|
<span class="md-nav__icon md-icon"></span>
|
|
Libraries
|
|
</label>
|
|
<ul class="md-nav__list" data-md-scrollfix>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/python/libs/tkinter.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
TKinter
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/python/libs/numpy.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Numpy
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/python/libs/pandas.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Pandas
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/python/libs/seaborn.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Seaborn
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/python/libs/requests.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Requests
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/python/libs/beautiful-soup.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Beatiful Soup
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
</nav>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
</nav>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item md-nav__item--nested">
|
|
|
|
|
|
|
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_4_9" >
|
|
|
|
|
|
<label class="md-nav__link" for="__nav_4_9" id="__nav_4_9_label" tabindex="0">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
.NET
|
|
</span>
|
|
|
|
|
|
<span class="md-nav__icon md-icon"></span>
|
|
</label>
|
|
|
|
<nav class="md-nav" data-md-level="2" aria-labelledby="__nav_4_9_label" aria-expanded="false">
|
|
<label class="md-nav__title" for="__nav_4_9">
|
|
<span class="md-nav__icon md-icon"></span>
|
|
.NET
|
|
</label>
|
|
<ul class="md-nav__list" data-md-scrollfix>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item md-nav__item--nested">
|
|
|
|
|
|
|
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_4_9_1" >
|
|
|
|
|
|
<label class="md-nav__link" for="__nav_4_9_1" id="__nav_4_9_1_label" tabindex="0">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
C#
|
|
</span>
|
|
|
|
|
|
<span class="md-nav__icon md-icon"></span>
|
|
</label>
|
|
|
|
<nav class="md-nav" data-md-level="3" aria-labelledby="__nav_4_9_1_label" aria-expanded="false">
|
|
<label class="md-nav__title" for="__nav_4_9_1">
|
|
<span class="md-nav__icon md-icon"></span>
|
|
C#
|
|
</label>
|
|
<ul class="md-nav__list" data-md-scrollfix>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/dotnet/csharp/csharp.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
C#
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/dotnet/csharp/linq.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Linq
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/dotnet/csharp/collections.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Collections
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/dotnet/csharp/reactive-extensions.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Reactive Extensions
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/dotnet/csharp/async-programming.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Async Programming
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/dotnet/csharp/unit-tests.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Unit Tests
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
</nav>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item md-nav__item--nested">
|
|
|
|
|
|
|
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_4_9_2" >
|
|
|
|
|
|
<label class="md-nav__link" for="__nav_4_9_2" id="__nav_4_9_2_label" tabindex="0">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
ASP.NET
|
|
</span>
|
|
|
|
|
|
<span class="md-nav__icon md-icon"></span>
|
|
</label>
|
|
|
|
<nav class="md-nav" data-md-level="3" aria-labelledby="__nav_4_9_2_label" aria-expanded="false">
|
|
<label class="md-nav__title" for="__nav_4_9_2">
|
|
<span class="md-nav__icon md-icon"></span>
|
|
ASP.NET
|
|
</label>
|
|
<ul class="md-nav__list" data-md-scrollfix>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/dotnet/asp.net/minimal-api.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Minimal API
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/dotnet/asp.net/filters.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
FIlters
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/dotnet/asp.net/middleware.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Middleware
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/dotnet/asp.net/razor-syntax.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Razor Syntax
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/dotnet/asp.net/blazor.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Blazor
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/dotnet/asp.net/signalr.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
SignalR
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/dotnet/asp.net/web-forms.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Web Forms
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
</nav>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item md-nav__item--nested">
|
|
|
|
|
|
|
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_4_9_3" >
|
|
|
|
|
|
<label class="md-nav__link" for="__nav_4_9_3" id="__nav_4_9_3_label" tabindex="0">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Database
|
|
</span>
|
|
|
|
|
|
<span class="md-nav__icon md-icon"></span>
|
|
</label>
|
|
|
|
<nav class="md-nav" data-md-level="3" aria-labelledby="__nav_4_9_3_label" aria-expanded="false">
|
|
<label class="md-nav__title" for="__nav_4_9_3">
|
|
<span class="md-nav__icon md-icon"></span>
|
|
Database
|
|
</label>
|
|
<ul class="md-nav__list" data-md-scrollfix>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/dotnet/database/ado.net.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
ADO.NET
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/dotnet/database/entity-framework.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Entity Framework
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
</nav>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
</nav>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item md-nav__item--nested">
|
|
|
|
|
|
|
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_4_10" >
|
|
|
|
|
|
<label class="md-nav__link" for="__nav_4_10" id="__nav_4_10_label" tabindex="0">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Java
|
|
</span>
|
|
|
|
|
|
<span class="md-nav__icon md-icon"></span>
|
|
</label>
|
|
|
|
<nav class="md-nav" data-md-level="2" aria-labelledby="__nav_4_10_label" aria-expanded="false">
|
|
<label class="md-nav__title" for="__nav_4_10">
|
|
<span class="md-nav__icon md-icon"></span>
|
|
Java
|
|
</label>
|
|
<ul class="md-nav__list" data-md-scrollfix>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/java/java.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Java
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/java/java-collection-framework.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Java Collection Framework
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/java/dao.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
DAO
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item md-nav__item--nested">
|
|
|
|
|
|
|
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_4_10_4" >
|
|
|
|
|
|
<label class="md-nav__link" for="__nav_4_10_4" id="__nav_4_10_4_label" tabindex="0">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Web
|
|
</span>
|
|
|
|
|
|
<span class="md-nav__icon md-icon"></span>
|
|
</label>
|
|
|
|
<nav class="md-nav" data-md-level="3" aria-labelledby="__nav_4_10_4_label" aria-expanded="false">
|
|
<label class="md-nav__title" for="__nav_4_10_4">
|
|
<span class="md-nav__icon md-icon"></span>
|
|
Web
|
|
</label>
|
|
<ul class="md-nav__list" data-md-scrollfix>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/java/web/servlet.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Serverlet
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item md-nav__item--nested">
|
|
|
|
|
|
|
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_4_10_4_2" >
|
|
|
|
|
|
<label class="md-nav__link" for="__nav_4_10_4_2" id="__nav_4_10_4_2_label" tabindex="0">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Spring
|
|
</span>
|
|
|
|
|
|
<span class="md-nav__icon md-icon"></span>
|
|
</label>
|
|
|
|
<nav class="md-nav" data-md-level="4" aria-labelledby="__nav_4_10_4_2_label" aria-expanded="false">
|
|
<label class="md-nav__title" for="__nav_4_10_4_2">
|
|
<span class="md-nav__icon md-icon"></span>
|
|
Spring
|
|
</label>
|
|
<ul class="md-nav__list" data-md-scrollfix>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/java/spring/pom.xml.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
POM
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/java/spring/spring-project.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Project Structure
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
</nav>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
</nav>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
</nav>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item md-nav__item--nested">
|
|
|
|
|
|
|
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_4_11" >
|
|
|
|
|
|
<label class="md-nav__link" for="__nav_4_11" id="__nav_4_11_label" tabindex="0">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
PHP
|
|
</span>
|
|
|
|
|
|
<span class="md-nav__icon md-icon"></span>
|
|
</label>
|
|
|
|
<nav class="md-nav" data-md-level="2" aria-labelledby="__nav_4_11_label" aria-expanded="false">
|
|
<label class="md-nav__title" for="__nav_4_11">
|
|
<span class="md-nav__icon md-icon"></span>
|
|
PHP
|
|
</label>
|
|
<ul class="md-nav__list" data-md-scrollfix>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/php/php.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
PHP
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/php/database.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Database
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/php/web.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Web
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/php/dependency-injection.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Dependency Injection
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/php/unit-tests.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Unit Tests
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/php/composer.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Composer
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/php/psr-7.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
PSR 7
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/php/plates-templating.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Plates
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item md-nav__item--nested">
|
|
|
|
|
|
|
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_4_11_9" >
|
|
|
|
|
|
<label class="md-nav__link" for="__nav_4_11_9" id="__nav_4_11_9_label" tabindex="0">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Simple MVC
|
|
</span>
|
|
|
|
|
|
<span class="md-nav__icon md-icon"></span>
|
|
</label>
|
|
|
|
<nav class="md-nav" data-md-level="3" aria-labelledby="__nav_4_11_9_label" aria-expanded="false">
|
|
<label class="md-nav__title" for="__nav_4_11_9">
|
|
<span class="md-nav__icon md-icon"></span>
|
|
Simple MVC
|
|
</label>
|
|
<ul class="md-nav__list" data-md-scrollfix>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/php/simple-mvc/simple-mvc.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Simple MVC
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/php/simple-mvc/rest-api.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
REST API
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
</nav>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
</nav>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item md-nav__item--nested">
|
|
|
|
|
|
|
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_4_12" >
|
|
|
|
|
|
<label class="md-nav__link" for="__nav_4_12" id="__nav_4_12_label" tabindex="0">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Rust
|
|
</span>
|
|
|
|
|
|
<span class="md-nav__icon md-icon"></span>
|
|
</label>
|
|
|
|
<nav class="md-nav" data-md-level="2" aria-labelledby="__nav_4_12_label" aria-expanded="false">
|
|
<label class="md-nav__title" for="__nav_4_12">
|
|
<span class="md-nav__icon md-icon"></span>
|
|
Rust
|
|
</label>
|
|
<ul class="md-nav__list" data-md-scrollfix>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/rust/rust.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Rust
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/rust/macros.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Macros
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/rust/cargo.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Cargo
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/rust/concurrency.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Concurrency
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/rust/unit-tests.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Unit Tests
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
</nav>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item md-nav__item--nested">
|
|
|
|
|
|
|
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_4_13" >
|
|
|
|
|
|
<label class="md-nav__link" for="__nav_4_13" id="__nav_4_13_label" tabindex="0">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Javascript
|
|
</span>
|
|
|
|
|
|
<span class="md-nav__icon md-icon"></span>
|
|
</label>
|
|
|
|
<nav class="md-nav" data-md-level="2" aria-labelledby="__nav_4_13_label" aria-expanded="false">
|
|
<label class="md-nav__title" for="__nav_4_13">
|
|
<span class="md-nav__icon md-icon"></span>
|
|
Javascript
|
|
</label>
|
|
<ul class="md-nav__list" data-md-scrollfix>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/javascript/javascript.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Javascript
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/javascript/dom.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
DOM
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/javascript/events-animation.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Events & Animation
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/javascript/ajax.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
AJAX
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/javascript/jquery.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
jQuery
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item md-nav__item--nested">
|
|
|
|
|
|
|
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_4_13_6" >
|
|
|
|
|
|
<label class="md-nav__link" for="__nav_4_13_6" id="__nav_4_13_6_label" tabindex="0">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
React
|
|
</span>
|
|
|
|
|
|
<span class="md-nav__icon md-icon"></span>
|
|
</label>
|
|
|
|
<nav class="md-nav" data-md-level="3" aria-labelledby="__nav_4_13_6_label" aria-expanded="false">
|
|
<label class="md-nav__title" for="__nav_4_13_6">
|
|
<span class="md-nav__icon md-icon"></span>
|
|
React
|
|
</label>
|
|
<ul class="md-nav__list" data-md-scrollfix>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/javascript/react/react.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
React
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/javascript/react/react-router.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
React Router
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/javascript/react/react-tests.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
React Tests
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/javascript/react/redux.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Redux
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/javascript/react/redux-tests.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Redux Tests
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
</nav>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/javascript/svelte/svelte.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Svelte
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
</nav>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item md-nav__item--nested">
|
|
|
|
|
|
|
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_4_14" >
|
|
|
|
|
|
<label class="md-nav__link" for="__nav_4_14" id="__nav_4_14_label" tabindex="0">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
PowerShell
|
|
</span>
|
|
|
|
|
|
<span class="md-nav__icon md-icon"></span>
|
|
</label>
|
|
|
|
<nav class="md-nav" data-md-level="2" aria-labelledby="__nav_4_14_label" aria-expanded="false">
|
|
<label class="md-nav__title" for="__nav_4_14">
|
|
<span class="md-nav__icon md-icon"></span>
|
|
PowerShell
|
|
</label>
|
|
<ul class="md-nav__list" data-md-scrollfix>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/powershell/scripting.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Scripting
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/powershell/commands.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Commands
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
</nav>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item md-nav__item--nested">
|
|
|
|
|
|
|
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_4_15" >
|
|
|
|
|
|
<label class="md-nav__link" for="__nav_4_15" id="__nav_4_15_label" tabindex="0">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Bash
|
|
</span>
|
|
|
|
|
|
<span class="md-nav__icon md-icon"></span>
|
|
</label>
|
|
|
|
<nav class="md-nav" data-md-level="2" aria-labelledby="__nav_4_15_label" aria-expanded="false">
|
|
<label class="md-nav__title" for="__nav_4_15">
|
|
<span class="md-nav__icon md-icon"></span>
|
|
Bash
|
|
</label>
|
|
<ul class="md-nav__list" data-md-scrollfix>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/bash/scripting.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Scripting
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../languages/bash/commands.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Commands
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
</nav>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
</nav>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item md-nav__item--nested">
|
|
|
|
|
|
|
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_5" >
|
|
|
|
|
|
<label class="md-nav__link" for="__nav_5" id="__nav_5_label" tabindex="0">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Misc
|
|
</span>
|
|
|
|
|
|
<span class="md-nav__icon md-icon"></span>
|
|
</label>
|
|
|
|
<nav class="md-nav" data-md-level="1" aria-labelledby="__nav_5_label" aria-expanded="false">
|
|
<label class="md-nav__title" for="__nav_5">
|
|
<span class="md-nav__icon md-icon"></span>
|
|
Misc
|
|
</label>
|
|
<ul class="md-nav__list" data-md-scrollfix>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../misc/git.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Git
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../misc/graph-ql.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
GraphQL
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../misc/regular-expressions.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
RegEx
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../misc/ssh.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
SSH
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../misc/web-components.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
WebComponents
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
</nav>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item md-nav__item--nested">
|
|
|
|
|
|
|
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_6" >
|
|
|
|
|
|
<label class="md-nav__link" for="__nav_6" id="__nav_6_label" tabindex="0">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Linux
|
|
</span>
|
|
|
|
|
|
<span class="md-nav__icon md-icon"></span>
|
|
</label>
|
|
|
|
<nav class="md-nav" data-md-level="1" aria-labelledby="__nav_6_label" aria-expanded="false">
|
|
<label class="md-nav__title" for="__nav_6">
|
|
<span class="md-nav__icon md-icon"></span>
|
|
Linux
|
|
</label>
|
|
<ul class="md-nav__list" data-md-scrollfix>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item md-nav__item--nested">
|
|
|
|
|
|
|
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_6_1" >
|
|
|
|
|
|
<label class="md-nav__link" for="__nav_6_1" id="__nav_6_1_label" tabindex="0">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Filesystem
|
|
</span>
|
|
|
|
|
|
<span class="md-nav__icon md-icon"></span>
|
|
</label>
|
|
|
|
<nav class="md-nav" data-md-level="2" aria-labelledby="__nav_6_1_label" aria-expanded="false">
|
|
<label class="md-nav__title" for="__nav_6_1">
|
|
<span class="md-nav__icon md-icon"></span>
|
|
Filesystem
|
|
</label>
|
|
<ul class="md-nav__list" data-md-scrollfix>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../linux/filesystem/file-links.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
File Links
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../linux/filesystem/procfs.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
/proc
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../linux/filesystem/sysfs.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
/sys
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
</nav>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item md-nav__item--nested">
|
|
|
|
|
|
|
|
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_6_2" >
|
|
|
|
|
|
<label class="md-nav__link" for="__nav_6_2" id="__nav_6_2_label" tabindex="0">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
System Init
|
|
</span>
|
|
|
|
|
|
<span class="md-nav__icon md-icon"></span>
|
|
</label>
|
|
|
|
<nav class="md-nav" data-md-level="2" aria-labelledby="__nav_6_2_label" aria-expanded="false">
|
|
<label class="md-nav__title" for="__nav_6_2">
|
|
<span class="md-nav__icon md-icon"></span>
|
|
System Init
|
|
</label>
|
|
<ul class="md-nav__list" data-md-scrollfix>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../linux/init/systemd.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
Systemd
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<li class="md-nav__item">
|
|
<a href="../linux/init/open-rc.html" class="md-nav__link">
|
|
|
|
|
|
<span class="md-ellipsis">
|
|
OpenRC
|
|
</span>
|
|
|
|
|
|
</a>
|
|
</li>
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
</nav>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
</nav>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
</ul>
|
|
</nav>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div class="md-sidebar md-sidebar--secondary" data-md-component="sidebar" data-md-type="toc" >
|
|
<div class="md-sidebar__scrollwrap">
|
|
<div class="md-sidebar__inner">
|
|
|
|
|
|
<nav class="md-nav md-nav--secondary" aria-label="Table of contents">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<label class="md-nav__title" for="__toc">
|
|
<span class="md-nav__icon md-icon"></span>
|
|
Table of contents
|
|
</label>
|
|
<ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#ddl" class="md-nav__link">
|
|
<span class="md-ellipsis">
|
|
DDL
|
|
</span>
|
|
</a>
|
|
|
|
<nav class="md-nav" aria-label="DDL">
|
|
<ul class="md-nav__list">
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#table-creation" class="md-nav__link">
|
|
<span class="md-ellipsis">
|
|
Table Creation
|
|
</span>
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#primary-key-from-multiple-fields" class="md-nav__link">
|
|
<span class="md-ellipsis">
|
|
PRIMARY KEY from multiple fields
|
|
</span>
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#table-field-options" class="md-nav__link">
|
|
<span class="md-ellipsis">
|
|
Table Field Options
|
|
</span>
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#table-modification" class="md-nav__link">
|
|
<span class="md-ellipsis">
|
|
Table Modification
|
|
</span>
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</nav>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#dml" class="md-nav__link">
|
|
<span class="md-ellipsis">
|
|
DML
|
|
</span>
|
|
</a>
|
|
|
|
<nav class="md-nav" aria-label="DML">
|
|
<ul class="md-nav__list">
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#data-insertion" class="md-nav__link">
|
|
<span class="md-ellipsis">
|
|
Data Insertion
|
|
</span>
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#data-update" class="md-nav__link">
|
|
<span class="md-ellipsis">
|
|
Data Update
|
|
</span>
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#data-elimination" class="md-nav__link">
|
|
<span class="md-ellipsis">
|
|
Data Elimination
|
|
</span>
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</nav>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#data-selection" class="md-nav__link">
|
|
<span class="md-ellipsis">
|
|
Data Selection
|
|
</span>
|
|
</a>
|
|
|
|
<nav class="md-nav" aria-label="Data Selection">
|
|
<ul class="md-nav__list">
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#alias" class="md-nav__link">
|
|
<span class="md-ellipsis">
|
|
Alias
|
|
</span>
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#conditional-selection" class="md-nav__link">
|
|
<span class="md-ellipsis">
|
|
Conditional Selection
|
|
</span>
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#ordering" class="md-nav__link">
|
|
<span class="md-ellipsis">
|
|
Ordering
|
|
</span>
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</nav>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#grouping" class="md-nav__link">
|
|
<span class="md-ellipsis">
|
|
Grouping
|
|
</span>
|
|
</a>
|
|
|
|
<nav class="md-nav" aria-label="Grouping">
|
|
<ul class="md-nav__list">
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#ricerca-caratteri-in-valori" class="md-nav__link">
|
|
<span class="md-ellipsis">
|
|
Ricerca caratteri in valori
|
|
</span>
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#selection-from-multiple-tables" class="md-nav__link">
|
|
<span class="md-ellipsis">
|
|
Selection from multiple tables
|
|
</span>
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</nav>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#functions" class="md-nav__link">
|
|
<span class="md-ellipsis">
|
|
Functions
|
|
</span>
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#nested-queries" class="md-nav__link">
|
|
<span class="md-ellipsis">
|
|
Nested Queries
|
|
</span>
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#new-table-from-data" class="md-nav__link">
|
|
<span class="md-ellipsis">
|
|
New table from data
|
|
</span>
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#join" class="md-nav__link">
|
|
<span class="md-ellipsis">
|
|
Join
|
|
</span>
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#multiple-join" class="md-nav__link">
|
|
<span class="md-ellipsis">
|
|
Multiple Join
|
|
</span>
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#t-sql-mssql-server" class="md-nav__link">
|
|
<span class="md-ellipsis">
|
|
T-SQL (MSSQL Server)
|
|
</span>
|
|
</a>
|
|
|
|
<nav class="md-nav" aria-label="T-SQL (MSSQL Server)">
|
|
<ul class="md-nav__list">
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#t-sql-insert-from-table" class="md-nav__link">
|
|
<span class="md-ellipsis">
|
|
T-SQL Insert From table
|
|
</span>
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#t-sql-parametric-query" class="md-nav__link">
|
|
<span class="md-ellipsis">
|
|
T-SQL Parametric Query
|
|
</span>
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#t-sql-view" class="md-nav__link">
|
|
<span class="md-ellipsis">
|
|
T-SQL View
|
|
</span>
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="md-nav__item">
|
|
<a href="#t-sql-stored-procedure" class="md-nav__link">
|
|
<span class="md-ellipsis">
|
|
T-SQL Stored Procedure
|
|
</span>
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
</nav>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</nav>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div class="md-content" data-md-component="content">
|
|
<article class="md-content__inner md-typeset">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h1 id="sql">SQL</h1>
|
|
<h2 id="ddl">DDL</h2>
|
|
<div class="highlight"><table class="highlighttable"><tr><th colspan="2" class="filename"><span class="filename">SQL</span></th></tr><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal"><a href="#__codelineno-0-1">1</a></span>
|
|
<span class="normal"><a href="#__codelineno-0-2">2</a></span>
|
|
<span class="normal"><a href="#__codelineno-0-3">3</a></span>
|
|
<span class="normal"><a href="#__codelineno-0-4">4</a></span>
|
|
<span class="normal"><a href="#__codelineno-0-5">5</a></span>
|
|
<span class="normal"><a href="#__codelineno-0-6">6</a></span>
|
|
<span class="normal"><a href="#__codelineno-0-7">7</a></span>
|
|
<span class="normal"><a href="#__codelineno-0-8">8</a></span>
|
|
<span class="normal"><a href="#__codelineno-0-9">9</a></span></pre></div></td><td class="code"><div><pre><span></span><code><a id="__codelineno-0-1" name="__codelineno-0-1"></a><span class="k">show</span><span class="w"> </span><span class="n">databases</span><span class="p">;</span><span class="w"> </span><span class="c1">-- mostra database</span>
|
|
<a id="__codelineno-0-2" name="__codelineno-0-2"></a><span class="k">CREATE</span><span class="w"> </span><span class="k">DATABASE</span><span class="w"> </span><span class="o"><</span><span class="k">database</span><span class="o">></span><span class="p">;</span><span class="w"> </span><span class="c1">-- database creation</span>
|
|
<a id="__codelineno-0-3" name="__codelineno-0-3"></a><span class="n">use</span><span class="w"> </span><span class="o"><</span><span class="n">database_name</span><span class="o">></span><span class="p">;</span><span class="w"> </span><span class="c1">-- usa un database particolare</span>
|
|
<a id="__codelineno-0-4" name="__codelineno-0-4"></a><span class="n">exit</span><span class="p">;</span><span class="w"> </span><span class="c1">-- exit mysql</span>
|
|
<a id="__codelineno-0-5" name="__codelineno-0-5"></a>
|
|
<a id="__codelineno-0-6" name="__codelineno-0-6"></a><span class="k">show</span><span class="w"> </span><span class="n">tables</span><span class="p">;</span><span class="w"> </span><span class="c1">-- mostra tabelle del database</span>
|
|
<a id="__codelineno-0-7" name="__codelineno-0-7"></a>
|
|
<a id="__codelineno-0-8" name="__codelineno-0-8"></a><span class="c1">-- INLINE COMMENT</span>
|
|
<a id="__codelineno-0-9" name="__codelineno-0-9"></a><span class="cm">/* MULTI-LINE COMMENT */</span>
|
|
</code></pre></div></td></tr></table></div>
|
|
<h3 id="table-creation">Table Creation</h3>
|
|
<div class="highlight"><table class="highlighttable"><tr><th colspan="2" class="filename"><span class="filename">SQL</span></th></tr><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal"><a href="#__codelineno-1-1">1</a></span>
|
|
<span class="normal"><a href="#__codelineno-1-2">2</a></span>
|
|
<span class="normal"><a href="#__codelineno-1-3">3</a></span></pre></div></td><td class="code"><div><pre><span></span><code><a id="__codelineno-1-1" name="__codelineno-1-1"></a><span class="k">CREATE</span><span class="w"> </span><span class="k">TABLE</span><span class="w"> </span><span class="o"><</span><span class="k">table_name</span><span class="o">></span>
|
|
<a id="__codelineno-1-2" name="__codelineno-1-2"></a><span class="w"> </span><span class="p">(</span><span class="o"><</span><span class="n">field_name</span><span class="o">></span><span class="w"> </span><span class="o"><</span><span class="n">field_type</span><span class="o">></span><span class="w"> </span><span class="o"><</span><span class="k">option</span><span class="o">></span><span class="p">,</span>
|
|
<a id="__codelineno-1-3" name="__codelineno-1-3"></a><span class="w"> </span><span class="p">...);</span>
|
|
</code></pre></div></td></tr></table></div>
|
|
<h3 id="primary-key-from-multiple-fields">PRIMARY KEY from multiple fields</h3>
|
|
<div class="highlight"><table class="highlighttable"><tr><th colspan="2" class="filename"><span class="filename">SQL</span></th></tr><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal"><a href="#__codelineno-2-1">1</a></span>
|
|
<span class="normal"><a href="#__codelineno-2-2">2</a></span>
|
|
<span class="normal"><a href="#__codelineno-2-3">3</a></span>
|
|
<span class="normal"><a href="#__codelineno-2-4">4</a></span></pre></div></td><td class="code"><div><pre><span></span><code><a id="__codelineno-2-1" name="__codelineno-2-1"></a><span class="k">CREATE</span><span class="w"> </span><span class="k">TABLE</span><span class="w"> </span><span class="o"><</span><span class="k">table_name</span><span class="o">></span><span class="p">(</span>
|
|
<a id="__codelineno-2-2" name="__codelineno-2-2"></a><span class="w"> </span><span class="p">...,</span>
|
|
<a id="__codelineno-2-3" name="__codelineno-2-3"></a><span class="w"> </span><span class="k">PRIMARY</span><span class="w"> </span><span class="k">KEY</span><span class="w"> </span><span class="p">(</span><span class="o"><</span><span class="n">field1</span><span class="o">></span><span class="p">,</span><span class="w"> </span><span class="p">...),</span>
|
|
<a id="__codelineno-2-4" name="__codelineno-2-4"></a><span class="p">);</span>
|
|
</code></pre></div></td></tr></table></div>
|
|
<h3 id="table-field-options">Table Field Options</h3>
|
|
<div class="highlight"><table class="highlighttable"><tr><th colspan="2" class="filename"><span class="filename">SQL</span></th></tr><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal"><a href="#__codelineno-3-1">1</a></span>
|
|
<span class="normal"><a href="#__codelineno-3-2">2</a></span>
|
|
<span class="normal"><a href="#__codelineno-3-3">3</a></span>
|
|
<span class="normal"><a href="#__codelineno-3-4">4</a></span>
|
|
<span class="normal"><a href="#__codelineno-3-5">5</a></span></pre></div></td><td class="code"><div><pre><span></span><code><a id="__codelineno-3-1" name="__codelineno-3-1"></a><span class="k">PRIMARY</span><span class="w"> </span><span class="k">KEY</span><span class="w"> </span><span class="c1">-- marks primary key as field option</span>
|
|
<a id="__codelineno-3-2" name="__codelineno-3-2"></a><span class="k">NOT</span><span class="w"> </span><span class="k">NULL</span><span class="w"> </span><span class="c1">-- marks a necessary field</span>
|
|
<a id="__codelineno-3-3" name="__codelineno-3-3"></a><span class="k">REFERENCES</span><span class="w"> </span><span class="o"><</span><span class="k">table</span><span class="o">></span><span class="w"> </span><span class="p">(</span><span class="o"><</span><span class="n">field</span><span class="o">></span><span class="p">)</span><span class="w"> </span><span class="c1">-- adds foreign key reference</span>
|
|
<a id="__codelineno-3-4" name="__codelineno-3-4"></a><span class="k">UNIQUE</span><span class="w"> </span><span class="p">(</span><span class="o"><</span><span class="n">field</span><span class="o">></span><span class="p">)</span><span class="w"> </span><span class="c1">-- set field as unique (MySQL)</span>
|
|
<a id="__codelineno-3-5" name="__codelineno-3-5"></a><span class="o"><</span><span class="n">field</span><span class="o">></span><span class="w"> </span><span class="k">UNIQUE</span><span class="w"> </span><span class="c1">-- T-SQL</span>
|
|
</code></pre></div></td></tr></table></div>
|
|
<h3 id="table-modification">Table Modification</h3>
|
|
<div class="highlight"><table class="highlighttable"><tr><th colspan="2" class="filename"><span class="filename">SQL</span></th></tr><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal"><a href="#__codelineno-4-1"> 1</a></span>
|
|
<span class="normal"><a href="#__codelineno-4-2"> 2</a></span>
|
|
<span class="normal"><a href="#__codelineno-4-3"> 3</a></span>
|
|
<span class="normal"><a href="#__codelineno-4-4"> 4</a></span>
|
|
<span class="normal"><a href="#__codelineno-4-5"> 5</a></span>
|
|
<span class="normal"><a href="#__codelineno-4-6"> 6</a></span>
|
|
<span class="normal"><a href="#__codelineno-4-7"> 7</a></span>
|
|
<span class="normal"><a href="#__codelineno-4-8"> 8</a></span>
|
|
<span class="normal"><a href="#__codelineno-4-9"> 9</a></span>
|
|
<span class="normal"><a href="#__codelineno-4-10">10</a></span>
|
|
<span class="normal"><a href="#__codelineno-4-11">11</a></span>
|
|
<span class="normal"><a href="#__codelineno-4-12">12</a></span>
|
|
<span class="normal"><a href="#__codelineno-4-13">13</a></span></pre></div></td><td class="code"><div><pre><span></span><code><a id="__codelineno-4-1" name="__codelineno-4-1"></a><span class="k">ALTER</span><span class="w"> </span><span class="k">TABLE</span><span class="w"> </span><span class="o"><</span><span class="k">table</span><span class="o">></span>
|
|
<a id="__codelineno-4-2" name="__codelineno-4-2"></a><span class="w"> </span><span class="k">ADD</span><span class="w"> </span><span class="k">PRIMARY</span><span class="w"> </span><span class="k">KEY</span><span class="w"> </span><span class="p">(</span><span class="o"><</span><span class="n">field</span><span class="o">></span><span class="p">,</span><span class="w"> </span><span class="p">...),</span><span class="w"> </span><span class="c1">-- definition of PK after table creation</span>
|
|
<a id="__codelineno-4-3" name="__codelineno-4-3"></a><span class="w"> </span><span class="k">ADD</span><span class="w"> </span><span class="o"><</span><span class="n">field_name</span><span class="o">></span><span class="w"> </span><span class="o"><</span><span class="n">field_type</span><span class="o">></span><span class="w"> </span><span class="o"><</span><span class="k">option</span><span class="o">></span><span class="p">;</span><span class="w"> </span><span class="c1">-- addition of a new field, field will have no value in the table</span>
|
|
<a id="__codelineno-4-4" name="__codelineno-4-4"></a>
|
|
<a id="__codelineno-4-5" name="__codelineno-4-5"></a><span class="k">ALTER</span><span class="w"> </span><span class="k">TABLE</span><span class="w"> </span><span class="o"><</span><span class="k">table</span><span class="o">></span>
|
|
<a id="__codelineno-4-6" name="__codelineno-4-6"></a><span class="w"> </span><span class="n">CHANGE</span><span class="w"> </span><span class="o"><</span><span class="n">field_name</span><span class="o">></span><span class="w"> </span><span class="o"><</span><span class="n">new_name</span><span class="o">></span><span class="w"> </span><span class="o"><</span><span class="n">new_type</span><span class="o">></span><span class="p">;</span>
|
|
<a id="__codelineno-4-7" name="__codelineno-4-7"></a><span class="w"> </span><span class="k">ALTER</span><span class="w"> </span><span class="k">COLUMN</span><span class="w"> </span><span class="o"><</span><span class="n">field_name</span><span class="o">></span><span class="w"> </span><span class="o"><</span><span class="n">new_name</span><span class="o">></span><span class="w"> </span><span class="o"><</span><span class="n">new_type</span><span class="o">></span><span class="p">;</span><span class="w"> </span><span class="c1">-- T-SQL</span>
|
|
<a id="__codelineno-4-8" name="__codelineno-4-8"></a>
|
|
<a id="__codelineno-4-9" name="__codelineno-4-9"></a><span class="k">ALTER</span><span class="w"> </span><span class="k">TABLE</span><span class="w"> </span><span class="o"><</span><span class="k">table</span><span class="o">></span>
|
|
<a id="__codelineno-4-10" name="__codelineno-4-10"></a><span class="w"> </span><span class="k">DROP</span><span class="w"> </span><span class="o"><</span><span class="n">field</span><span class="o">></span><span class="p">;</span>
|
|
<a id="__codelineno-4-11" name="__codelineno-4-11"></a>
|
|
<a id="__codelineno-4-12" name="__codelineno-4-12"></a><span class="k">ALTER</span><span class="w"> </span><span class="k">TABLE</span><span class="w"> </span><span class="o"><</span><span class="k">table</span><span class="o">></span>
|
|
<a id="__codelineno-4-13" name="__codelineno-4-13"></a><span class="w"> </span><span class="k">ADD</span><span class="w"> </span><span class="k">FOREIGN</span><span class="w"> </span><span class="k">KEY</span><span class="w"> </span><span class="p">(</span><span class="o"><</span><span class="n">field</span><span class="o">></span><span class="p">)</span><span class="w"> </span><span class="k">REFERENCES</span><span class="w"> </span><span class="o"><</span><span class="k">TABLE</span><span class="o">></span><span class="w"> </span><span class="p">(</span><span class="o"><</span><span class="n">FIELD</span><span class="o">></span><span class="p">);</span>
|
|
</code></pre></div></td></tr></table></div>
|
|
<h2 id="dml">DML</h2>
|
|
<h3 id="data-insertion">Data Insertion</h3>
|
|
<div class="highlight"><table class="highlighttable"><tr><th colspan="2" class="filename"><span class="filename">SQL</span></th></tr><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal"><a href="#__codelineno-5-1">1</a></span>
|
|
<span class="normal"><a href="#__codelineno-5-2">2</a></span></pre></div></td><td class="code"><div><pre><span></span><code><a id="__codelineno-5-1" name="__codelineno-5-1"></a><span class="k">INSERT</span><span class="w"> </span><span class="k">INTO</span><span class="w"> </span><span class="o"><</span><span class="k">table</span><span class="o">></span><span class="w"> </span><span class="p">(</span><span class="n">field_1</span><span class="p">,</span><span class="w"> </span><span class="p">...)</span><span class="w"> </span><span class="k">VALUES</span><span class="w"> </span><span class="p">(</span><span class="n">value_1</span><span class="p">,</span><span class="w"> </span><span class="p">...),</span><span class="w"> </span><span class="p">(</span><span class="n">value_1</span><span class="p">,</span><span class="w"> </span><span class="p">...);</span>
|
|
<a id="__codelineno-5-2" name="__codelineno-5-2"></a><span class="k">INSERT</span><span class="w"> </span><span class="k">INTO</span><span class="w"> </span><span class="o"><</span><span class="k">table</span><span class="o">></span><span class="w"> </span><span class="k">VALUES</span><span class="w"> </span><span class="p">(</span><span class="n">value_1</span><span class="p">,</span><span class="w"> </span><span class="p">...),</span><span class="w"> </span><span class="p">(</span><span class="n">value_1</span><span class="p">,</span><span class="w"> </span><span class="p">...);</span><span class="w"> </span><span class="c1">-- field order MUST respect tables's columns order</span>
|
|
</code></pre></div></td></tr></table></div>
|
|
<h3 id="data-update">Data Update</h3>
|
|
<div class="highlight"><table class="highlighttable"><tr><th colspan="2" class="filename"><span class="filename">SQL</span></th></tr><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal"><a href="#__codelineno-6-1">1</a></span></pre></div></td><td class="code"><div><pre><span></span><code><a id="__codelineno-6-1" name="__codelineno-6-1"></a><span class="k">UPDATE</span><span class="w"> </span><span class="o"><</span><span class="k">table</span><span class="o">></span><span class="w"> </span><span class="k">SET</span><span class="w"> </span><span class="o"><</span><span class="n">field</span><span class="o">></span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="o"><</span><span class="n">value</span><span class="o">></span><span class="p">,</span><span class="w"> </span><span class="o"><</span><span class="n">field</span><span class="o">></span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="o"><</span><span class="n">value</span><span class="o">></span><span class="p">,</span><span class="w"> </span><span class="p">...</span><span class="w"> </span><span class="k">WHERE</span><span class="w"> </span><span class="o"><</span><span class="n">condition</span><span class="o">></span><span class="p">;</span>
|
|
</code></pre></div></td></tr></table></div>
|
|
<h3 id="data-elimination">Data Elimination</h3>
|
|
<div class="highlight"><table class="highlighttable"><tr><th colspan="2" class="filename"><span class="filename">SQL</span></th></tr><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal"><a href="#__codelineno-7-1">1</a></span>
|
|
<span class="normal"><a href="#__codelineno-7-2">2</a></span></pre></div></td><td class="code"><div><pre><span></span><code><a id="__codelineno-7-1" name="__codelineno-7-1"></a><span class="k">DELETE</span><span class="w"> </span><span class="k">FROM</span><span class="w"> </span><span class="o"><</span><span class="k">table</span><span class="o">></span><span class="w"> </span><span class="k">WHERE</span><span class="w"> </span><span class="o"><</span><span class="n">condition</span><span class="o">></span>
|
|
<a id="__codelineno-7-2" name="__codelineno-7-2"></a><span class="k">DELETE</span><span class="w"> </span><span class="k">FROM</span><span class="w"> </span><span class="o"><</span><span class="k">table</span><span class="o">></span><span class="w"> </span><span class="c1">-- empty the table</span>
|
|
</code></pre></div></td></tr></table></div>
|
|
<h2 id="data-selection">Data Selection</h2>
|
|
<p><code>*</code>: denotes all table fields</p>
|
|
<div class="highlight"><table class="highlighttable"><tr><th colspan="2" class="filename"><span class="filename">SQL</span></th></tr><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal"><a href="#__codelineno-8-1">1</a></span>
|
|
<span class="normal"><a href="#__codelineno-8-2">2</a></span>
|
|
<span class="normal"><a href="#__codelineno-8-3">3</a></span></pre></div></td><td class="code"><div><pre><span></span><code><a id="__codelineno-8-1" name="__codelineno-8-1"></a><span class="k">SELECT</span><span class="w"> </span><span class="o">*</span><span class="w"> </span><span class="k">FROM</span><span class="w"> </span><span class="o"><</span><span class="k">table</span><span class="o">></span><span class="p">;</span><span class="w"> </span><span class="c1">-- show table contents</span>
|
|
<a id="__codelineno-8-2" name="__codelineno-8-2"></a><span class="k">SHOW</span><span class="w"> </span><span class="n">columns</span><span class="w"> </span><span class="k">FROM</span><span class="w"> </span><span class="o"><</span><span class="k">table</span><span class="o">></span><span class="p">;</span><span class="w"> </span><span class="c1">-- show table columns</span>
|
|
<a id="__codelineno-8-3" name="__codelineno-8-3"></a><span class="k">DESCRIBE</span><span class="w"> </span><span class="o"><</span><span class="k">table</span><span class="o">></span><span class="p">;</span><span class="w"> </span><span class="c1">-- shows table</span>
|
|
</code></pre></div></td></tr></table></div>
|
|
<h3 id="alias">Alias</h3>
|
|
<div class="highlight"><table class="highlighttable"><tr><th colspan="2" class="filename"><span class="filename">SQL</span></th></tr><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal"><a href="#__codelineno-9-1">1</a></span></pre></div></td><td class="code"><div><pre><span></span><code><a id="__codelineno-9-1" name="__codelineno-9-1"></a><span class="k">SELECT</span><span class="w"> </span><span class="o"><</span><span class="n">field</span><span class="o">></span><span class="w"> </span><span class="k">as</span><span class="w"> </span><span class="o"><</span><span class="k">alias</span><span class="o">></span><span class="p">;</span><span class="w"> </span><span class="c1">-- shows <field/funzione> with name <alias></span>
|
|
</code></pre></div></td></tr></table></div>
|
|
<h3 id="conditional-selection">Conditional Selection</h3>
|
|
<div class="highlight"><table class="highlighttable"><tr><th colspan="2" class="filename"><span class="filename">SQL</span></th></tr><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal"><a href="#__codelineno-10-1">1</a></span>
|
|
<span class="normal"><a href="#__codelineno-10-2">2</a></span>
|
|
<span class="normal"><a href="#__codelineno-10-3">3</a></span>
|
|
<span class="normal"><a href="#__codelineno-10-4">4</a></span></pre></div></td><td class="code"><div><pre><span></span><code><a id="__codelineno-10-1" name="__codelineno-10-1"></a><span class="k">SELECT</span><span class="w"> </span><span class="o">*</span><span class="w"> </span><span class="k">FROM</span><span class="w"> </span><span class="o"><</span><span class="k">table</span><span class="o">></span><span class="w"> </span><span class="k">WHERE</span><span class="w"> </span><span class="o"><</span><span class="n">condition</span><span class="o">></span><span class="p">;</span><span class="w"> </span><span class="c1">-- shows elements that satisfy the condition</span>
|
|
<a id="__codelineno-10-2" name="__codelineno-10-2"></a><span class="k">AND</span><span class="p">,</span><span class="w"> </span><span class="k">OR</span><span class="p">,</span><span class="w"> </span><span class="k">NOT</span><span class="w"> </span><span class="c1">-- logic connectors</span>
|
|
<a id="__codelineno-10-3" name="__codelineno-10-3"></a>
|
|
<a id="__codelineno-10-4" name="__codelineno-10-4"></a><span class="k">SELECT</span><span class="w"> </span><span class="o">*</span><span class="w"> </span><span class="k">FROM</span><span class="w"> </span><span class="o"><</span><span class="k">table</span><span class="o">></span><span class="w"> </span><span class="k">WHERE</span><span class="w"> </span><span class="o"><</span><span class="n">field</span><span class="o">></span><span class="w"> </span><span class="k">Between</span><span class="w"> </span><span class="o"><</span><span class="n">value_1</span><span class="o">></span><span class="w"> </span><span class="k">AND</span><span class="w"> </span><span class="o"><</span><span class="n">value_2</span><span class="o">></span><span class="p">;</span>
|
|
</code></pre></div></td></tr></table></div>
|
|
<h3 id="ordering">Ordering</h3>
|
|
<div class="highlight"><table class="highlighttable"><tr><th colspan="2" class="filename"><span class="filename">SQL</span></th></tr><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal"><a href="#__codelineno-11-1">1</a></span>
|
|
<span class="normal"><a href="#__codelineno-11-2">2</a></span>
|
|
<span class="normal"><a href="#__codelineno-11-3">3</a></span>
|
|
<span class="normal"><a href="#__codelineno-11-4">4</a></span></pre></div></td><td class="code"><div><pre><span></span><code><a id="__codelineno-11-1" name="__codelineno-11-1"></a><span class="k">SELECT</span><span class="w"> </span><span class="o">*</span><span class="w"> </span><span class="k">FROM</span><span class="w"> </span><span class="o"><</span><span class="k">table</span><span class="o">></span><span class="w"> </span><span class="k">ORDER</span><span class="w"> </span><span class="k">BY</span><span class="w"> </span><span class="o"><</span><span class="n">field</span><span class="o">></span><span class="p">,</span><span class="w"> </span><span class="p">...;</span><span class="w"> </span><span class="c1">-- shows the table ordered by <field></span>
|
|
<a id="__codelineno-11-2" name="__codelineno-11-2"></a><span class="k">SELECT</span><span class="w"> </span><span class="o">*</span><span class="w"> </span><span class="k">FROM</span><span class="w"> </span><span class="o"><</span><span class="k">table</span><span class="o">></span><span class="w"> </span><span class="k">ORDER</span><span class="w"> </span><span class="k">BY</span><span class="w"> </span><span class="o"><</span><span class="n">field</span><span class="o">></span><span class="p">,</span><span class="w"> </span><span class="p">...</span><span class="w"> </span><span class="k">DESC</span><span class="p">;</span><span class="w"> </span><span class="c1">-- shows the table ordered by <field>, decreasing order</span>
|
|
<a id="__codelineno-11-3" name="__codelineno-11-3"></a><span class="k">SELECT</span><span class="w"> </span><span class="o">*</span><span class="w"> </span><span class="k">FROM</span><span class="w"> </span><span class="o"><</span><span class="k">table</span><span class="o">></span><span class="w"> </span><span class="k">ORDER</span><span class="w"> </span><span class="k">BY</span><span class="w"> </span><span class="o"><</span><span class="n">field</span><span class="o">></span><span class="p">,</span><span class="w"> </span><span class="p">...</span><span class="w"> </span><span class="k">LIMIT</span><span class="w"> </span><span class="n">n</span><span class="p">;</span><span class="w"> </span><span class="c1">-- shows the table ordered by <field>, shows n items</span>
|
|
<a id="__codelineno-11-4" name="__codelineno-11-4"></a><span class="k">SELECT</span><span class="w"> </span><span class="n">TOP</span><span class="p">(</span><span class="n">n</span><span class="p">)</span><span class="w"> </span><span class="o">*</span><span class="w"> </span><span class="k">FROM</span><span class="w"> </span><span class="o"><</span><span class="k">table</span><span class="o">></span><span class="w"> </span><span class="k">ORDER</span><span class="w"> </span><span class="k">BY</span><span class="w"> </span><span class="o"><</span><span class="n">field</span><span class="o">></span><span class="p">,</span><span class="w"> </span><span class="p">...;</span><span class="w"> </span><span class="c1">-- T-SQL</span>
|
|
</code></pre></div></td></tr></table></div>
|
|
<h2 id="grouping">Grouping</h2>
|
|
<div class="highlight"><table class="highlighttable"><tr><th colspan="2" class="filename"><span class="filename">SQL</span></th></tr><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal"><a href="#__codelineno-12-1">1</a></span>
|
|
<span class="normal"><a href="#__codelineno-12-2">2</a></span>
|
|
<span class="normal"><a href="#__codelineno-12-3">3</a></span></pre></div></td><td class="code"><div><pre><span></span><code><a id="__codelineno-12-1" name="__codelineno-12-1"></a><span class="k">SELECT</span><span class="w"> </span><span class="o">*</span><span class="w"> </span><span class="k">FROM</span><span class="w"> </span><span class="o"><</span><span class="k">table</span><span class="o">></span><span class="w"> </span><span class="k">GROUP</span><span class="w"> </span><span class="k">BY</span><span class="w"> </span><span class="o"><</span><span class="n">field</span><span class="o">></span><span class="p">;</span>
|
|
<a id="__codelineno-12-2" name="__codelineno-12-2"></a><span class="k">SELECT</span><span class="w"> </span><span class="o">*</span><span class="w"> </span><span class="k">FROM</span><span class="w"> </span><span class="o"><</span><span class="k">table</span><span class="o">></span><span class="w"> </span><span class="k">GROUP</span><span class="w"> </span><span class="k">BY</span><span class="w"> </span><span class="o"><</span><span class="n">field</span><span class="o">></span><span class="w"> </span><span class="k">HAVING</span><span class="w"> </span><span class="o"><</span><span class="n">condition</span><span class="o">></span><span class="p">;</span>
|
|
<a id="__codelineno-12-3" name="__codelineno-12-3"></a><span class="k">SELECT</span><span class="w"> </span><span class="k">DISTINCT</span><span class="w"> </span><span class="o"><</span><span class="n">field</span><span class="o">></span><span class="w"> </span><span class="k">FROM</span><span class="w"> </span><span class="o"><</span><span class="k">table</span><span class="o">></span><span class="p">;</span><span class="w"> </span><span class="c1">-- shows elements without repetitions</span>
|
|
</code></pre></div></td></tr></table></div>
|
|
<h3 id="ricerca-caratteri-in-valori">Ricerca caratteri in valori</h3>
|
|
<p><code>%</code>: any number of characters</p>
|
|
<div class="highlight"><table class="highlighttable"><tr><th colspan="2" class="filename"><span class="filename">SQL</span></th></tr><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal"><a href="#__codelineno-13-1">1</a></span>
|
|
<span class="normal"><a href="#__codelineno-13-2">2</a></span>
|
|
<span class="normal"><a href="#__codelineno-13-3">3</a></span>
|
|
<span class="normal"><a href="#__codelineno-13-4">4</a></span></pre></div></td><td class="code"><div><pre><span></span><code><a id="__codelineno-13-1" name="__codelineno-13-1"></a><span class="k">SELECT</span><span class="w"> </span><span class="o">*</span><span class="w"> </span><span class="k">FROM</span><span class="w"> </span><span class="o"><</span><span class="k">table</span><span class="o">></span><span class="w"> </span><span class="k">WHERE</span><span class="w"> </span><span class="o"><</span><span class="n">field</span><span class="o">></span><span class="w"> </span><span class="k">LIKE</span><span class="w"> </span><span class="s1">'<char>%'</span><span class="p">;</span><span class="w"> </span><span class="c1">-- selects items in <field> that start with <char></span>
|
|
<a id="__codelineno-13-2" name="__codelineno-13-2"></a><span class="k">SELECT</span><span class="w"> </span><span class="o">*</span><span class="w"> </span><span class="k">FROM</span><span class="w"> </span><span class="o"><</span><span class="k">table</span><span class="o">></span><span class="w"> </span><span class="k">WHERE</span><span class="w"> </span><span class="o"><</span><span class="n">field</span><span class="o">></span><span class="w"> </span><span class="k">LIKE</span><span class="w"> </span><span class="s1">'%<char>'</span><span class="p">;</span><span class="w"> </span><span class="c1">-- selects items in <field> that end with <char></span>
|
|
<a id="__codelineno-13-3" name="__codelineno-13-3"></a><span class="k">SELECT</span><span class="w"> </span><span class="o">*</span><span class="w"> </span><span class="k">FROM</span><span class="w"> </span><span class="o"><</span><span class="k">table</span><span class="o">></span><span class="w"> </span><span class="k">WHERE</span><span class="w"> </span><span class="o"><</span><span class="n">field</span><span class="o">></span><span class="w"> </span><span class="k">LIKE</span><span class="w"> </span><span class="s1">'%<char>%'</span><span class="p">;</span><span class="w"> </span><span class="c1">-- selects items in <field> that contain <char></span>
|
|
<a id="__codelineno-13-4" name="__codelineno-13-4"></a><span class="k">SELECT</span><span class="w"> </span><span class="o">*</span><span class="w"> </span><span class="k">FROM</span><span class="w"> </span><span class="o"><</span><span class="k">table</span><span class="o">></span><span class="w"> </span><span class="k">WHERE</span><span class="w"> </span><span class="o"><</span><span class="n">field</span><span class="o">></span><span class="w"> </span><span class="k">NOT</span><span class="w"> </span><span class="k">LIKE</span><span class="w"> </span><span class="s1">'%<char>%'</span><span class="p">;</span><span class="w"> </span><span class="c1">-- selects items in <field> that do not contain <char></span>
|
|
</code></pre></div></td></tr></table></div>
|
|
<h3 id="selection-from-multiple-tables">Selection from multiple tables</h3>
|
|
<div class="highlight"><table class="highlighttable"><tr><th colspan="2" class="filename"><span class="filename">SQL</span></th></tr><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal"><a href="#__codelineno-14-1">1</a></span>
|
|
<span class="normal"><a href="#__codelineno-14-2">2</a></span></pre></div></td><td class="code"><div><pre><span></span><code><a id="__codelineno-14-1" name="__codelineno-14-1"></a><span class="k">SELECT</span><span class="w"> </span><span class="n">a</span><span class="p">.</span><span class="o"><</span><span class="n">field</span><span class="o">></span><span class="p">,</span><span class="w"> </span><span class="n">b</span><span class="p">.</span><span class="o"><</span><span class="n">field</span><span class="o">></span><span class="w"> </span><span class="k">FROM</span><span class="w"> </span><span class="o"><</span><span class="k">table</span><span class="o">></span><span class="w"> </span><span class="k">AS</span><span class="w"> </span><span class="n">a</span><span class="p">,</span><span class="w"> </span><span class="o"><</span><span class="k">table</span><span class="o">></span><span class="w"> </span><span class="k">AS</span><span class="w"> </span><span class="n">b</span>
|
|
<a id="__codelineno-14-2" name="__codelineno-14-2"></a><span class="w"> </span><span class="k">WHERE</span><span class="w"> </span><span class="n">a</span><span class="p">.</span><span class="o"><</span><span class="n">field</span><span class="o">></span><span class="w"> </span><span class="p">...;</span>
|
|
</code></pre></div></td></tr></table></div>
|
|
<h2 id="functions">Functions</h2>
|
|
<div class="highlight"><table class="highlighttable"><tr><th colspan="2" class="filename"><span class="filename">SQL</span></th></tr><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal"><a href="#__codelineno-15-1">1</a></span>
|
|
<span class="normal"><a href="#__codelineno-15-2">2</a></span>
|
|
<span class="normal"><a href="#__codelineno-15-3">3</a></span>
|
|
<span class="normal"><a href="#__codelineno-15-4">4</a></span>
|
|
<span class="normal"><a href="#__codelineno-15-5">5</a></span>
|
|
<span class="normal"><a href="#__codelineno-15-6">6</a></span></pre></div></td><td class="code"><div><pre><span></span><code><a id="__codelineno-15-1" name="__codelineno-15-1"></a><span class="k">SELECT</span><span class="w"> </span><span class="k">COUNT</span><span class="p">(</span><span class="o">*</span><span class="p">)</span><span class="w"> </span><span class="k">FROM</span><span class="w"> </span><span class="o"><</span><span class="n">field</span><span class="o">></span><span class="p">;</span><span class="w"> </span><span class="c1">-- count of items in <field></span>
|
|
<a id="__codelineno-15-2" name="__codelineno-15-2"></a><span class="k">SELECT</span><span class="w"> </span><span class="k">MIN</span><span class="p">(</span><span class="o">*</span><span class="p">)</span><span class="w"> </span><span class="k">FROM</span><span class="w"> </span><span class="o"><</span><span class="k">table</span><span class="o">></span><span class="p">;</span><span class="w"> </span><span class="c1">-- min value</span>
|
|
<a id="__codelineno-15-3" name="__codelineno-15-3"></a><span class="k">SELECT</span><span class="w"> </span><span class="k">MAX</span><span class="p">(</span><span class="o">*</span><span class="p">)</span><span class="w"> </span><span class="k">FROM</span><span class="w"> </span><span class="o"><</span><span class="k">table</span><span class="o">></span><span class="p">;</span><span class="w"> </span><span class="c1">-- max value</span>
|
|
<a id="__codelineno-15-4" name="__codelineno-15-4"></a><span class="k">SELECT</span><span class="w"> </span><span class="k">AVG</span><span class="p">(</span><span class="o">*</span><span class="p">)</span><span class="w"> </span><span class="k">FROM</span><span class="w"> </span><span class="o"><</span><span class="k">table</span><span class="o">></span><span class="p">;</span><span class="w"> </span><span class="c1">-- mean of values</span>
|
|
<a id="__codelineno-15-5" name="__codelineno-15-5"></a><span class="k">ALL</span><span class="w"> </span><span class="p">(</span><span class="k">SELECT</span><span class="w"> </span><span class="p">...)</span>
|
|
<a id="__codelineno-15-6" name="__codelineno-15-6"></a><span class="k">ANY</span><span class="w"> </span><span class="p">(</span><span class="k">SELECT</span><span class="w"> </span><span class="p">...)</span>
|
|
</code></pre></div></td></tr></table></div>
|
|
<h2 id="nested-queries">Nested Queries</h2>
|
|
<div class="highlight"><table class="highlighttable"><tr><th colspan="2" class="filename"><span class="filename">SQL</span></th></tr><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal"><a href="#__codelineno-16-1">1</a></span>
|
|
<span class="normal"><a href="#__codelineno-16-2">2</a></span></pre></div></td><td class="code"><div><pre><span></span><code><a id="__codelineno-16-1" name="__codelineno-16-1"></a><span class="k">SELECT</span><span class="w"> </span><span class="o">*</span><span class="w"> </span><span class="k">FROM</span><span class="w"> </span><span class="o"><</span><span class="k">table</span><span class="o">></span><span class="w"> </span><span class="k">WHERE</span><span class="w"> </span><span class="k">EXISTS</span><span class="w"> </span><span class="p">(</span><span class="k">SELECT</span><span class="w"> </span><span class="o">*</span><span class="w"> </span><span class="k">FROM</span><span class="w"> </span><span class="o"><</span><span class="k">table</span><span class="o">></span><span class="p">)</span><span class="w"> </span><span class="c1">-- selected field existing in subquery</span>
|
|
<a id="__codelineno-16-2" name="__codelineno-16-2"></a><span class="k">SELECT</span><span class="w"> </span><span class="o">*</span><span class="w"> </span><span class="k">FROM</span><span class="w"> </span><span class="o"><</span><span class="k">table</span><span class="o">></span><span class="w"> </span><span class="k">WHERE</span><span class="w"> </span><span class="k">NOT</span><span class="w"> </span><span class="k">EXISTS</span><span class="w"> </span><span class="p">(</span><span class="k">SELECT</span><span class="w"> </span><span class="o">*</span><span class="w"> </span><span class="k">FROM</span><span class="w"> </span><span class="o"><</span><span class="k">table</span><span class="o">></span><span class="p">)</span><span class="w"> </span><span class="c1">-- selected field not existing in subquery</span>
|
|
</code></pre></div></td></tr></table></div>
|
|
<h2 id="new-table-from-data">New table from data</h2>
|
|
<p>Create new table with necessary fields:</p>
|
|
<div class="highlight"><table class="highlighttable"><tr><th colspan="2" class="filename"><span class="filename">SQL</span></th></tr><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal"><a href="#__codelineno-17-1">1</a></span>
|
|
<span class="normal"><a href="#__codelineno-17-2">2</a></span>
|
|
<span class="normal"><a href="#__codelineno-17-3">3</a></span>
|
|
<span class="normal"><a href="#__codelineno-17-4">4</a></span></pre></div></td><td class="code"><div><pre><span></span><code><a id="__codelineno-17-1" name="__codelineno-17-1"></a><span class="k">CREATE</span><span class="w"> </span><span class="k">TABLE</span><span class="w"> </span><span class="o"><</span><span class="k">table</span><span class="o">></span><span class="w"> </span><span class="p">(</span>
|
|
<a id="__codelineno-17-2" name="__codelineno-17-2"></a><span class="w"> </span><span class="p">(</span><span class="o"><</span><span class="n">field_name</span><span class="o">></span><span class="w"> </span><span class="o"><</span><span class="n">field_type</span><span class="o">></span><span class="w"> </span><span class="o"><</span><span class="k">option</span><span class="o">></span><span class="p">,</span>
|
|
<a id="__codelineno-17-3" name="__codelineno-17-3"></a><span class="w"> </span><span class="p">...);</span>
|
|
<a id="__codelineno-17-4" name="__codelineno-17-4"></a><span class="p">)</span>
|
|
</code></pre></div></td></tr></table></div>
|
|
<p>Fill fields with data from table:</p>
|
|
<div class="highlight"><table class="highlighttable"><tr><th colspan="2" class="filename"><span class="filename">SQL</span></th></tr><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal"><a href="#__codelineno-18-1">1</a></span>
|
|
<span class="normal"><a href="#__codelineno-18-2">2</a></span></pre></div></td><td class="code"><div><pre><span></span><code><a id="__codelineno-18-1" name="__codelineno-18-1"></a><span class="k">INSERT</span><span class="w"> </span><span class="k">INTO</span><span class="w"> </span><span class="o"><</span><span class="k">table</span><span class="o">></span>
|
|
<a id="__codelineno-18-2" name="__codelineno-18-2"></a><span class="w"> </span><span class="k">SELECT</span><span class="w"> </span><span class="o"><</span><span class="n">fields</span><span class="o">></span><span class="w"> </span><span class="k">FROM</span><span class="w"> </span><span class="o"><</span><span class="k">TABLE</span><span class="o">></span><span class="w"> </span><span class="k">WHERE</span><span class="w"> </span><span class="o"><</span><span class="n">condition</span><span class="o">></span><span class="p">;</span>
|
|
</code></pre></div></td></tr></table></div>
|
|
<h2 id="join">Join</h2>
|
|
<div class="highlight"><table class="highlighttable"><tr><th colspan="2" class="filename"><span class="filename">SQL</span></th></tr><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal"><a href="#__codelineno-19-1">1</a></span>
|
|
<span class="normal"><a href="#__codelineno-19-2">2</a></span>
|
|
<span class="normal"><a href="#__codelineno-19-3">3</a></span></pre></div></td><td class="code"><div><pre><span></span><code><a id="__codelineno-19-1" name="__codelineno-19-1"></a><span class="k">SELECT</span><span class="w"> </span><span class="o">*</span><span class="w"> </span><span class="k">FROM</span><span class="w"> </span><span class="o"><</span><span class="n">table1</span><span class="o">></span><span class="w"> </span><span class="k">JOIN</span><span class="w"> </span><span class="o"><</span><span class="n">table2</span><span class="o">></span><span class="w"> </span><span class="k">ON</span><span class="w"> </span><span class="o"><</span><span class="n">table1</span><span class="o">></span><span class="p">.</span><span class="o"><</span><span class="n">field</span><span class="o">></span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="o"><</span><span class="n">table2</span><span class="o">></span><span class="p">.</span><span class="o"><</span><span class="n">field</span><span class="o">></span><span class="p">;</span>
|
|
<a id="__codelineno-19-2" name="__codelineno-19-2"></a><span class="k">SELECT</span><span class="w"> </span><span class="o">*</span><span class="w"> </span><span class="k">FROM</span><span class="w"> </span><span class="o"><</span><span class="n">table1</span><span class="o">></span><span class="w"> </span><span class="k">LEFT</span><span class="w"> </span><span class="k">JOIN</span><span class="w"> </span><span class="o"><</span><span class="n">table2</span><span class="o">></span><span class="w"> </span><span class="k">ON</span><span class="w"> </span><span class="o"><</span><span class="n">condition</span><span class="o">></span><span class="p">;</span>
|
|
<a id="__codelineno-19-3" name="__codelineno-19-3"></a><span class="k">SELECT</span><span class="w"> </span><span class="o">*</span><span class="w"> </span><span class="k">FROM</span><span class="w"> </span><span class="o"><</span><span class="n">table1</span><span class="o">></span><span class="w"> </span><span class="k">RIGHT</span><span class="w"> </span><span class="k">JOIN</span><span class="w"> </span><span class="o"><</span><span class="n">table2</span><span class="o">></span><span class="w"> </span><span class="k">ON</span><span class="w"> </span><span class="o"><</span><span class="n">condition</span><span class="o">></span>
|
|
</code></pre></div></td></tr></table></div>
|
|
<p><a href="https://www.diffen.com/difference/Inner_Join_vs_Outer_Join">Inner Join, Left Join, Right Join, Full Outer Join</a></p>
|
|
<h2 id="multiple-join">Multiple Join</h2>
|
|
<div class="highlight"><table class="highlighttable"><tr><th colspan="2" class="filename"><span class="filename">SQL</span></th></tr><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal"><a href="#__codelineno-20-1">1</a></span>
|
|
<span class="normal"><a href="#__codelineno-20-2">2</a></span>
|
|
<span class="normal"><a href="#__codelineno-20-3">3</a></span></pre></div></td><td class="code"><div><pre><span></span><code><a id="__codelineno-20-1" name="__codelineno-20-1"></a><span class="k">SELECT</span><span class="w"> </span><span class="o">*</span><span class="w"> </span><span class="k">FROM</span><span class="w"> </span><span class="o"><</span><span class="n">table1</span><span class="o">></span>
|
|
<a id="__codelineno-20-2" name="__codelineno-20-2"></a><span class="k">JOIN</span><span class="w"> </span><span class="o"><</span><span class="n">table2</span><span class="o">></span><span class="w"> </span><span class="k">ON</span><span class="w"> </span><span class="o"><</span><span class="n">table1</span><span class="o">></span><span class="p">.</span><span class="o"><</span><span class="n">field</span><span class="o">></span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="o"><</span><span class="n">table2</span><span class="o">></span><span class="p">.</span><span class="o"><</span><span class="n">field</span><span class="o">></span>
|
|
<a id="__codelineno-20-3" name="__codelineno-20-3"></a><span class="k">JOIN</span><span class="w"> </span><span class="o"><</span><span class="n">table3</span><span class="o">></span><span class="w"> </span><span class="k">ON</span><span class="w"> </span><span class="o"><</span><span class="n">table2</span><span class="o">></span><span class="p">.</span><span class="o"><</span><span class="n">field</span><span class="o">></span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="o"><</span><span class="n">table3</span><span class="o">></span><span class="p">.</span><span class="o"><</span><span class="n">field</span><span class="o">></span><span class="p">;</span>
|
|
</code></pre></div></td></tr></table></div>
|
|
<p><a href="https://stackoverflow.com/questions/176514/what-is-the-difference-between-char-nchar-varchar-and-nvarchar-in-sql-server">char, nchar, varchar, nvarchar</a></p>
|
|
<hr />
|
|
<h2 id="t-sql-mssql-server">T-SQL (MSSQL Server)</h2>
|
|
<h3 id="t-sql-insert-from-table">T-SQL Insert From table</h3>
|
|
<div class="highlight"><table class="highlighttable"><tr><th colspan="2" class="filename"><span class="filename">SQL</span></th></tr><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal"><a href="#__codelineno-21-1">1</a></span>
|
|
<span class="normal"><a href="#__codelineno-21-2">2</a></span>
|
|
<span class="normal"><a href="#__codelineno-21-3">3</a></span>
|
|
<span class="normal"><a href="#__codelineno-21-4">4</a></span>
|
|
<span class="normal"><a href="#__codelineno-21-5">5</a></span>
|
|
<span class="normal"><a href="#__codelineno-21-6">6</a></span>
|
|
<span class="normal"><a href="#__codelineno-21-7">7</a></span>
|
|
<span class="normal"><a href="#__codelineno-21-8">8</a></span>
|
|
<span class="normal"><a href="#__codelineno-21-9">9</a></span></pre></div></td><td class="code"><div><pre><span></span><code><a id="__codelineno-21-1" name="__codelineno-21-1"></a><span class="n">USE</span><span class="w"> </span><span class="p">[</span><span class="o"><</span><span class="n">db_name</span><span class="o">></span><span class="p">]</span>
|
|
<a id="__codelineno-21-2" name="__codelineno-21-2"></a>
|
|
<a id="__codelineno-21-3" name="__codelineno-21-3"></a><span class="k">SET</span><span class="w"> </span><span class="n">IDENTITY_INSERT</span><span class="w"> </span><span class="p">[</span><span class="o"><</span><span class="n">destination_table</span><span class="o">></span><span class="p">]</span><span class="w"> </span><span class="k">ON</span>
|
|
<a id="__codelineno-21-4" name="__codelineno-21-4"></a>
|
|
<a id="__codelineno-21-5" name="__codelineno-21-5"></a><span class="k">INSERT</span><span class="w"> </span><span class="k">INTO</span><span class="w"> </span><span class="o"><</span><span class="k">table</span><span class="o">></span><span class="w"> </span><span class="p">(</span><span class="n">field_1</span><span class="p">,</span><span class="w"> </span><span class="p">...)</span>
|
|
<a id="__codelineno-21-6" name="__codelineno-21-6"></a>
|
|
<a id="__codelineno-21-7" name="__codelineno-21-7"></a><span class="k">SELECT</span><span class="w"> </span><span class="p">(</span><span class="n">field_1</span><span class="p">,</span><span class="w"> </span><span class="p">...)</span><span class="w"> </span><span class="k">FROM</span><span class="w"> </span><span class="o"><</span><span class="n">source_table</span><span class="o">></span>
|
|
<a id="__codelineno-21-8" name="__codelineno-21-8"></a>
|
|
<a id="__codelineno-21-9" name="__codelineno-21-9"></a><span class="k">SET</span><span class="w"> </span><span class="n">IDENTITY_INSERT</span><span class="w"> </span><span class="p">[</span><span class="o"><</span><span class="n">destination_table</span><span class="o">></span><span class="p">]</span><span class="w"> </span><span class="k">OFF</span>
|
|
</code></pre></div></td></tr></table></div>
|
|
<h3 id="t-sql-parametric-query">T-SQL Parametric Query</h3>
|
|
<div class="highlight"><table class="highlighttable"><tr><th colspan="2" class="filename"><span class="filename">SQL</span></th></tr><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal"><a href="#__codelineno-22-1"> 1</a></span>
|
|
<span class="normal"><a href="#__codelineno-22-2"> 2</a></span>
|
|
<span class="normal"><a href="#__codelineno-22-3"> 3</a></span>
|
|
<span class="normal"><a href="#__codelineno-22-4"> 4</a></span>
|
|
<span class="normal"><a href="#__codelineno-22-5"> 5</a></span>
|
|
<span class="normal"><a href="#__codelineno-22-6"> 6</a></span>
|
|
<span class="normal"><a href="#__codelineno-22-7"> 7</a></span>
|
|
<span class="normal"><a href="#__codelineno-22-8"> 8</a></span>
|
|
<span class="normal"><a href="#__codelineno-22-9"> 9</a></span>
|
|
<span class="normal"><a href="#__codelineno-22-10">10</a></span>
|
|
<span class="normal"><a href="#__codelineno-22-11">11</a></span>
|
|
<span class="normal"><a href="#__codelineno-22-12">12</a></span>
|
|
<span class="normal"><a href="#__codelineno-22-13">13</a></span>
|
|
<span class="normal"><a href="#__codelineno-22-14">14</a></span></pre></div></td><td class="code"><div><pre><span></span><code><a id="__codelineno-22-1" name="__codelineno-22-1"></a><span class="c1">-- variable declaration</span>
|
|
<a id="__codelineno-22-2" name="__codelineno-22-2"></a><span class="k">DECLARE</span><span class="w"> </span><span class="o">@</span><span class="n">var_name</span><span class="w"> </span><span class="o"><</span><span class="k">type</span><span class="o">></span>
|
|
<a id="__codelineno-22-3" name="__codelineno-22-3"></a>
|
|
<a id="__codelineno-22-4" name="__codelineno-22-4"></a><span class="c1">-- init variable (input parameter)</span>
|
|
<a id="__codelineno-22-5" name="__codelineno-22-5"></a><span class="k">SET</span><span class="w"> </span><span class="o">@</span><span class="n">var_name</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="o"><</span><span class="n">value</span><span class="o">></span>
|
|
<a id="__codelineno-22-6" name="__codelineno-22-6"></a>
|
|
<a id="__codelineno-22-7" name="__codelineno-22-7"></a><span class="c1">-- use in query (memorize data)</span>
|
|
<a id="__codelineno-22-8" name="__codelineno-22-8"></a><span class="k">SELECT</span><span class="w"> </span><span class="o">@</span><span class="n">var_name</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="k">COUNT</span><span class="p">(</span><span class="o">*</span><span class="p">)</span><span class="w"> </span><span class="c1">-- query won't show results in the "table view" since param is used in SELECT</span>
|
|
<a id="__codelineno-22-9" name="__codelineno-22-9"></a><span class="k">FROM</span><span class="w"> </span><span class="o"><</span><span class="k">table</span><span class="o">></span><span class="w"> </span><span class="p">...</span>
|
|
<a id="__codelineno-22-10" name="__codelineno-22-10"></a>
|
|
<a id="__codelineno-22-11" name="__codelineno-22-11"></a><span class="c1">-- display message (query won't show results in the "table view")</span>
|
|
<a id="__codelineno-22-12" name="__codelineno-22-12"></a><span class="n">PRINT</span><span class="w"> </span><span class="s1">'Text: '</span><span class="w"> </span><span class="o">+</span><span class="w"> </span><span class="o">@</span><span class="n">var_name</span>
|
|
<a id="__codelineno-22-13" name="__codelineno-22-13"></a><span class="n">PRINT</span><span class="w"> </span><span class="s1">'Text: '</span><span class="w"> </span><span class="o">+</span><span class="w"> </span><span class="k">CONVERT</span><span class="p">(</span><span class="k">type</span><span class="p">,</span><span class="w"> </span><span class="o">@</span><span class="n">var_name</span><span class="p">)</span><span class="w"> </span><span class="c1">-- convert data before printing</span>
|
|
<a id="__codelineno-22-14" name="__codelineno-22-14"></a><span class="k">GO</span>
|
|
</code></pre></div></td></tr></table></div>
|
|
<h3 id="t-sql-view">T-SQL View</h3>
|
|
<p>A view represents a virtual table. Join multiple tables in a view and use the view to present the data as if the data were coming from a single table.</p>
|
|
<div class="highlight"><table class="highlighttable"><tr><th colspan="2" class="filename"><span class="filename">SQL</span></th></tr><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal"><a href="#__codelineno-23-1">1</a></span>
|
|
<span class="normal"><a href="#__codelineno-23-2">2</a></span></pre></div></td><td class="code"><div><pre><span></span><code><a id="__codelineno-23-1" name="__codelineno-23-1"></a><span class="k">CREATE</span><span class="w"> </span><span class="k">VIEW</span><span class="w"> </span><span class="o"><</span><span class="n">name</span><span class="o">></span><span class="w"> </span><span class="k">AS</span>
|
|
<a id="__codelineno-23-2" name="__codelineno-23-2"></a><span class="k">SELECT</span><span class="w"> </span><span class="o">*</span><span class="w"> </span><span class="k">FROM</span><span class="w"> </span><span class="o"><</span><span class="k">table</span><span class="o">></span><span class="w"> </span><span class="p">...</span>
|
|
</code></pre></div></td></tr></table></div>
|
|
<h3 id="t-sql-stored-procedure">T-SQL Stored Procedure</h3>
|
|
<p><a href="https://docs.microsoft.com/en-us/sql/relational-databases/stored-procedures/create-a-stored-procedure" title="Create a Stored Procedure - Microsoft Docs">Stored Procedure How-To</a>
|
|
<a href="https://docs.microsoft.com/en-us/sql/t-sql/statements/create-procedure-transact-sql">T-SQL Stored Procedure</a></p>
|
|
<p>Stored Procedure Definition:</p>
|
|
<div class="highlight"><table class="highlighttable"><tr><th colspan="2" class="filename"><span class="filename">SQL</span></th></tr><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal"><a href="#__codelineno-24-1"> 1</a></span>
|
|
<span class="normal"><a href="#__codelineno-24-2"> 2</a></span>
|
|
<span class="normal"><a href="#__codelineno-24-3"> 3</a></span>
|
|
<span class="normal"><a href="#__codelineno-24-4"> 4</a></span>
|
|
<span class="normal"><a href="#__codelineno-24-5"> 5</a></span>
|
|
<span class="normal"><a href="#__codelineno-24-6"> 6</a></span>
|
|
<span class="normal"><a href="#__codelineno-24-7"> 7</a></span>
|
|
<span class="normal"><a href="#__codelineno-24-8"> 8</a></span>
|
|
<span class="normal"><a href="#__codelineno-24-9"> 9</a></span>
|
|
<span class="normal"><a href="#__codelineno-24-10">10</a></span>
|
|
<span class="normal"><a href="#__codelineno-24-11">11</a></span>
|
|
<span class="normal"><a href="#__codelineno-24-12">12</a></span>
|
|
<span class="normal"><a href="#__codelineno-24-13">13</a></span></pre></div></td><td class="code"><div><pre><span></span><code><a id="__codelineno-24-1" name="__codelineno-24-1"></a><span class="k">CREATE</span><span class="w"> </span><span class="k">PROCEDURE</span><span class="w"> </span><span class="o"><</span><span class="n">Procedure_Name</span><span class="o">></span>
|
|
<a id="__codelineno-24-2" name="__codelineno-24-2"></a><span class="w"> </span><span class="c1">-- Add the parameters for the stored procedure here</span>
|
|
<a id="__codelineno-24-3" name="__codelineno-24-3"></a><span class="w"> </span><span class="o"><@</span><span class="n">Param1</span><span class="o">></span><span class="w"> </span><span class="o"><</span><span class="n">Datatype_For_Param1</span><span class="o">></span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="o"><</span><span class="n">Default_Value_For_Param1</span><span class="o">></span><span class="p">,</span>
|
|
<a id="__codelineno-24-4" name="__codelineno-24-4"></a><span class="w"> </span><span class="o"><@</span><span class="n">Param2</span><span class="o">></span><span class="w"> </span><span class="o"><</span><span class="n">Datatype_For_Param2</span><span class="o">></span>
|
|
<a id="__codelineno-24-5" name="__codelineno-24-5"></a><span class="k">AS</span>
|
|
<a id="__codelineno-24-6" name="__codelineno-24-6"></a><span class="k">BEGIN</span>
|
|
<a id="__codelineno-24-7" name="__codelineno-24-7"></a><span class="w"> </span><span class="c1">-- SET NOCOUNT ON added to prevent extra result sets from interfering with SELECT statements.</span>
|
|
<a id="__codelineno-24-8" name="__codelineno-24-8"></a><span class="w"> </span><span class="k">SET</span><span class="w"> </span><span class="n">NOCOUNT</span><span class="w"> </span><span class="k">ON</span><span class="p">;</span><span class="w"> </span><span class="c1">-- don't return number of selected rows</span>
|
|
<a id="__codelineno-24-9" name="__codelineno-24-9"></a>
|
|
<a id="__codelineno-24-10" name="__codelineno-24-10"></a><span class="w"> </span><span class="c1">-- Insert statements for procedure here</span>
|
|
<a id="__codelineno-24-11" name="__codelineno-24-11"></a><span class="w"> </span><span class="k">SELECT</span><span class="w"> </span><span class="p">...</span>
|
|
<a id="__codelineno-24-12" name="__codelineno-24-12"></a><span class="k">END</span>
|
|
<a id="__codelineno-24-13" name="__codelineno-24-13"></a><span class="k">GO</span>
|
|
</code></pre></div></td></tr></table></div>
|
|
<p>Stored Procedure call in query:</p>
|
|
<div class="highlight"><table class="highlighttable"><tr><th colspan="2" class="filename"><span class="filename">SQL</span></th></tr><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal"><a href="#__codelineno-25-1">1</a></span>
|
|
<span class="normal"><a href="#__codelineno-25-2">2</a></span>
|
|
<span class="normal"><a href="#__codelineno-25-3">3</a></span>
|
|
<span class="normal"><a href="#__codelineno-25-4">4</a></span>
|
|
<span class="normal"><a href="#__codelineno-25-5">5</a></span>
|
|
<span class="normal"><a href="#__codelineno-25-6">6</a></span>
|
|
<span class="normal"><a href="#__codelineno-25-7">7</a></span></pre></div></td><td class="code"><div><pre><span></span><code><a id="__codelineno-25-1" name="__codelineno-25-1"></a><span class="n">USE</span><span class="w"> </span><span class="o"><</span><span class="k">database</span><span class="o">></span>
|
|
<a id="__codelineno-25-2" name="__codelineno-25-2"></a><span class="k">GO</span>
|
|
<a id="__codelineno-25-3" name="__codelineno-25-3"></a>
|
|
<a id="__codelineno-25-4" name="__codelineno-25-4"></a><span class="c1">-- Stored Procedure call</span>
|
|
<a id="__codelineno-25-5" name="__codelineno-25-5"></a><span class="k">EXECUTE</span><span class="w"> </span><span class="o"><</span><span class="n">Procedure_Name</span><span class="o">></span>
|
|
<a id="__codelineno-25-6" name="__codelineno-25-6"></a><span class="c1">-- or</span>
|
|
<a id="__codelineno-25-7" name="__codelineno-25-7"></a><span class="k">EXEC</span><span class="w"> </span><span class="o"><</span><span class="n">Procedure_Name</span><span class="o">></span>
|
|
</code></pre></div></td></tr></table></div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
</div>
|
|
|
|
|
|
<script>var target=document.getElementById(location.hash.slice(1));target&&target.name&&(target.checked=target.name.startsWith("__tabbed_"))</script>
|
|
</div>
|
|
|
|
<button type="button" class="md-top md-icon" data-md-component="top" hidden>
|
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M13 20h-2V8l-5.5 5.5-1.42-1.42L12 4.16l7.92 7.92-1.42 1.42L13 8z"/></svg>
|
|
Back to top
|
|
</button>
|
|
|
|
</main>
|
|
|
|
<footer class="md-footer">
|
|
|
|
|
|
|
|
<nav class="md-footer__inner md-grid" aria-label="Footer" >
|
|
|
|
|
|
<a href="redis.html" class="md-footer__link md-footer__link--prev" aria-label="Previous: Redis">
|
|
<div class="md-footer__button md-icon">
|
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11z"/></svg>
|
|
</div>
|
|
<div class="md-footer__title">
|
|
<span class="md-footer__direction">
|
|
Previous
|
|
</span>
|
|
<div class="md-ellipsis">
|
|
Redis
|
|
</div>
|
|
</div>
|
|
</a>
|
|
|
|
|
|
|
|
<a href="mongo-db.html" class="md-footer__link md-footer__link--next" aria-label="Next: MongoDB">
|
|
<div class="md-footer__title">
|
|
<span class="md-footer__direction">
|
|
Next
|
|
</span>
|
|
<div class="md-ellipsis">
|
|
MongoDB
|
|
</div>
|
|
</div>
|
|
<div class="md-footer__button md-icon">
|
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M4 11v2h12l-5.5 5.5 1.42 1.42L19.84 12l-7.92-7.92L10.5 5.5 16 11z"/></svg>
|
|
</div>
|
|
</a>
|
|
|
|
</nav>
|
|
|
|
|
|
<div class="md-footer-meta md-typeset">
|
|
<div class="md-footer-meta__inner md-grid">
|
|
<div class="md-copyright">
|
|
|
|
<div class="md-copyright__highlight">
|
|
MIT
|
|
</div>
|
|
|
|
|
|
Made with
|
|
<a href="https://squidfunk.github.io/mkdocs-material/" target="_blank" rel="noopener">
|
|
Material for MkDocs
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<div class="md-social">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a href="https://hachyderm.io/@m_lamonaca" target="_blank" rel="noopener me" title="hachyderm.io" class="md-social__link">
|
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--! Font Awesome Free 6.6.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2024 Fonticons, Inc.--><path d="M433 179.11c0-97.2-63.71-125.7-63.71-125.7-62.52-28.7-228.56-28.4-290.48 0 0 0-63.72 28.5-63.72 125.7 0 115.7-6.6 259.4 105.63 289.1 40.51 10.7 75.32 13 103.33 11.4 50.81-2.8 79.32-18.1 79.32-18.1l-1.7-36.9s-36.31 11.4-77.12 10.1c-40.41-1.4-83-4.4-89.63-54a102.5 102.5 0 0 1-.9-13.9c85.63 20.9 158.65 9.1 178.75 6.7 56.12-6.7 105-41.3 111.23-72.9 9.8-49.8 9-121.5 9-121.5m-75.12 125.2h-46.63v-114.2c0-49.7-64-51.6-64 6.9v62.5h-46.33V197c0-58.5-64-56.6-64-6.9v114.2H90.19c0-122.1-5.2-147.9 18.41-175 25.9-28.9 79.82-30.8 103.83 6.1l11.6 19.5 11.6-19.5c24.11-37.1 78.12-34.8 103.83-6.1 23.71 27.3 18.4 53 18.4 175z"/></svg>
|
|
</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a href="https://github.com/m-lamonaca" target="_blank" rel="noopener" title="github.com" class="md-social__link">
|
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><!--! Font Awesome Free 6.6.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2024 Fonticons, Inc.--><path d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6m-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3m44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9M244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8M97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1m-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7m32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1m-11.4-14.7c-1.6 1-1.6 3.6 0 5.9s4.3 3.3 5.6 2.3c1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2"/></svg>
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
|
|
</div>
|
|
<div class="md-dialog" data-md-component="dialog">
|
|
<div class="md-dialog__inner md-typeset"></div>
|
|
</div>
|
|
|
|
|
|
<script id="__config" type="application/json">{"base": "..", "features": ["navigation.instant", "navigation.indexes", "navigation.tracking", "navigation.pruning", "navigation.sections", "navigation.top", "navigation.tabs", "navigation.tabs.sticky", "navigation.footer", "toc.follow", "content.code.copy"], "search": "../assets/javascripts/workers/search.07f07601.min.js", "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version": "Select version"}}</script>
|
|
|
|
|
|
<script src="../assets/javascripts/bundle.56dfad97.min.js"></script>
|
|
|
|
|
|
</body>
|
|
</html> |