일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
- data structure
- Linux
- instruction
- DS
- github
- Class
- javascript
- DB
- function
- DoM
- DATAPATH
- php
- react
- architecture
- html
- Java
- MIPS
- system
- MacOS
- XML
- mysql
- control
- Pipelining
- python
- web
- while
- computer
- CSS
- Algorithm
- for
- Today
- Total
목록DB (11)
YYYEJI

DB 연동 실습을 하기 전에 링크(https://yyyeji.tistory.com/307)에 방문에서 PHP 실습을 맞춰주세요! PHP - 웹페이지에서 넘어온 value를 출력 DB - 웹페이지에서 넘어온 value를 저장 실습을 시작해봅시다. 우선 php 파일에 db를 연결하게 됩니다. Welcome Your email address is: 앞서 사용했던 DB 파일에 이어서 실습해보겠습니다. Welcome Your email address is:

SQL wildcards 란? 와일드카드는 문자를 문자열의 다른 문자로 대체하는데 사용합니다. Ex) LIKE etc .. % - 0, 1 또는 하나 이상의 char _ - 하나의 char ↓↓↓ Column1 중에 'a'로 끝나는 모든 data를 출력하는 query 문 ↓↓↓ SELECT * FROM Table_name WHERE Column1 LIKE '%a'; ↓↓↓ Column1 중에 'or' 문자가 포함되는 data를 출력하는 query 문 ↓↓↓ SELECT * FROM Table_name WHERE Column1 LIKE '%or%'; ↓↓↓ Column1 중에 'r'앞에는 한 문자만 'r' 뒤에는 여러 개의 문자가 포함되는 data를 출력하는 query 문 ↓↓↓ SELECT * FROM ..

DBeaver란? 무료로 사용 가능한 MySQL 편집 툴입니다. ↓↓↓ DBeaver Download ↓↓↓ https://yyyeji.tistory.com/231 [MacOS] DBeaver 다운받기 DBeaver란 무료로 사용 가능한 SQL 편집 툴입니다. 다운로드 하러가기 https://dbeaver.io/download/?start&os=win&arch=x86_64 Download | DBeaver Community Download Tested and verified for MS Windows, Linux and Mac OS X. Install: Windows in yyyeji.tistory.com 실습을 시작하겠습니다. ◡̈

DBeaver란 무료로 사용 가능한 MySQL 편집 툴입니다. ↓↓↓ DBeaver Download Link ↓↓↓ https://dbeaver.io/download/?start&os=win&arch=x86_64 Download | DBeaver Community Download Tested and verified for MS Windows, Linux and Mac OS X. Install: Windows installer – run installer executable. It will automatically upgrade version (if needed). MacOS DMG – just run it and drag-n-drop DBeaver into Applications. Debian packa..

DML이란? ✓ Data Manipulation Language ✓ 데이터 추가, 삭제, 조회, 수정을 하는 SQL문입니다. 데이터 조회 데이터 조회 - SELECT field_name SELECT field_name1, field_name2, 어떤 테이블에서 조회 - FROM table_name FROM table_name 조건을 준 데이터 조회 - WHERE field_name = 'value' WHERE field_name = 'value1' 여러 개의 조건을 통해 조회할 때는 and 사용 WHERE field_name1 = 'value1' and 'value2' ... 여러 개의 조건 중 하나만 포함되도 될 때는 like - or 사용 WHERE field_name like 'value1' or ..

DDL이란? ✓ Data Definition Language ✓ 필드 타입 • 정수형 - tinyint, smallint, int • 실수형 - decimal, float, double • 문자형 - char(n), varchar(n), text • 날짜형 - date, time, date time, timestamp char(n) vs varchar(n) • char(n) - n만큼 데이터 공간 고정해 놓는다. • varchar(n) - n은 max 데이터 공간으로 데이터의 공간이 가변적으로 줄었다 늘었다할 수 있다. 예제를 살펴봅시다. CREATE TABLE tablename{ column1 int auto_increment, column1 datatype, column2 datatype not nu..

SQL이란 Structured Query Language의 줄임말로 SQL문을 구성할 때 사용되는 언어입니다. • 모든 관계형 데이터베이스(RDBMS)에 사용되는 언어 • 데이터를 정의, 조작, 쿼리, 액세스를 제공하기 위한 언어 • 데이터를 생성, 수정, 삭제, 조회 등을 관리하기 위해 설계된 언어 SQL의 종류 ① DDL(Data Definition Language) • 테이블, 인덱스, 제약조건 등을 정의 ✓ create - 테이블 생성 ✓ alter - 이미 구성된 테이블의 구조 변경 ✓ drop - 이미 만들어진 테이블 삭제 ✓ rename - 테이블의 이름 변경 ② DML(Data Manipulation Language) • 데이터 추가, 수정, 삭제, 조회 ✓ insert - 데이터 추가 ✓..

Database란? 데이터를 효율적으로 사용하기 위해 만들어진 모음입니다. • 구조화된 정보 • 데이터의 조직화된 모음 데이터베이스 관리 시스템 (DBMS, Database Management System) 데이터를 관리하기 시스템입니다. • 편리하게 저장 • 효율적으로 관리 • 검색할 수 있는 데이터베이스 관리 시스템 데이터베이스의 유형 • 관계형 DB(RDBMS) • 객체지향 DB • 분산 DB • NoSQL 데이터 베이스 etc. 여기서 관계형 DB를 더 자세히 살펴보겠습니다. Relational DBMS (RDBMS) • 관계형 데이터베이스 관리 시스템 • 데이터베이스 내의 테이블은 서로 연관되어 데이터를 저장, 구성, 관리한다. • 데이터를 관리하기 위해 SQL(Structured Query L..