Giter VIP home page Giter VIP logo

sql-practice-web-010818's Introduction

Intro to SQL

  1. Install the SQLite Browser if you haven't already here
  2. Open the SQLite Browser and click 'File -> Open DataBase'
  3. Choose the chinook.db file from this repo. This database is open source and maintained by Microsoft (SQL is no fun if you don't have any data)

WHAT are the 4 things I can do to data?

Challenges

  1. How would you return all of the rows in the artists table?
  1. How would you select the artist with the name "Black Sabbath"
  1. How would you create a table named 'fans' with an autoincrementing ID that's a primary key and a name field of type text
  1. How would you alter the fans table to have a artist_id column type integer?
  1. How would you add yourself as a fan of the Black Eyed Peas?
  1. How would you return fans that are not fans of the black eyed peas.
  1. Display an artists name next to their album title
  1. Display artist name, album name and number of tracks on that album
  1. How would you return the name of all of the artists in the 'Pop' Genre
  1. I want to return the names of the artists and their number of rock tracks who play Rock music and have move than 30 tracks in order of the number of rock tracks that they have from greatest to least

sql-practice-web-010818's People

Contributors

johann avatar

Watchers

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