Git Product home page Git Product logo

sqlbasics's Introduction

SQLBasics

SQL Basics from Treehouse

In SQL Basics we’ll take a look at what databases are and how you can retrieve information from them. Databases can store massive amounts of information to be retrieved at a later date. Databases act as the memory for dynamic web sites or mobile apps.

https://teamtreehouse.com/library/sql-basics

SQL Advanced

Building off of previous SQL courses, this course will begin to introduce the student to more complex database concepts. Students will learn to think about data as sets and subsets and practice achieving desired query results via such operations as inner and outer joins, unions and except. They will also be introduced to the concepts of Set Theory and Database Normalization to aid in understanding good query practices.

-What is a Relational Database?

-Database Normalization

-Database Keys

-Table Relationships

-Set Operations

Database Normalization

In this stage, we will explore what a relational database is, why we structure databases in this way, and talk a little bit about the benefits relational databases. Why We Make Databases "Relational"

-Database Normalization

-How Normalization Helps Us

-Database Normalization Review

-Set Theory and Relational Databases

-Theoretical Groundwork

-Set Theory Review

Database Keys

In this stage, we introduce the concept of "Keys." Without Keys, databases as we know them would not be able to function.

-Unique Keys

-Primary Keys

-Database Keys Review

-Foreign Keys

-Foreign Keys Review

Table Relationships

Relationships in databases help us to describe the way that one tables links or relates to another.

-One to Many Relationships

-Many to Many Relationships

-One to One Relationships

-Modeling Table Relationships

-Table Relationships Review

Joining Table Data with SQL

We will be transitioning from mostly theoretical concepts to hands-on application of the concepts we’ve covered in the previous three stages. We will see how to use table relationships to produce query results that combine data from multiple tables.

-Join Queries

-Inner Joins

-Outer Joins

-Review: Table Joins

-Review and Practice

-JOIN Queries (Quiz)

Subqueries

are one of the most advanced concepts to learn in SQL query writing. Seeing lots of examples and getting lots of practice will help solidify the concept.

-What are Set Operations?

-Union Operations

-Union All Operations

-Intersect Operations

-Except Operations

-Set Operations Review 5 questions

-Review and Practice

-Set Operations(Quiz)

Advanced Subqueries

As you begin using subqueries, be advised that a poorly structured subquery written against a large table or tables can impact overall query performance. Be careful if you are writing subqueries against data sets that consume tables with row counts in the million-plus row range.

Correlated Subqueries

This course does not cover the concept called Correlated Subqueries, which are slightly different in how they tie in with the outer query. Most of the time a regular subquery will do what you need, but correlated subqueries can be handy, too. These are especially heavy weight on the database engine, as they run the subquery many times; once per row in the outer query.

Information on all subquery types including correlated subqueries

sqlbasics's People

Contributors

coryf65 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.