Skip to content

Commit

Permalink
deploy: c1a3307
Browse files Browse the repository at this point in the history
  • Loading branch information
peymanslh committed Jan 3, 2024
1 parent 8969a2f commit 90764a1
Show file tree
Hide file tree
Showing 17 changed files with 36 additions and 36 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
in most popular RDBMSs and be as short as possible and refference to
a reliable source for more info. You can set up your environment and import sample data in the
<a href=./posts/setup>Setup</a> post. If you find any issues or want to add more examples,
feel free to open an issue or send a pull request in <a href=https://github.com/peymanslh/sql>GitHub</a>.</p></div></div><h2>Introduction <span class=dot></span></h2><ul class=home-posts><li><a href=./posts/setup/>Setup</a></li><li><a href=./posts/sample-database-structure/>Sample Database Structure</a></li></ul><h2>Database and Table Management<span class=dot></span></h2><ul class=home-posts><li><a href=./posts/create-and-drop-database/>Create and Drop Database</a></li><li><a href=./posts/create-and-drop-table/>Create and Drop Table</a></li></ul><h2>Modifying Data<span class=dot></span></h2><ul class=home-posts><li><a href=./posts/insert/>Insert</a></li><li><a href=./posts/update/>Update</a></li><li><a href=./posts/delete/>Delete</a></li></ul><h2>Query and Filtering Data<span class=dot></span></h2><ul class=home-posts><li><a href=./posts/select/>Select</a></li><li><a href=./posts/where/>Where</a></li><li><a href=./posts/order-by/>Order By</a></li></ul><h2>Latest Posts<span class=dot></span></h2><ul class=home-posts><li><a href=./posts/order-by/>Order By</a></li><li><a href=./posts/delete/>Delete</a></li><li><a href=./posts/update/>Update</a></li><li><a href=./posts/insert/>Insert</a></li><li><a href=./posts/where/>Where</a></li><li><a href=./posts/select/>Select</a></li><li><a href=./posts/create-and-drop-table/>Create and Drop Table</a></li><li><a href=./posts/create-and-drop-database/>Create and Drop Database</a></li><li><a href=./posts/sample-database-structure/>Sample Database Structure</a></li><li><a href=./posts/setup/>Setup</a></li></ul><div class=footer><div class=footer-copy>© 2024 SQL by example.</div><div class=footer-social><span class="social-icon social-icon-github"><a href=https://github.com/peymanslh/sql title=github target=_blank rel=noopener><img src=./images/social/github.svg width=24 height=24 alt=github></a></span></div></div></div><script type=text/javascript src=./js/bundle.min.1ff4c3efa6718e4b48bf69ba81bb9b232f6f3e1407b7ea6ce8e5a6fdaed5af56.js></script></body></html>
feel free to open an issue or send a pull request in <a href=https://github.com/peymanslh/sql>GitHub</a>.</p></div></div><h2>Introduction <span class=dot></span></h2><ul class=home-posts><li><a href=./posts/setup/>Setup</a></li><li><a href=./posts/sample-database-structure/>Sample Database Structure</a></li></ul><h2>Database and Table Management<span class=dot></span></h2><ul class=home-posts><li><a href=./posts/create-and-drop-database/>Create and Drop Database</a></li><li><a href=./posts/create-and-drop-table/>Create and Drop Table</a></li></ul><h2>Modifying Data<span class=dot></span></h2><ul class=home-posts><li><a href=./posts/insert/>INSERT</a></li><li><a href=./posts/update/>UPDATE</a></li><li><a href=./posts/delete/>DELETE</a></li></ul><h2>Query and Filtering Data<span class=dot></span></h2><ul class=home-posts><li><a href=./posts/select/>SELECT</a></li><li><a href=./posts/where/>WHERE</a></li><li><a href=./posts/order-by/>ORDER BY</a></li></ul><h2>Latest Posts<span class=dot></span></h2><ul class=home-posts><li><a href=./posts/order-by/>ORDER BY</a></li><li><a href=./posts/delete/>DELETE</a></li><li><a href=./posts/update/>UPDATE</a></li><li><a href=./posts/insert/>INSERT</a></li><li><a href=./posts/where/>WHERE</a></li><li><a href=./posts/select/>SELECT</a></li><li><a href=./posts/create-and-drop-table/>Create and Drop Table</a></li><li><a href=./posts/create-and-drop-database/>Create and Drop Database</a></li><li><a href=./posts/sample-database-structure/>Sample Database Structure</a></li><li><a href=./posts/setup/>Setup</a></li></ul><div class=footer><div class=footer-copy>© 2024 SQL by example.</div><div class=footer-social><span class="social-icon social-icon-github"><a href=https://github.com/peymanslh/sql title=github target=_blank rel=noopener><img src=./images/social/github.svg width=24 height=24 alt=github></a></span></div></div></div><script type=text/javascript src=./js/bundle.min.1ff4c3efa6718e4b48bf69ba81bb9b232f6f3e1407b7ea6ce8e5a6fdaed5af56.js></script></body></html>
12 changes: 6 additions & 6 deletions index.xml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion posts/delete/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!doctype html><html lang=en><head><meta charset=utf-8><meta http-equiv=x-ua-compatible content="ie=edge"><title>Delete - SQL by example</title><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=https://peyman.blog/sql/favicon.png><link rel=alternate type=application/rss+xml href=https://peyman.blog/sql/index.xml title="SQL by example"><link rel=stylesheet href=../../css/style.min.b7a8f934af918fc60a41bae619210b3560306dbdbba86726567d6993bc1bc64c.css><meta property="og:title" content="Delete"><meta property="og:type" content="website"><meta property="og:url" content="https://peyman.blog/sql/posts/delete/"><meta name=twitter:card content="summary"><meta name=twitter:site content="@_peymanslh"><meta name=twitter:creator content="@_peymanslh"><link rel=preconnect href=https://fonts.googleapis.com><link rel=preconnect href=https://fonts.gstatic.com crossorigin><link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,500;0,700;1,500&family=Libre+Caslon+Text:wght@700&family=Pridi:wght@300;400;600;700&display=swap" rel=stylesheet></head><body class="page page-blog-single"><div id=wrapper class=wrapper><div class=header><a class=header-logo href=https://peyman.blog/sql/>SQL by example</a><div class=menu-main><ul><li class=menu-item-about><a href=../../pages/about/>About</a></li><li class=menu-item-posts><a href=../../posts/>Posts</a></li></ul></div></div><div class=blog><div class=intro><h1>Delete<span class=dot></span></h1><ul class=post-tags><li><a href=https://peyman.blog/sql/tags/modify/>modify</a></li><li><a href=https://peyman.blog/sql/tags/postgresql/>postgresql</a></li></ul></div><div class=content><p>With <code>DELETE</code> we can delete one or multiple rows from a table.</p><div class=highlight><pre style=color:#d8dee9;background-color:#2e3440;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-sql data-lang=sql><span style=color:#616e87;font-style:italic>-- when you don&#39;t provide a where condition with your delete it will
<!doctype html><html lang=en><head><meta charset=utf-8><meta http-equiv=x-ua-compatible content="ie=edge"><title>DELETE - SQL by example</title><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=https://peyman.blog/sql/favicon.png><link rel=alternate type=application/rss+xml href=https://peyman.blog/sql/index.xml title="SQL by example"><link rel=stylesheet href=../../css/style.min.b7a8f934af918fc60a41bae619210b3560306dbdbba86726567d6993bc1bc64c.css><meta property="og:title" content="DELETE"><meta property="og:type" content="website"><meta property="og:url" content="https://peyman.blog/sql/posts/delete/"><meta name=twitter:card content="summary"><meta name=twitter:site content="@_peymanslh"><meta name=twitter:creator content="@_peymanslh"><link rel=preconnect href=https://fonts.googleapis.com><link rel=preconnect href=https://fonts.gstatic.com crossorigin><link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,500;0,700;1,500&family=Libre+Caslon+Text:wght@700&family=Pridi:wght@300;400;600;700&display=swap" rel=stylesheet></head><body class="page page-blog-single"><div id=wrapper class=wrapper><div class=header><a class=header-logo href=https://peyman.blog/sql/>SQL by example</a><div class=menu-main><ul><li class=menu-item-about><a href=../../pages/about/>About</a></li><li class=menu-item-posts><a href=../../posts/>Posts</a></li></ul></div></div><div class=blog><div class=intro><h1>DELETE<span class=dot></span></h1><ul class=post-tags><li><a href=https://peyman.blog/sql/tags/modify/>modify</a></li><li><a href=https://peyman.blog/sql/tags/postgresql/>postgresql</a></li></ul></div><div class=content><p>With <code>DELETE</code> we can delete one or multiple rows from a table.</p><div class=highlight><pre style=color:#d8dee9;background-color:#2e3440;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-sql data-lang=sql><span style=color:#616e87;font-style:italic>-- when you don&#39;t provide a where condition with your delete it will
</span><span style=color:#616e87;font-style:italic>-- delete all rows in your table
</span><span style=color:#616e87;font-style:italic>-- Don&#39;t run this query on your sample database, until you know what you&#39;re doing
</span><span style=color:#616e87;font-style:italic></span><span style=color:#81a1c1;font-weight:700>DELETE</span> <span style=color:#81a1c1;font-weight:700>FROM</span> orders<span style=color:#eceff4>;</span>
Expand Down
2 changes: 1 addition & 1 deletion posts/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang=en><head><meta charset=utf-8><meta http-equiv=x-ua-compatible content="ie=edge"><title>Blog - SQL by example</title><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=https://peyman.blog/sql/favicon.png><link rel=alternate type=application/rss+xml href=https://peyman.blog/sql/index.xml title="SQL by example"><link rel=stylesheet href=../css/style.min.b7a8f934af918fc60a41bae619210b3560306dbdbba86726567d6993bc1bc64c.css><meta property="og:title" content="Blog"><meta property="og:type" content="website"><meta property="og:url" content="https://peyman.blog/sql/posts/"><meta name=twitter:card content="summary"><meta name=twitter:site content="@_peymanslh"><meta name=twitter:creator content="@_peymanslh"><link rel=preconnect href=https://fonts.googleapis.com><link rel=preconnect href=https://fonts.gstatic.com crossorigin><link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,500;0,700;1,500&family=Libre+Caslon+Text:wght@700&family=Pridi:wght@300;400;600;700&display=swap" rel=stylesheet></head><body class="page page-default-list"><div id=wrapper class=wrapper><div class=header><a class=header-logo href=https://peyman.blog/sql/>SQL by example</a><div class=menu-main><ul><li class=menu-item-about><a href=../pages/about/>About</a></li><li class="menu-item-posts active"><a href=../posts/>Posts</a></li></ul></div></div><div class=intro><h1>Blog<span class=dot></span></h1></div><div class=summary><h2><a href=../posts/order-by/>Order By</a></h2></div><div class=summary><h2><a href=../posts/delete/>Delete</a></h2></div><div class=summary><h2><a href=../posts/update/>Update</a></h2></div><div class=summary><h2><a href=../posts/insert/>Insert</a></h2></div><div class=summary><h2><a href=../posts/where/>Where</a></h2></div><div class=summary><h2><a href=../posts/select/>Select</a></h2></div><div class=summary><h2><a href=../posts/create-and-drop-table/>Create and Drop Table</a></h2></div><div class=summary><h2><a href=../posts/create-and-drop-database/>Create and Drop Database</a></h2></div><div class=summary><h2><a href=../posts/sample-database-structure/>Sample Database Structure</a></h2></div><div class=summary><h2><a href=../posts/setup/>Setup</a></h2></div><div class=footer><div class=footer-copy>© 2024 SQL by example.</div><div class=footer-social><span class="social-icon social-icon-github"><a href=https://github.com/peymanslh/sql title=github target=_blank rel=noopener><img src=../images/social/github.svg width=24 height=24 alt=github></a></span></div></div></div><script type=text/javascript src=../js/bundle.min.1ff4c3efa6718e4b48bf69ba81bb9b232f6f3e1407b7ea6ce8e5a6fdaed5af56.js></script></body></html>
<!doctype html><html lang=en><head><meta charset=utf-8><meta http-equiv=x-ua-compatible content="ie=edge"><title>Blog - SQL by example</title><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=https://peyman.blog/sql/favicon.png><link rel=alternate type=application/rss+xml href=https://peyman.blog/sql/index.xml title="SQL by example"><link rel=stylesheet href=../css/style.min.b7a8f934af918fc60a41bae619210b3560306dbdbba86726567d6993bc1bc64c.css><meta property="og:title" content="Blog"><meta property="og:type" content="website"><meta property="og:url" content="https://peyman.blog/sql/posts/"><meta name=twitter:card content="summary"><meta name=twitter:site content="@_peymanslh"><meta name=twitter:creator content="@_peymanslh"><link rel=preconnect href=https://fonts.googleapis.com><link rel=preconnect href=https://fonts.gstatic.com crossorigin><link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,500;0,700;1,500&family=Libre+Caslon+Text:wght@700&family=Pridi:wght@300;400;600;700&display=swap" rel=stylesheet></head><body class="page page-default-list"><div id=wrapper class=wrapper><div class=header><a class=header-logo href=https://peyman.blog/sql/>SQL by example</a><div class=menu-main><ul><li class=menu-item-about><a href=../pages/about/>About</a></li><li class="menu-item-posts active"><a href=../posts/>Posts</a></li></ul></div></div><div class=intro><h1>Blog<span class=dot></span></h1></div><div class=summary><h2><a href=../posts/order-by/>ORDER BY</a></h2></div><div class=summary><h2><a href=../posts/delete/>DELETE</a></h2></div><div class=summary><h2><a href=../posts/update/>UPDATE</a></h2></div><div class=summary><h2><a href=../posts/insert/>INSERT</a></h2></div><div class=summary><h2><a href=../posts/where/>WHERE</a></h2></div><div class=summary><h2><a href=../posts/select/>SELECT</a></h2></div><div class=summary><h2><a href=../posts/create-and-drop-table/>Create and Drop Table</a></h2></div><div class=summary><h2><a href=../posts/create-and-drop-database/>Create and Drop Database</a></h2></div><div class=summary><h2><a href=../posts/sample-database-structure/>Sample Database Structure</a></h2></div><div class=summary><h2><a href=../posts/setup/>Setup</a></h2></div><div class=footer><div class=footer-copy>© 2024 SQL by example.</div><div class=footer-social><span class="social-icon social-icon-github"><a href=https://github.com/peymanslh/sql title=github target=_blank rel=noopener><img src=../images/social/github.svg width=24 height=24 alt=github></a></span></div></div></div><script type=text/javascript src=../js/bundle.min.1ff4c3efa6718e4b48bf69ba81bb9b232f6f3e1407b7ea6ce8e5a6fdaed5af56.js></script></body></html>
Loading

0 comments on commit 90764a1

Please sign in to comment.