Engineering Project Management Database David H. Williams CS 610.

Slides:



Advertisements
Similar presentations
Database Chapters.
Advertisements

Prepared by Jennifer Kreie, New Mexico State UniversityHosted by the University of Arkansas Microsoft Enterprise Consortium SQL Fundamentals Self-joins,
MySQL. To start go to Login details: login: labuser password:macimd15 – There.
6.830/6.814 Lecture 5 Database Internals Continued September 17, 2014.
Overview Begin 6:00 Quiz15 mins6:15 Review Table Terms25 mins6:40 Short Break10 mins6:50 SQL: Creating Tables60 mins7:50 Break10 mins8:00 Lab – Creating.
Group X7 – Year 2010/2011 – First Year Team Project.
Database A collection of related information stored on a computer and organized in a manner that allows access, retrieval, and use of that data.
SQL SQL (Structured Query Language) is used to define, query, and modify relational databases Every relational database system understands SQL SQL is standard:
CSE 190: Internet E-Commerce Lecture 10: Data Tier.
Basic SQL types String –Char(n): fixed length. Padded –Varchar(n): variable length Number –Integer: 32 bit –Decimal(5,2): –Real, Double: 32 bit,
CS 104 Introduction to Computer Science and Graphics Problems Introduction to Database (2) Basic SQL 12/05/2008 Yang Song.
Murali Mani SQL DDL and Oracle utilities. Murali Mani Datatypes in SQL INT (or) INTEGER FLOAT (or) REAL DECIMAL (n, m) CHAR (n) VARCHAR (n) DATE, TIME.
DT211 Stage 2 Databases Lab 1. Get to know SQL Server SQL server has 2 parts: –A client, running on your machine, in the lab. You access the database.
1 LBSC 690: Week 9 SQL, Web Forms. 2 Discussion Points Websites that are really databases Deep vs. Surface Web.
Utility Service Database Design a database to keep track of service calls for a utility company: Customers call to report problems Call center manages.
Managing the Data SQL Overview. Client\Server RDMS (relational database management system) Client\Server RDMS (relational database management system)
DAT702.  Standard Query Language  Ability to access and manipulate databases ◦ Retrieve data ◦ Insert, delete, update records ◦ Create and set permissions.
MySql In Action Step by step method to create your own database.
ODBC the theMIDDLEWAREthatCONNECTS! Presented by Carter-Davis-Wagner CSIS Spring 2002 Dr. Hoganson.
A Guide to SQL, Eighth Edition Chapter Three Creating Tables.
© 2002 by Prentice Hall 1 David M. Kroenke Database Processing Eighth Edition Chapter 13 Managing Databases with SQL Server 2000.
Introduction to Databases. Overview  What is a Database?  What is a Database Management System?  How is information organized in a database?  What.
Databases in Visual Studio. Database in VisualStudio An MS SQL database are built in Visual studio The Name can be something like ”(localdb)\Projects”
Introduction to SQL Steve Perry
Structured Query Language. Brief History Developed in early 1970 for relational data model: –Structured English Query Language (SEQUEL) –Implemented with.
Your Name Here See Page Notes for Info about Hyperlinks.
Dbwebsites 2.1 Making Database backed Websites Session 2 The SQL… Where do we put the data?
SQL pepper. Why SQL File I/O is a great deal of code Optimal file organization and indexing is critical and a great deal of code and theory implementation.
Database Fred Durao What is a database? A database is any organized collection of data. Some examples of databases you may encounter in.
SQL Data Definition Language (DDL) Using Microsoft SQL Server 1SDL Data Definition Language (DDL)
PL/SQL vs. Transact-SQL. Transact-SQL Central to the use of Microsoft® SQL Server™. All applications that communicate with SQL Server do so by sending.
SELECT e.NationalIDNumber, p.FirstName,p.LastName, City FROM HumanResources.Employee e INNER JOIN Person.Person p on p.BusinessEntityID = e.BusinessEntityID.
Structured Query Language (SQL) IST2101. Structured Query Language – Acronym: SQL – Pronounced as “S-Q-L” [“Ess-Que-El”] – Originally developed by IBM.
JENNIFER DILLY FERRIS STATE UNIVERSITY SEPTEMBER 25, 2011 Database Design.
SQL Basics. 5/27/2016Chapter 32 of 19 Naming SQL commands are NOT case sensitive SQL commands are NOT case sensitive But user identifier names ARE case.
SQL: DDL. SQL Statements DDL - data definition language –Defining and modifying data structures (metadata): database, tables, views, etc. DML - data manipulation.
SQL Basics. What is SQL? SQL stands for Structured Query Language. SQL lets you access and manipulate databases.
SQL Structured Query Language 1. Data Definition Language (DDL) is used to manage table and define data structure i.e. CREATE, ALTER, DROP Data Control.
What’s a database? Data stored in a structured format that lends itself to easy manipulation and recall.
SQL introduction 2013.
1 Principles of Database Systems With Internet and Java Applications Today’s Topic Chapter 7: SQL, the Structured Query Language Instructor’s name and.
SQL Jan 20,2014. DBMS Stores data as records, tables etc. Accepts data and stores that data for later use Uses query languages for searching, sorting,
1/18/00CSE 711 data mining1 What is SQL? Query language for structural databases (esp. RDB) Structured Query Language Originated from Sequel 2 by Chamberlin.
STOCK MARKET By Sushil Hatkar Ramu Bandaru. INTRODUCTION TO THE PROJECT Developed a Data Warehouse by extracting daily web feeds from the finance site.
1 SQL Insert Update Delete Create table Alter table.
An Introduction to SQL For CS Overview of SQL  It is the standard language for relational systems, although imperfect  Supports data definition.
Data Mining Instructor: Dr C. C. Chan Presented by Uday Seelam.
CS 111 – Nov. 8 Databases Database Management Systems (DBMS) Structured Query Language (SQL) Commitment –Please review sections 9.1 – 9.2.
Introduction to MySQL Ullman Chapter 4. Introduction MySQL most popular open-source database application Is commonly used with PHP We will learn basics.
DATABASE DEVELOPMENT WITH VISUAL STUDIO 2010 Chris Dahlberg 1.
SQL constrains and keys. SORTED RESULTS Sort the results by a specified criterion SELECT columns FROM tables WHERE predicates ORDER BY column ASC/DESC;
Oracle Developer. Create Table SQL> create table catalog ( 2 cno varchar2(7), 3 ctitle varchar2(50), 4 primary key (cno)); Table created. SQL> describe.
SSMS SQL Server Management System. SQL Server Microsoft SQL Server is a Relational Database Management System (RDBMS) Relational Database Management System.
Constraints and Views Chap. 3-5 continued (7 th ed. 5-7)
Visual Database Creation with MySQL Workbench 도시정보시스템 설계
Databases and SQL CSCI 201L Jeffrey Miller, Ph.D. HTTP :// WWW - SCF. USC. EDU /~ CSCI 201 USC CSCI 201L.
SQL CSCI 201L Jeffrey Miller, Ph.D. HTTP :// WWW - SCF. USC. EDU /~ CSCI 201 USC CSCI 201L.
MS SQL Create Table Cust USE jxc00 GO CREATE TABLE cust ( cust_id smallint IDENTITY(1,1) NOT NULL, cust_name char(10)
Engineering Project Management Database
CS311 Database Management system
Principles of Software Development
DATABASE SQL= Structure Query Language مبادئ قواعد بيانات
لغة قواعد البيانات STRUCTURED QUERY LANGUAGE SQL))
DATABASE SQL= Structure Query Language مبادئ قواعد بيانات
SQL Code for Byrnetube video
Tracking Usage of Analysis Services with SharePoint
Turn on spool and save to file a.txt
Assignment: SQL #2 Putting Information into a Database
កម្មវិធីបង្រៀន SQL Programming ជាភាសាខ្មែរ Online SQL Training Course
កម្មវិធីបង្រៀន SQL Programming ជាភាសាខ្មែរ Online SQL Training Course
Presentation transcript:

