[웹 서비스 개발] MySQL_Intro_2024

김광일·2024년 11월 15일

웹 서비스 개발

목록 보기
28/45

일자 : 11주차 1차시

[1] What is MySQL?

  • MySQL is a relational database management system
  • MySQL is open-source
  • MySQL is free
  • MySQL is ideal for both small and large applications
  • MySQL is very fast, reliable, scalable, and easy to use
  • MySQL is cross-platform
  • MySQL is compliant with the ANSI SQL standard
  • MySQL was first released in 1995
  • MySQL is developed, distributed, and supported by Oracle Corporation
  • MySQL is named after co-founder Ulf Michael "Monty" Widenius's daughter: My

[2] What is RDBMS?

  • RDBMS stands for Relational Database Management System.
  • RDBMS is a program used to maintain a relational database.
  • RDBMS is the basis for all modern database systems such as MySQL, Microsoft SQL Server, Oracle, and Microsoft Access.
  • RDBMS uses SQL queries to access the data in the database.

[3] What is a Database Table?

  • A table is a collection of related data entries, and it consists of columns and rows.
  • A column holds specific information about every record in the table.
  • A record (or row) is each individual entry that exists in a table.

[4] Northwind "Customers" table

CustomerIDCustomerNameContactNameAddressCityPostalCodeCountry
1Alfreds FutterkisteMaria AndersObere Str. 57Berlin12209Germany
2Ana Trujillo Emparedados y heladosAna TrujilloAvda. de la Constitución 2222México D.F.05021Mexico
3Antonio Moreno TaqueríaAntonio MorenoMataderos 2312México D.F.05023Mexico
4Around the HornThomas Hardy120 Hanover Sq.LondonWA1 1DPUK
5Berglunds snabbköpChristina BerglundBerguvsvägen 8LuleåS-958 22Sweden
  • The columns in the "Customers" table above are: CustomerID, CustomerName, ContactName, Address, City, PostalCode and Country. The table has 5 records (rows).

[5-1] Customers Table

CustomerIDCustomerNameContactNameAddressCityPostalCodeCountry
1Alfreds FutterkisteMaria AndersObere Str. 57Berlin12209Germany
2Ana Trujillo Emparedados y heladosAna TrujilloAvda. de la Constitución 2222México D.F.05021Mexico
3Antonio Moreno TaqueríaAntonio MorenoMataderos 2312México D.F.05023Mexico
4Around the HornThomas Hardy120 Hanover Sq.LondonWA1 1DPUK
5Berglunds snabbköpChristina BerglundBerguvsvägen 8LuleåS-958 22Sweden

[5-2] Orders Table

OrderIDCustomerIDEmployeeIDOrderDateShipperID
10278581996-08-122
10280521996-08-141
10308271996-09-183
10355461996-11-151
10365331996-11-272
10383481996-12-163
10384531996-12-163
  • The relationship between the "Customers" table and the "Orders" table is the CustomerID column:

[5-3] Shippers Table

ShipperIDShipperNamePhone
1Speedy Express(503) 555-9831
2United Package(503) 555-3199
3Federal Shipping(503) 555-9931
  • The relationship between the "Orders" table and the "Shippers" table is the ShipperID column:

profile
안녕하세요, 사용자들의 문제 해결을 중심으로 하는 프론트엔드 개발자입니다. 티스토리로 전환했어요 : https://pangil-log.tistory.com

0개의 댓글