Notice
Recent Posts
Recent Comments
Link
스토리지
[06.11] Database - 01 기본 본문
1. mySQL로 시작
https://www.w3schools.com/sql/default.asp
SQL Tutorial
SQL Tutorial SQL is a standard language for storing, manipulating and retrieving data in databases. Our SQL tutorial will teach you how to use SQL in: MySQL, SQL Server, MS Access, Oracle, Sybase, Informix, Postgres, and other database systems. Start learn
www.w3schools.com
데이터 삽입
INSERT INTO 테이블명(<column이름들,>) VALUES(<데이터,>);
#문자열은 ''로 둘러쌓여야 한다.
insert into users(name, age, married, comment) values('홍길동', 40, 1, '자기소개');
데이터 읽기
SELECT <Column이름들,> FROM <Table이름>
조건이 읽는 데이터 읽기
SELECT [<Column이름들,>] FROM <Table이름> WHERE condition1=value1 AND(OR) condition2=value2...;
'Node.js' 카테고리의 다른 글
[06.15] Node.js 로 mySQL DB와 연결 (0) | 2021.06.15 |
---|---|
[06.15] Database 기본 - 02(Update & Delete) (0) | 2021.06.15 |
[06.10] Router 제작 (0) | 2021.06.10 |
[06.09] express generator가 아닌 깡으로 시작 (0) | 2021.06.09 |
[06.09] 소셜 로그인 01 - postman (0) | 2021.06.09 |
Comments