Engineering Project Management Database David H. Williams CS 610

Departmental Needs Employee Information Contractor Information Account Balance Tracking Project Information & Tracking et al

CREATE TABLE employee( emp# CHAR(5) PRIMARY KEY, lname VARCHAR(20) NOT NULL, fname VARCHAR(30), mi CHAR(1), title VARCHAR(20), hire_date DATETIME NOT NULL ); Employee Table

Account Table CREATE TABLE account( acct# CHAR(8) PRIMARY KEY, amount MONEY NOT NULL, update_stamp DATETIME, );

Project Table CREATE TABLE project( proj# CHAR(6) PRIMARY KEY,proj_name VARCHAR(50), proj_mang# CHAR(5) REFERENCES employee(emp#), planner# CHAR(5) REFERENCES employee(emp#), safety_eng# CHAR(5) REFERENCES employee(emp#), acct# CHAR(8) REFERENCES account(acct#), est_start DATETIME, est_end DATETIME, act_start DATETIME, act_end DATETIME, proj_descript VARCHAR(255) );

Contractor Table CREATE TABLE contractor( cont_code CHAR(5) PRIMARY KEY, co_name VARCHAR(20) NOT NULL, address VARCHAR(100), city VARCHAR(30), state CHAR(2), zip CHAR(5), phone VARCHAR(12), contact_lname VARCHAR(20), contact_fname VARCHAR(30), minor_own char(1) CHECK(minor_own IN('y','n')), );

Project – Contractor Table CREATE TABLE pc_table( proj# CHAR(6) REFERENCES project(proj#), cont_code CHAR(5) REFERENCES contractor(cont_code), emps_on_proj INT, PRIMARY KEY (proj#,cont_code) );

Employee Table Account Table Contractor Table Project Table PC Table Reference Flow

Microsoft Visual Studio.NET

SQL Query Analyzer

SQL Server Desktop Engine

Connecting to the Desktop Server