GithubHelp home page GithubHelp logo

sql-practice-hw's Introduction

title type duration creator
SQL Practice
Homework
1:00
name city
Drew Mahrt
NYC

SQL Practice

Exercise

Go to the W3Schools SQL Practice website. Click the Customers table on the right side to show the data it contains.

In the requirements section below, you will find tasks to complete on the Customers table. Work through as many as you can. Copy each SQL command into a text file as you complete them.

Requirements

  • Find all of the names of the customers who are from London.

  • Find all of the names of the customers who have a 0 in their postal code

  • Find all of the city names that are in France

  • Update all of the cities in the UK to be London

  • Find the Customer Names and Contact Names for customers who are in North America

  • Find all of the customers whose CustomerName's start with a B and ends with an s.

  • Find all customers who have a postal code with exactly 4 digits.

  • Delete all customers whose ContactNames start with an M

  • Add the following information to the table:

    • id: 110
    • CustomerName: Best Bagels
    • ContactName: John Smith
    • Address: 234 Example St.
    • City: Anytown
    • PostalCode: 12345
    • Country: USA
  • Delete all Customers whose CustomerNames start with an A, or whose ContactNames start with an L

Deliverable

A text file containing each of the SQL commands. Submit a pull request!

Additional Resources


Licensing

  1. All content is licensed under a CC­BY­NC­SA 4.0 license.
  2. All software code is licensed under GNU GPLv3. For commercial use or alternative licensing, please contact [email protected].

sql-practice-hw's People

Contributors

ecarrasco91 avatar charlesdrews avatar

Watchers

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