Содержание
- 2. What is database? A database is a tool for collecting and organizing information. A database is
- 3. What information to store in database? Databases can store information about people, products, orders, or anything
- 4. What we can use instead of database? Many databases start as a list in a word-processing
- 5. Types of database There are two types of database storage: via file database via application database
- 6. File database All data is saved in file and can be accessed through special libraries As
- 7. Application databases Server database is a program that manages data And all queries, requests are performed
- 8. Server database, examples Oracle. Mostly used commercial database MySQL (open-source) 2nd mostly used database MSSQL -
- 9. Database structure Databases are designed to offer an organized mechanism for storing, managing and retrieving information.
- 10. Tables: example Database is MySDU Tables are students, course, teachers Fields are name (string/varchar), surname (string/varchar),
- 11. SQL SQL - structured query language SQL is special language to retrieve, update, delete data from
- 12. SQL data retrieving: example SELECT name,surname FROM contacts WHERE name='John' ORDER BY surname fields to output,
- 13. SQL insert, delete, update INSERT INTO students (name,surname) values (‘Berik’,’Sakenov’) DELETE FROM students WHERE name =
- 14. SQL aggregate functions SELECT COUNT(*) FROM users SELECT MIN(age) FROM users SELECT AVG(age) FROM users SELECT
- 15. To use MySQL Install XAMPP (you will be using it in next semester for Foundations of
- 16. Saving all information in one table
- 17. System of related tables Minimum redundancy Referential integrity Database keys Relational databases store information in atomic
- 19. Скачать презентацию