Оцените презентацию от 1 до 5 баллов!
Тип файла:
ppt / pptx (powerpoint)
Всего слайдов:
13 слайдов
Для класса:
1,2,3,4,5,6,7,8,9,10,11
Размер файла:
192.11 kB
Просмотров:
68
Скачиваний:
0
Автор:
неизвестен
Слайды и текст к этой презентации:
№1 слайд![XAMPP. Basic objects of](/documents_6/1c86e8b7a83f08532abd60253dabef24/img0.jpg)
Содержание слайда: XAMPP. Basic objects of MySQL. Data types of MySQL.
use the terms attribute, entity, index record, table and tuple to describe databases
know data types in DBMS
№2 слайд![Main objects Tables Data](/documents_6/1c86e8b7a83f08532abd60253dabef24/img1.jpg)
Содержание слайда: Main objects
Tables – Data collection objects
Queries – Questions of your data
Forms – Predefined format to display or enter data
Reports – Printable version of database information
Field (Column): a single piece of information. Could be a name, or a number.
Record (Row): a collection of related fields. A number of pieces of information that relate to the same object. Records on an employee, their name, address, social security number, phone number, etc. This would be the employee’s record.
Table (File): a collection of related records. If you put all the employee records together, you have a table of employees.
№3 слайд![MySQL is a database](/documents_6/1c86e8b7a83f08532abd60253dabef24/img2.jpg)
Содержание слайда: MySQL is a database management system.
SQL stands for the Structured Query Language. It defines how to insert, retrieve, modify and delete data.
Basic MySQL Operations:
Create table
Insert records
Load data
Retrieve records
Update records
Delete records
Modify table
Join table
Optimize table
№4 слайд![Local server XAMPP XAMPP is a](/documents_6/1c86e8b7a83f08532abd60253dabef24/img3.jpg)
Содержание слайда: Local server XAMPP
XAMPP is a free and open source cross-platform web server solution stack package developed by Apache Friends, consisting mainly of the Apache HTTP Server, MySQL(M), database, and interpreters for scripts written in the PHP and Perl programming languages.
XAMPP stands for Cross-Platform, XMP (X), Apache (A), MySQL(M), PHP (P) and Perl (P).
№5 слайд![Creating a MySQL Database](/documents_6/1c86e8b7a83f08532abd60253dabef24/img4.jpg)
Содержание слайда: Creating a MySQL Database using XAMPP
1) Open your browser and enter http://localhost/phpmyadmin. This will bring you to the MySQL setup page:
№6 слайд![](/documents_6/1c86e8b7a83f08532abd60253dabef24/img5.jpg)
№7 слайд![Ensure the database was](/documents_6/1c86e8b7a83f08532abd60253dabef24/img6.jpg)
Содержание слайда: 3) Ensure the database was successfully created:
№8 слайд![MySQL - Data Types MySQL uses](/documents_6/1c86e8b7a83f08532abd60253dabef24/img7.jpg)
Содержание слайда: MySQL - Data Types
MySQL uses many different data types broken into three categories −
Numeric
Date and Time
String Types.
№9 слайд![Numeric Data Types MySQL uses](/documents_6/1c86e8b7a83f08532abd60253dabef24/img8.jpg)
Содержание слайда: Numeric Data Types
MySQL uses all the standard ANSI SQL numeric data types, so if you're coming to MySQL from a different database system, these definitions will look familiar to you. The following list shows the common numeric data types and their descriptions:
INT
TINYINT
SMALLINT
MEDIUMINT
BIGINT
FLOAT(M,D)
DOUBLE(M,D)
DECIMAL(M,D)
№10 слайд![Date and Time Types The MySQL](/documents_6/1c86e8b7a83f08532abd60253dabef24/img9.jpg)
Содержание слайда: Date and Time Types
The MySQL date and time datatypes are as follows −
DATE − A date in YYYY-MM-DD format
DATETIME − A date and time combination in YYYY-MM-DD HH:MM:SS format
TIMESTAMP - A timestamp between midnight, January 1st, 1970 and sometime in 2037. This looks like the previous DATETIME format, only without the hyphens between numbers; 3:30 in the afternoon on December 30th, 1973 would be stored as 19731230153000 (YYYYMMDDHHMMSS ).
TIME − Stores the time in a HH:MM:SS format.
YEAR(M) − Stores a year in a 2-digit or a 4-digit format
№11 слайд![String Types Although the](/documents_6/1c86e8b7a83f08532abd60253dabef24/img10.jpg)
Содержание слайда: String Types
Although the numeric and date types are fun, most data you'll store will be in a string format. This list describes the common string datatypes in MySQL.
CHAR(M) − A fixed-length string between 1 and 255 characters
VARCHAR(M) − A variable-length string between 1 and 255 characters in length.
BLOB or TEXT − A field with a maximum length of 65535 characters.
TINYBLOB or TINYTEXT − A BLOB or TEXT column with a maximum length of 255 characters
MEDIUMBLOB or MEDIUMTEXT − A BLOB or TEXT column with a maximum length of 16777215 characters.
LONGBLOB or LONGTEXT − A BLOB or TEXT column with a maximum length of 4294967295 characters.
№12 слайд![Exercises Create a database](/documents_6/1c86e8b7a83f08532abd60253dabef24/img11.jpg)
Содержание слайда: Exercise s
Create a database using XAMPP with 6 different data types (1-3 of each type)
№13 слайд![Questions List the tables you](/documents_6/1c86e8b7a83f08532abd60253dabef24/img12.jpg)
Содержание слайда: Questions
List the tables you might need to store a database on a football League.
Choose one of the tables from above and write down all data types you will use.
List the tables you might need to record details for an online store
Choose one of the tables from above and write down all data types you will use.