├── .gitignore ├── 00_SQL ├── index.yaml ├── 01_Intro │ ├── 00_Introduction │ │ ├── index.yaml │ │ └── index.md │ ├── 02_Ready Set Go │ │ ├── index.yaml │ │ └── index.md │ ├── 01_Environment Setup │ │ ├── index.yaml │ │ └── index.md │ └── index.yaml ├── 04_Intermediate SQL │ ├── 00_Querying │ │ ├── index.yaml │ │ └── index.md │ ├── 03_Summary │ │ ├── index.yaml │ │ └── index.md │ ├── 02_Dropping Tables │ │ ├── index.yaml │ │ └── index.md │ ├── 01_Updating Table Records │ │ ├── index.yaml │ │ └── index.md │ └── index.yaml ├── 02_Data Basics │ ├── 00_What is Data │ │ ├── index.yaml │ │ └── index.md │ ├── 02_What is SQL │ │ ├── index.yaml │ │ └── index.md │ ├── 01_What is a Database │ │ ├── index.yaml │ │ └── index.md │ └── index.yaml └── 03_Relational Databases │ ├── 00_Table Basics │ ├── index.yaml │ └── index.md │ ├── 02_Types of Tables │ ├── index.yaml │ └── index.md │ ├── 03_Selecting Data │ ├── index.yaml │ └── index.md │ ├── 04_Creating Tables │ ├── index.yaml │ └── index.md │ ├── 01_Table Organization │ ├── index.yaml │ └── index.md │ ├── 05_Inserting Into Tables │ ├── index.yaml │ └── index.md │ └── index.yaml ├── LICENSE.md ├── index.yaml ├── SOURCE_CODE_LICENSE.md └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | .idea 3 | .vscode 4 | -------------------------------------------------------------------------------- /00_SQL/index.yaml: -------------------------------------------------------------------------------- 1 | url_name: lHzDxuPwCRKD 2 | display_name: SQL 3 | -------------------------------------------------------------------------------- /00_SQL/01_Intro/00_Introduction/index.yaml: -------------------------------------------------------------------------------- 1 | url_name: HnLArTlttbke 2 | display_name: Introduction 3 | -------------------------------------------------------------------------------- /00_SQL/01_Intro/02_Ready Set Go/index.yaml: -------------------------------------------------------------------------------- 1 | url_name: JGrmkvOZlAbv 2 | display_name: Ready Set Go 3 | -------------------------------------------------------------------------------- /00_SQL/04_Intermediate SQL/00_Querying/index.yaml: -------------------------------------------------------------------------------- 1 | url_name: MubjbLZUHlzm 2 | display_name: Querying 3 | -------------------------------------------------------------------------------- /00_SQL/04_Intermediate SQL/03_Summary/index.yaml: -------------------------------------------------------------------------------- 1 | url_name: btFSEyVjGiqO 2 | display_name: Summary 3 | -------------------------------------------------------------------------------- /00_SQL/02_Data Basics/00_What is Data/index.yaml: -------------------------------------------------------------------------------- 1 | url_name: CBmgMTCnrMev 2 | display_name: What is Data 3 | -------------------------------------------------------------------------------- /00_SQL/02_Data Basics/02_What is SQL/index.yaml: -------------------------------------------------------------------------------- 1 | url_name: JdbULaRIqYvo 2 | display_name: What is SQL 3 | -------------------------------------------------------------------------------- /00_SQL/01_Intro/01_Environment Setup/index.yaml: -------------------------------------------------------------------------------- 1 | url_name: bTWdRreVxVdh 2 | display_name: Environment Setup 3 | -------------------------------------------------------------------------------- /00_SQL/01_Intro/index.yaml: -------------------------------------------------------------------------------- 1 | url_name: lZMAxljebLYC 2 | display_name: Intro 3 | graded: false 4 | format: "" 5 | -------------------------------------------------------------------------------- /00_SQL/02_Data Basics/01_What is a Database/index.yaml: -------------------------------------------------------------------------------- 1 | url_name: yzhgbfLLoSBQ 2 | display_name: What is a Database 3 | -------------------------------------------------------------------------------- /00_SQL/03_Relational Databases/00_Table Basics/index.yaml: -------------------------------------------------------------------------------- 1 | url_name: vLfezOBlpDqn 2 | display_name: Table Basics 3 | -------------------------------------------------------------------------------- /00_SQL/04_Intermediate SQL/02_Dropping Tables/index.yaml: -------------------------------------------------------------------------------- 1 | url_name: IYiYYIaHonEN 2 | display_name: Dropping Tables 3 | -------------------------------------------------------------------------------- /00_SQL/02_Data Basics/index.yaml: -------------------------------------------------------------------------------- 1 | url_name: CFXePEsgQylE 2 | display_name: Data Basics 3 | graded: false 4 | format: "" 5 | -------------------------------------------------------------------------------- /00_SQL/03_Relational Databases/02_Types of Tables/index.yaml: -------------------------------------------------------------------------------- 1 | url_name: VrjHmQuEEYIJ 2 | display_name: Types of Tables 3 | -------------------------------------------------------------------------------- /00_SQL/03_Relational Databases/03_Selecting Data/index.yaml: -------------------------------------------------------------------------------- 1 | url_name: FUWIwIkezTMn 2 | display_name: Selecting Data 3 | -------------------------------------------------------------------------------- /00_SQL/03_Relational Databases/04_Creating Tables/index.yaml: -------------------------------------------------------------------------------- 1 | url_name: kuxWYlkvrmJi 2 | display_name: Creating Tables 3 | -------------------------------------------------------------------------------- /00_SQL/03_Relational Databases/01_Table Organization/index.yaml: -------------------------------------------------------------------------------- 1 | url_name: cEuFmncObyVz 2 | display_name: Table Organization 3 | -------------------------------------------------------------------------------- /00_SQL/03_Relational Databases/05_Inserting Into Tables/index.yaml: -------------------------------------------------------------------------------- 1 | url_name: xjDCOUbGLCvG 2 | display_name: Inserting Into Tables 3 | -------------------------------------------------------------------------------- /00_SQL/04_Intermediate SQL/01_Updating Table Records/index.yaml: -------------------------------------------------------------------------------- 1 | url_name: cLyCSIwTfTtB 2 | display_name: Updating Table Records 3 | -------------------------------------------------------------------------------- /00_SQL/04_Intermediate SQL/index.yaml: -------------------------------------------------------------------------------- 1 | url_name: IZJqJiGAxmqL 2 | display_name: Intermediate SQL 3 | graded: false 4 | format: "" 5 | -------------------------------------------------------------------------------- /00_SQL/03_Relational Databases/index.yaml: -------------------------------------------------------------------------------- 1 | url_name: rvTNxNuWzjUk 2 | display_name: Relational Databases 3 | graded: false 4 | format: "" 5 | -------------------------------------------------------------------------------- /00_SQL/01_Intro/01_Environment Setup/index.md: -------------------------------------------------------------------------------- 1 | ### Basic Environment Setup 2 | #### How to set up your computer 3 | 4 | Open your web browser. I'll be using chrome, but you can use Safari, Brave, Firefox (browsers that support Web SQL). 5 | 6 | To try running your own queries while following along you can use W3Schools web SQL found at this link: https://www.w3schools.com/sql/trysql.asp?filename=trysql_select_all 7 | 8 | Here we go! 9 | -------------------------------------------------------------------------------- /00_SQL/03_Relational Databases/02_Types of Tables/index.md: -------------------------------------------------------------------------------- 1 | ### Types of Data 2 | 3 | Data types for table columns are defined in the `schema`. How you develop you `schema` is up to you! 4 | 5 | The most common data types are: 6 | 7 | * `Text` (Names, Descriptions) 8 | * `Numeric` (Cost, Age, Weight, Quantity) 9 | * `Dates` (Dates and Time) 10 | 11 | #### Notes 12 | 13 | Its important to have the correct data type for your data. This ensures that sorting and calculations work properly. 14 | -------------------------------------------------------------------------------- /00_SQL/03_Relational Databases/00_Table Basics/index.md: -------------------------------------------------------------------------------- 1 | ### What is a Relational Database? 2 | 3 | #### There are two major components in a database: 4 | 5 | * `Data` (Information Stored) and `Schema` (How the data is organized) 6 | 7 | * `Sections`, also called tables. This is how the data is structured. 8 | 9 | ##### You can think of tables like how we arrange information in an excel spreadsheet! 10 | 11 | 12 | `Rows` go horizontal and `Columns` go vertical. 13 | 14 | Click next to move on.. 15 | -------------------------------------------------------------------------------- /00_SQL/04_Intermediate SQL/02_Dropping Tables/index.md: -------------------------------------------------------------------------------- 1 | ### How to Drop a Table 2 | #### Let's look at into how we can delete or drop a table! 3 | 4 | The drop table command is used to delete a table and all of its rows 5 | 6 | Dropping tables is different than deleting all records because it removes the table definition as well as all of its rows. 7 | 8 | #### Drop Table Command 9 | 10 | ```SQL 11 | DROP TABLE "tablename"; 12 | ``` 13 | 14 | #### Example 15 | 16 | ```SQL 17 | DROP TABLE Employees; 18 | ``` 19 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | The content of this project itself, including, but not limited to the content of all .md (Markdown) and .yaml (YAML) files included in this project, is licensed under the [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-nc-sa/4.0/), and all of the source code provided alongside the content, including, but not limited to to the .java (Java) files, is licensed under the source code license provided in the SOURCE_CODE_LICENSE.md file included in the same directory as this notice. 2 | -------------------------------------------------------------------------------- /00_SQL/02_Data Basics/00_What is Data/index.md: -------------------------------------------------------------------------------- 1 | ### What is Data? 2 | #### Show me the Data! 3 | 4 | Data can be Qualitative or Quantitative. 5 | 6 | `Qualitative` data - Is descriptive information (It describes something) 7 | 8 | `Quantitative` data- Is numerical information (numbers) 9 | 10 | `Quantitative` data can be `Discrete` or `Continuous`: 11 | 12 | `Discrete` data can only take certain values (ie. whole numbers - 1, 2, 3) on the other hand... 13 | 14 | `Continuous` data can take any value (within a range) 15 | 16 | Put Simply: `Discrete` data is counted, `Continuous` data is measured. 17 | -------------------------------------------------------------------------------- /00_SQL/01_Intro/02_Ready Set Go/index.md: -------------------------------------------------------------------------------- 1 | ### Ready Set Go 2 | #### We are here to help 3 | 4 | During the class, our instructors are always available to answer questions. Feel free to reach out to in any way as we are here to support you through this process. 5 | 6 | 7 | In addition, if you see content that needs to be changed, please report it as it we are working to improve the platform daily and want to maximize the experience for all of our users. 8 | 9 | As well, please connect with us on twitter [@exlskills] (https://twitter.com/exlskills) or for the instructor who created this course [@KeenanOlsen](https://twitter.com/KeenanOlsen). Good luck, and in a jiffy, you'll be a master programmer. 10 | -------------------------------------------------------------------------------- /00_SQL/02_Data Basics/02_What is SQL/index.md: -------------------------------------------------------------------------------- 1 | ### So what in the world is SQL?? 2 | 3 | SQL (pronounced "see-que-el" or `S` `Q` `L`) Either way is perfectly the same! SQL stands for Structured Query Language. 4 | 5 | This is the language and syntax we will use to interact with SQL databases. When we return and search data from a database we call it `querying`. 6 | 7 | 8 | #### Common SQL Databases: 9 | 10 | Each of these databases can be Queried using the SQL programming Language. 11 | 12 | * MySQL 13 | * PostgreSQL 14 | * Microsoft SQL 15 | * SQLite 16 | * Oracle 17 | 18 | Note: There are some slight differences to each database, but most of the SQL commands we're going to cover will be the same or very similar. 19 | -------------------------------------------------------------------------------- /00_SQL/02_Data Basics/01_What is a Database/index.md: -------------------------------------------------------------------------------- 1 | ### So what is a database? 2 | 3 | A database is a collection of information that is organized so that it can be easily accessed, managed and updated. 4 | 5 | Databases can be electronic like SQL or non-electronic like a phonebook. As long as there is information stored in a location it can be considered a database! 6 | 7 | Data is organized into rows, columns and tables, and it is indexed to make it easier to find relevant information. 8 | 9 | #### Example Products using databases: 10 | 11 | * Dynamic sites and apps like Facebook, Google, Apple, etc 12 | 13 | * Item tracking like USPS, a Library, etc 14 | 15 | #### Some professional jobs that work with databases include: 16 | 17 | * Web developers, Data Analysts, and Data Scientists 18 | -------------------------------------------------------------------------------- /00_SQL/03_Relational Databases/01_Table Organization/index.md: -------------------------------------------------------------------------------- 1 | ### Table Organization 2 | 3 | Usually we separate tables in order to contain data for a specific type of purpose. 4 | 5 | ### Table Relationships to Data 6 | 7 | Each table can have relationships with each other, instead of repeating the same product how ever many times someone buys it, we can instead reference back to that product in a separate table. 8 | 9 | The same database can be used in different ways across applications at the same time. 10 | 11 | Again, don't worry if this is a bit confusing! It will make more sense as we go! 12 | 13 | 14 | ### Examples 15 | 16 | * An app could be pulling data to show the average time a product is being used. 17 | * An analyst could be pulling the data to learn what product has the most sales. 18 | -------------------------------------------------------------------------------- /00_SQL/03_Relational Databases/04_Creating Tables/index.md: -------------------------------------------------------------------------------- 1 | ### How to Create Tables 2 | #### Now let's take a look into how to create a table ourselves! 3 | 4 | The `create table` statement is used to create a new table. This is the format to create and simple table using SQL: 5 | 6 | Now using the same browser from W3 schools located [here](https://www.w3schools.com/sql/trysql.asp?filename=trysql_select_all), enter the following command to create your own table. 7 | 8 | ```SQL 9 | CREATE TABLE TestTable AS 10 | SELECT customername, contactname 11 | FROM customers; 12 | ``` 13 | 14 | Note: You may have as many columns as you'd like, and the constraints are optional. 15 | 16 | Also friendly reminder... all SQL statements end with a semi-colon `;` 17 | 18 | Now lets try to create a table on your own! 19 | -------------------------------------------------------------------------------- /00_SQL/04_Intermediate SQL/03_Summary/index.md: -------------------------------------------------------------------------------- 1 | ### Congratulations, you've just completed the Intro to SQL course! 2 | 3 | What all have we learned so far.. 4 | 5 | #### Data Basics 6 | We learned that data is information. Anything that can be used for interpreting information can be considered data and where that is stored is our `database`. 7 | 8 | #### Relational databases 9 | Relational databases are structured to recognize where items of information are related to one another. 10 | 11 | #### Selecting Data 12 | 13 | ```SQL 14 | SELECT * FROM "Value"; 15 | ``` 16 | ##### Creating a Table 17 | 18 | ```SQL 19 | CREATE TABLE "tablename" 20 | ("column1" "data type", 21 | "column2" "data type", 22 | "column3" "data type"); 23 | ``` 24 | 25 | 26 | For more information on SQL stay tuned for our next course: Advanced SQL 101. 27 | -------------------------------------------------------------------------------- /00_SQL/04_Intermediate SQL/00_Querying/index.md: -------------------------------------------------------------------------------- 1 | ### Querying Data 2 | 3 | #### Let's Take a Deeper Look into Querying Data 4 | 5 | We have dived into querying a little in the third chapter to select, create and insert data with SQL, now let's take deeper look. 6 | 7 | #### An important thing to remember is we need to understand our data. 8 | 9 | * How is it structured? 10 | 11 | * What does it represent? 12 | 13 | We can do different types of querying to figure these out! 14 | 15 | #### Selecting Data 16 | 17 | When we query this isn't actually changing the database. You're just choosing what data you'd like to see and how you want it to look. 18 | 19 | #### Functions 20 | 21 | Similar to Excel, in SQL we can use functions to help us understand our data. 22 | 23 | Here are a few examples: 24 | 25 | ```SQL 26 | SUM() `SELECT SUM(XYZ) FROM XYZ` 27 | 28 | MAX() `SELECT X, Y, Z FROM XYZ` 29 | 30 | MIN() `SELECT X, Y, Z FROM XYZ` 31 | 32 | AVG() `SELECT XYZ FROM XYZ` 33 | 34 | COUNT() `SELECT COUNT(*) FROM XYZ` 35 | ``` 36 | -------------------------------------------------------------------------------- /00_SQL/04_Intermediate SQL/01_Updating Table Records/index.md: -------------------------------------------------------------------------------- 1 | ### Changing Table Records and Data Using SQL 2 | 3 | #### This section we will learn how to update and delete table records and data using SQL! 4 | 5 | 6 | #### Updating Records 7 | 8 | The update statement is used to update or change records that match a specified criteria. This is accomplished by carefully constructing a where clause. 9 | 10 | ```SQL 11 | UPDATE "tablename" 12 | SET "columnname" = "newvalue" 13 | WHERE "columnname"; 14 | ``` 15 | 16 | Notice how the new function calls are on their own line and the operator calls are indented. The end of the SQL call ends with `;`. 17 | 18 | #### Example 19 | Changing an employees information in the company database. 20 | 21 | ```SQL 22 | UPDATE Customers 23 | SET ContactName = 'Will Smith', City= 'San Francisco' 24 | WHERE CustomerID = 1; 25 | ``` 26 | 27 | #### Deleting Records 28 | 29 | The delete statement is used to delete records or rows from the table. 30 | 31 | ```SQL 32 | DELETE FROM table_name WHERE condition; 33 | ``` 34 | 35 | #### More Examples with W3 Schools 36 | ``` 37 | DELETE FROM Customers WHERE CustomerName='Will Smith'; 38 | ``` 39 | -------------------------------------------------------------------------------- /index.yaml: -------------------------------------------------------------------------------- 1 | url_name: intro_to_sql 2 | display_name: Introduction to SQL 3 | org: EXLskills 4 | course: intro_to_sql 5 | course_image: https://cdn-course-logos.exlskills.com/micro-course-java-exceptions.jpg 6 | language: en 7 | est_minutes: 1080 8 | weight: 1600 9 | primary_topic: SQL 10 | repo_url: https://github.com/exlskills/course-sql-introduction 11 | topics: 12 | - SQL 13 | - Computer Science 14 | - Databases 15 | - RDBMS 16 | - Relational Database 17 | - Data Science 18 | headline: Learn basic SQL programming with EXLskills! 19 | description: |2 20 | This is the EXLskills free and open-source SQL Introduction Course. It guides learners via explanation, demonstration, and thorough practice, from no more than a basic understanding of SQL, to a moderate level of essential coding proficiency. 21 | 22 | info_md: |2 23 | # EXLskills SQL Introduction Course 24 | This is the EXLskills free and open-source SQL Introduction Course. It guides learners via explanation, demonstration, and thorough practice, from no more than a basic understanding of SQL, to a moderate level of essential coding proficiency. 25 | -------------------------------------------------------------------------------- /00_SQL/01_Intro/00_Introduction/index.md: -------------------------------------------------------------------------------- 1 | ### Getting Started with SQL 2 | 3 | #### Your journey with SQL 4 | Learning how to SQL is a long process that will be fairly difficult. By the end of this class, you will be able to understand SQL databases and create your own tables and databases. The course will cover the following topics. 5 | 6 | ### 1. Data Basics 7 | 8 | 1.1 What is Data? 9 | 10 | 1.2 What is a Database? 11 | 12 | 1.3 What is SQL? 13 | 14 | ### 2. Relational Databases 15 | 16 | 2.0 Tables Basics 17 | 18 | 2.1 Table Organization 19 | 20 | 2.2 Types of Tables 21 | 22 | 2.3 Selecting Data 23 | 24 | 2.4 Creating Tables 25 | 26 | 2.5 Inserting into Tables 27 | 28 | ### 3. Intermediate SQL 29 | 30 | 3.1 Querying Basics 31 | 32 | 3.2 Updating Records and Functions 33 | 34 | 3.3 Changing and Deleting Tables 35 | 36 | 3.4 Summary 37 | 38 | ### 4. Exam 39 | 40 | 41 | #### Let's get started 42 | 43 | Feel free to skip any units that you already know but there is important information that is included in all of the lectures, so it would be in your best interest to at least skim each one. 44 | 45 | As well, we are running a live work sessions one on one with me the instructor! Feel free to book a time to talk or contact me directly through the instructor list page. 46 | 47 | Good Luck! 48 | -------------------------------------------------------------------------------- /00_SQL/03_Relational Databases/05_Inserting Into Tables/index.md: -------------------------------------------------------------------------------- 1 | ### How to Insert Into Tables 2 | 3 | #### Now let's take a look into how to insert data into a table ourselves! 4 | 5 | The insert statement is used to insert or add a row of data into the table. 6 | 7 | To insert records into a table, enter the key words insert into followed by the table name, followed by an open parenthesis, followed by a list of column names separated by commas, followed by a closing parenthesis, followed by the keyword values, followed by the list of values enclosed in parenthesis. 8 | 9 | The values that you enter will be held in the rows and they will match up with the column names that you specify. Strings should be enclosed in single quotes, and numbers should not. 10 | 11 | ```SQL 12 | INSERT INTO "tablename" 13 | VALUES (first_value,...last_value); 14 | ``` 15 | 16 | ### Example: 17 | 18 | In the example below, the column name `CustomerName` will match up with the value `Will Smith`, and the column name `Country` will match up with the value `USA`. 19 | 20 | ```SQL 21 | INSERT INTO Customers (CustomerName, ContactName, Address, City, PostalCode, Country) 22 | VALUES ('Will Smith', 'Will Smith', '22 Jump St', 'San Francisco', '94103', 'USA'); 23 | ``` 24 | 25 | ### Note 26 | 27 | All strings should be enclosed between single quotes: `'string'`. 28 | -------------------------------------------------------------------------------- /SOURCE_CODE_LICENSE.md: -------------------------------------------------------------------------------- 1 | ## Licensing 2 | 3 | Copyright 2018 EXL Inc. 4 | 5 | Licensed under the Apache License, Version 2.0 (the "License") and the Commons 6 | Clause Restriction; you may not use this file except in compliance with the 7 | License. You may obtain a copy of the License at 8 | 9 | http://www.apache.org/licenses/LICENSE-2.0 10 | 11 | Unless required by applicable law or agreed to in writing, software distributed 12 | under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR 13 | CONDITIONS OF ANY KIND, either express or implied. See the License for the 14 | specific language governing permissions and limitations under the License. 15 | 16 | ### Commons Clause Restriction 17 | 18 | The Software is provided to you by the Licensor under the License, as defined 19 | below, subject to the following condition. Without limiting other conditions in 20 | the License, the grant of rights under the License will not include, and the 21 | License does not grant to you, the right to Sell the Software. For purposes of 22 | the foregoing, “Sell” means practicing any or all of the rights granted to you 23 | under the License to provide to third parties, for a fee or other consideration, 24 | a product or service that consists, entirely or substantially, of the Software 25 | or the functionality of the Software. Any license notice or attribution required 26 | by the License must also include this Commons Cause License Condition notice. 27 | 28 | For purposes of the clause above, the “Licensor” is EXL Inc., the 29 | “License” is the Apache License, Version 2.0, and the Software is the EXL 30 | software provided with this notice. 31 | -------------------------------------------------------------------------------- /00_SQL/03_Relational Databases/03_Selecting Data/index.md: -------------------------------------------------------------------------------- 1 | ### Let's see how we can begin to select data from tables through code! 2 | 3 | The `select` statement is used to query the database and retrieve data that matches what you're looking for and specify within your code! 4 | 5 | The format can be shown below: 6 | 7 | Enter this query into this [link](https://www.w3schools.com/sql/trysql.asp?filename=trysql_select_all) from W3 Schools and see the result! 8 | 9 | ```sql 10 | SELECT * FROM Customers; 11 | ``` 12 | 13 | You can select as many columns as you would like, or you can use a `*` to select all columns! 14 | 15 | As you can see the resulting query shows the number of records is equal to 91 and shows all of the records of customers in the database. 16 | 17 | ### The WHERE Clause 18 | 19 | Conditional selections used in the `where` clause are: 20 | 21 | * `= equal` 22 | * `> greater` 23 | * `< less than` 24 | * `>= Greater than or equal` 25 | * `<= Less than or equal` 26 | * `<> Not equal to` 27 | 28 | In the web3 Schools try copying the following query and see the result. 29 | 30 | ```SQL 31 | SELECT * FROM Customers 32 | WHERE CustomerID = 1; 33 | ``` 34 | Try playing witht he `WHERE` clause and see the different results you get!! 35 | 36 | ### The LIKE Conditional Selection 37 | 38 | The `LIKE` pattern matching operator can also be used in the conditional selection of the where clause. Like is a very powerful operator that allows you to select only rows that are similar to what you specify. 39 | 40 | The percent sign `%` can be used as a wild card variable to match any possible character that might appear before or after the characters specified. For example: 41 | 42 | ```SQL 43 | SELECT * FROM Customers 44 | WHERE CustomerName LIKE 'A%'; 45 | ``` 46 | 47 | This will match and select any matches of customer names that start with `A` 48 | 49 | But remember... Strings must be in single quotes! 50 | 51 | ### Specifying Exact Data Queries 52 | 53 | We can also specify exact data we are looking to select. 54 | 55 | The `*` to select all records of a function. 56 | 57 | 58 | Easy enough? Perfect, Let's move on! 59 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # EXLskills Free & Open-source SQL Introduction Course 2 | 3 | This is the EXLskills free and open-source SQL Intro Course! 4 | 5 | ## New Course Checklist 6 | 7 | - [ ] Update license parameters, specifically, add examples of what "source code" is in your course 8 | 9 | - [ ] Create the course structure using EOCS (these are your chapters, sequentials, and verticals) 10 | 11 | - [ ] Add your first piece of content to the course layout 12 | 13 | - [ ] Run `eocsutil verify` periodically to check that your course adheres to the EOCS format 14 | 15 | - [ ] Create an issue [here](https://github.com/exlskills/exlskills/issues/new?labels=new-course) to notify EXLskills of your intent to publish this course. After a brief review and validation, you should be ready to publish your EXLskills course. EXLskills team will add the course repo to the course pipeline and you should have your work on the master branch validated, converted, and published with each new commit. 16 | 17 | - [ ] Congratulations, you published this course and can now drop this checklist from your README.md file :) 18 | 19 | ## About EXLskills 20 | 21 | [EXLskills](https://exlskills.com) is on a mission to change education with an open-source online digital skills learning, certification, and peer-to-peer instruction platform that is committed to offering premium-quality courseware for 100% free via our open-source courseware methodology. The contents of this repository are developed using the [EXL Open Courseware Standard](https://github.com/exlskills/exl-open-courseware-standard) and are then imported/pushed to [EXLskills.com](https://exlskills.com) with the [eocsutil](https://github.com/exlskills/eocsutil) tool. This process is 100% transparent, free, and open-source. 22 | 23 | ## Make Money by Sharing Your Skills 24 | 25 | Open source courseware contributions are absolutely critical to the success of the [EXLskills.com](https://exlskills.com) mission, yet we all have to keep the lights on... To this end, we offer a peer-to-peer instruction (tutoring-like) conversational interface that learners can use to have their questions answered by a certified EXLskills instructor. As a certified instructor, you choose your own hours, topics, and even your own rate! You can use the mobile instructor chat app (powered by Intercom) to answer questions on-the-go, or use the web application to go deep with learners via chat, screen share, and video! For more information on how to become an instructor and receive your cash sign-up bonus, visit our [instructor page](https://exlskills.com/instructor/). 26 | 27 | ## Format 28 | 29 | This course is designed, maintained, and accessed through the EOCS (EXL Open Courseware Standard) format. To learn more about this interoperable standard, please refer to [the documentation](https://github.com/exlskills/exl-open-courseware-standard). 30 | 31 | ## Contributing 32 | 33 | All contributions in the form of pull-requests and issues are welcome and greatly appreciated :) 34 | 35 | ## Translations 36 | 37 | We are always working on translating this course to other languages to make it accessible to as many people around the world as we can. To open work on a new language, please create an issue in this repository for the maintainers to guage interest and we will start a translation branch. 38 | 39 | ## License 40 | 41 | The content of this project itself, including, but not limited to the content of all .md (Markdown) and .yaml (YAML) files included in this project, is licensed under the [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-nc-sa/4.0/), and all of the source code provided alongside the content, including, but not limited to to the .java (Java) files, is licensed under the source code license provided in the SOURCE_CODE_LICENSE.md file included in the same directory as this notice. 42 | 43 | If you have any questions regarding the license, please contact [licensing@exlinc.com](mailto:licensing@exlinc.com) 44 | 45 | ## Enterprise / Commercial Licensing & Support 46 | 47 | For enterprise licenses and/or support, please send an email enquiry to [enterprise@exlinc.com](mailto:enterprise@exlinc.com) 48 | # Exlskills-SQL 49 | # Exlskills-SQL 50 | --------------------------------------------------------------------------------