Giter Club home page Giter Club logo

sql-intro's Introduction

Databases

Learning Objectives

Domain Modeling & ERD

  • Draw an Entity Relationship Diagram (ERD)
  • Identify and diagram one-to-one, one-to-many and many-to-many relationships between data entities
  • Distinguish between entities and attributes
  • Discuss data normalization needs and techniques

Basics of Databases, and SQL

Concepts

  • Explain what a database is and why you would use one
  • Explain how a DBMS, a database, and SQL relate to one another
  • Describe a database schema and how it relates to tables, rows and columns

Mechanics

  • Create a new PostgreSQL database
  • Set up a PostgreSQL database schema with a saved SQL file
  • Seed a PostgreSQL database with a saved SQL file
  • Execute basic SQL commands to execute CRUD actions in a database

Relationships in SQL / SQL JOINs

  • Define what a foreign key is
  • Describe how to represent a one-to-many relationship in SQL database
  • Explain how to represent one-to-one and many-to-many relationships in a SQL DB
  • Distinguish between keys, foreign keys, and indexes
  • Describe the purpose of the JOIN
  • Use JOIN to combine tables in a SELECT
  • Describe what it means for a database to be normalized

Framing

This lesson is broken down into three parts...

  1. Domain Modeling & ERDs
  2. Basics of Databases, and SQL
  3. Relationships in SQL

Sample Quiz Questions

  • What is an ERD and why would we use one?
  • What is the distinctive feature of a relational database?
  • How is information stored in a relational database?
  • What are the different types of relations that exist in a relational database?
  • How do we indicate a one-to-many relationship in a database?

Screencasts:

sql-intro's People

Contributors

amaseda avatar joe-gz avatar tylercrosse avatar jshawl avatar robertakarobin avatar

Watchers

James Cloos avatar Michael L Parks 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.