mirror of
https://github.com/andatoshiki/toshiki-notebook.git
synced 2026-06-06 03:11:22 +00:00
2 lines
2.7 KiB
JavaScript
2 lines
2.7 KiB
JavaScript
import{_ as a}from"./chunks/PageInfo.vue_vue_type_script_setup_true_lang.250b3e56.js";import{_ as o,o as i,c as l,H as s,k as e,a as n,Q as r}from"./chunks/framework.b7580407.js";import"./chunks/commonjsHelpers.725317a4.js";const b=JSON.parse('{"title":"CIS105: Computer Applications & Information Systems Lect. 12","description":"","frontmatter":{},"headers":[],"relativePath":"academic/cis105/cis105-l12-lecture-note.md","filePath":"academic/cis105/cis105-l12-lecture-note.md","lastUpdated":1713931128000}'),c={name:"academic/cis105/cis105-l12-lecture-note.md"},d=e("h1",{id:"cis105-computer-applications-information-systems-lect-12",tabindex:"-1"},[n("CIS105: Computer Applications & Information Systems Lect. 12 "),e("a",{class:"header-anchor",href:"#cis105-computer-applications-information-systems-lect-12","aria-label":'Permalink to "CIS105: Computer Applications & Information Systems Lect. 12"'},"")],-1),u=r('<h2 id="chapter-12-introduction-to-sql" tabindex="-1">Chapter 12: Introduction to SQL <a class="header-anchor" href="#chapter-12-introduction-to-sql" aria-label="Permalink to "Chapter 12: Introduction to SQL""></a></h2><h3 id="_12-1-sql-getting-started" tabindex="-1">12.1: SQL Getting Started <a class="header-anchor" href="#_12-1-sql-getting-started" aria-label="Permalink to "12.1: SQL Getting Started""></a></h3><ul><li>Capture the data <ul><li>Point of Sale, Scanning, etc</li></ul></li><li>Get the data into a database <ul><li>Import from other systems</li><li>Direct input from forms</li></ul></li><li>Extract the data <ul><li>SQL</li></ul></li><li>Use the data <ul><li>Analysis systems</li><li>Reporting systems</li></ul></li><li>SQL: The language of relational databases <ul><li>Structured query Language</li></ul></li></ul><p>If you plan to analyze data for a business, there is a good chance it's stored in a data warehouse, and you will need to learn how to retrieve it yourself.</p><h3 id="_12-2-sql-statement" tabindex="-1">12.2: SQL Statement <a class="header-anchor" href="#_12-2-sql-statement" aria-label="Permalink to "12.2: SQL Statement""></a></h3><ul><li><code>SELECT</code>: What <strong>fields</strong> (column) you want <ul><li><code>fieldname</code>: If the name is used in only one table</li></ul></li><li><code>FROM</code>: What table or tables contain the fields</li><li><code>ORDER BY</code>: Sorting</li><li><code>DISTINCT</code>: Use after <code>SELECT</code> when you only want to show each vale of the selected field(s) once</li><li><code>LIMIT</code>: Use when you want to limit the number of records produced</li></ul>',6);function m(h,p,f,_,S,y){const t=a;return i(),l("div",null,[d,s(t,{readTime:"1",words:"150"}),u])}const C=o(c,[["render",m]]);export{b as __pageData,C as default};
|