Introduction to relational databases and MySQL

Slides:



Advertisements
Similar presentations
Populating and Querying tables Insert and mostly View (DML)
Advertisements

Northwind Sample database (also supplied with MS Access)
Web Application Development. Define ER model in QSEE Generate SQL Create Database mySQL Write Script to use TableEditor class Process to create A simple.
Web Application Development. Tools to create a simple web- editable database QSEE MySQL (or PHPMyAdmin) PHP TableEditor.
ISM 4212 Lab Creating DB Tables 02 copyright Lars Paul Linden 2007.
Enterprise manager Using the Enterprise manager. Purpose of the Enterprise Manager To design tables To populate / update tables To draw diagrams of tables.
Class11 Introduction to relational databases and MySQL MIS 3501, Fall 2015 Brad Greenwood, PhD MBA Department of MIS Fox School of Business Temple University.
Class06 Conditional Statements MIS 3501, Fall 2015 Brad Greenwood, PhD MBA Department of MIS Fox School of Business Temple University 9/10/2015 © 2014,
Course Introduction MIS 3501, Spring 2016 Jeremy Shafer Department of MIS Fox School of Business Temple University 1/12/2016.
Distribution of Marks For Second Semester Internal Sessional Evaluation External Evaluation Assignment /Project QuizzesClass Attendance Mid-Term Test Total.
Class03 Introduction to Web Development (Hierarchy and the IDE) MIS 3501, Spring 2016 Jeremy Shafer Department of MIS Fox School of Business Temple University.
IMS 4212: Intro to Multi-Table SELECT Statements 1 Dr. Lawrence West, MIS Dept., University of Central Florida Multi-Table SELECT Statements—Topics.
Introduction to JavaScript MIS 3502, Spring 2016 Jeremy Shafer Department of MIS Fox School of Business Temple University 2/2/2016.
Class02 More Arrays MIS 3502, Spring 2016 Jeremy Shafer Department of MIS Fox School of Business Temple University 1/14/2016.
Responsive Web Design (RWD) MIS 3502, Spring 2016 Jeremy Shafer Department of MIS Fox School of Business Temple University 2/11/2016.
Form Data (part 2) MIS 3502, Fall 2015 Brad N Greenwood, PhD Department of MIS Fox School of Business Temple University 11/10/2015 Slide 1.
Form Data (part 1) MIS 3502, Fall 2015 Brad Greenwood, PhD Department of MIS Fox School of Business Temple University 11/10/2015.
Introduction to AJAX MIS 3502, Spring 2016 Jeremy Shafer Department of MIS Fox School of Business Temple University 2/4/2016.
Class05 How to get data from a form MIS 3501, Fall 2015 Brad N Greenwood, PhD MBA Department of MIS Fox School of Business Temple University 9/8/2015.
Class02 Introduction to web development concepts MIS 3501, Spring 2016 Jeremy Shafer Department of MIS Fox School of Business Temple University 1/14/2016.
Sessions and cookies MIS 3501, Spring 2016 Jeremy Shafer Department of MIS Fox School of Business Temple University 4/12/2016.
SQL - Training Rajesh Charles. Agenda (Complete Course) Introduction Testing Methodologies Manual Testing Practical Workshop Automation Testing Practical.
PDO Database Connections MIS 3501, Fall 2016 Jeremy Shafer Department of MIS Fox School of Business Temple University 3/8/2016.
Course Introduction MIS 3501, Fall 2016 Jeremy Shafer Department of MIS Fox School of Business Temple University 8/30/2016.
PDO Database Connections
Class03 Introduction to Web Development (Hierarchy and the IDE)
Brad N Greenwood, PhD MBA
Sessions and cookies MIS 3501 Jeremy Shafer Department of MIS
Form Data (part 2) MIS 3502, Fall 2015 Jeremy Shafer Department of MIS
Databases.
Organize your code with MVC
Database Management Systems II
SQL: Schema Definition and Constraints Chapter 6 week 6
Introduction to web development concepts
Introduction to Web Development (Part 2)
© 2016, Mike Murach & Associates, Inc.
Course Introduction MIS 3501 Jeremy Shafer Department of MIS
Course Introduction MIS 3501 Jeremy Shafer Department of MIS
Session 4 PHP & MySQL.
PHP: includes MIS 3501 Jeremy Shafer Department of MIS
Sessions and cookies (part 2)
Form Data (part 1) MIS 3502, Fall 2015 Jeremy Shafer Department of MIS
Class07 PHP: loops and includes
PDO Database Connections
How to get data from a form
Database Management  .
PHP Functions, Scope MIS 3501, Fall 2015 Jeremy Shafer
PDO Database Connections: Getting data out of the database
PDO Database Connections: Getting data out of the database
Form Data (part 2) MIS 3501 Jeremy Shafer Department of MIS
Course Introduction MIS 3501 Jeremy Shafer Department of MIS
PDO Database Connections
Organize your code with MVC
Sessions and cookies (part 1)
PHP and MySQL.
PDO Database Connections
Form Data (part 2) MIS 3501 Jeremy Shafer Department of MIS
Class07 PHP: loops MIS 3501 Jeremy Shafer Department of MIS
Primary key Introduction Introduction: A primary key, also called a primary keyword, is a key in a relational database that is unique for each record.
Class05 How to get data from a form
MySQL Backup, Transfer and Restore
Data Management Innovations 2017 High level overview of DB
PDO Revisited MIS 3502 Jeremy Shafer Department of MIS
Sessions and cookies MIS 3501 Jeremy Shafer Department of MIS
Class11 Introduction to relational databases and MySQL
Form Data (part 1) MIS3501 Jeremy Shafer Department of MIS
Introduction to MIS3502 MIS 3502 Jeremy Shafer Department of MIS
MVC – Model View Controller
PDO and Arrays MIS 3502 Jeremy Shafer Department of MIS
Presentation transcript:

Introduction to relational databases and MySQL MIS 3501 Jeremy Shafer Department of MIS Fox School of Business Temple University

Course Overview We are here... MySQL To do: 2 Weeks We are here... HTML & CSS 2 Weeks PHP 3 Weeks PDO 2 weeks To do: Organize your code with MVC (1 week) Work with forms (1 week) Use cookies and sessions (1 week)

Overlap with MIS2502 ERD Diagrams

Overlap with MIS2502 (2) Schema Diagrams SQL Statements select productName, listPrice, productCode, categoryName from products, categories where products.categoryID = categories.categoryID AND categoryName = 'Basses';

Terminology Schema Diagrams Can you find an example of a …. primary key foreign key one-to-many relationship many-to-many relationship bridge table

Terminology (2) Primary key Columns Rows

Primary key Foreign key

Column name Data Type Will accept null? productID will automatically increment by one with each new record. This is the level of detail that a developer really needs to get work done.

There are a lot more MySQL data types… but knowing these allow you to do everything you need to do in this class, and in many practical situations.

RECOMMENDED SYNTAX!

Yes, you could do it all from the command line…

phpMyAdmin This is what we’ll use.