Git Product home page Git Product logo

sql_challenge's Introduction

sql_challenge

Requirements

Data Modeling (10 points)

Entity Relationship Diagram is included or table schemas provided for all tables (10 points)

Data Engineering (70 points)

All required columns are defined for each table (10 points)

Columns are set to the correct data type (10 points)

Primary Keys set for each table (10 points)

Correctly references related tables (10 points)

Tables are correctly related using Foreign Keys (10 points)

Correctly uses NOT NULL condition on necessary columns (10 points)

Accurately defines value length for columns (10 points)

Data Analysis (20 points)

List the employee number, last name, first name, sex, and salary of each employee (2 points)

List the first name, last name, and hire date for the employees who were hired in 1986 (2 points)

List the manager of each department along with their department number, department name, employee number, last name, and first name (2 points)

List the department number for each employee along with that employee’s employee number, last name, first name, and department name (2 points)

List first name, last name, and sex of each employee whose first name is Hercules and whose last name begins with the letter B (2 points)

List each employee in the Sales department, including their employee number, last name, and first name (2 points)

List each employee in the Sales and Development departments, including their employee number, last name, first name, and department name (4 points)

List the frequency counts, in descending order, of all the employee last names (that is, how many employees share each last name) (4 points)

sql_challenge's People

Contributors

xc1614 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.