일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 29 | 30 | 31 |
Tags
- 임베디드타입
- httppie
- 이해와 원리
- springbootproxy
- Git
- spring
- JPA Hint & Lock
- 데이터베이트h2
- JPAproxy
- 에이치투데이터베이스
- JPA프록시
- sql
- gitinitial
- 자바제너릭
- jpqlquery
- 스프링부트기본설정
- jpa
- JPAmapping
- springbootH2
- 제이피큐엘쿼리
- 스프링부트
- javageneric
- OSIV
- JDBC connection pool
- JPA값타입
- embededtype
- springboot기본설정
- dockercmd
- MySqlType
- Open EntityManager
Archives
- Today
- Total
빡코
[MySql] 기본 문법 본문
create database library;
show databases;
drop database library;
use library;
show tables;
create table fruit
(
id bigint auto_increment,
name varchar(20),
price int,
stocked_date date,
primary key (id)
);
drop table fruit;
select * from fruit;
#DML Data Manipulation Language
insert into fruit (name, price, stocked_date) values('사과', 1000, '2023-01-01'); #생성
update fruit set price = 1500 where name = '사과'; #수정
delete from fruit where name = '사과'; #삭제
MySql 타입 종류 정리
'database' 카테고리의 다른 글
오라클 관리자 계정 확인하기 +환경변수 설정 + HR 계정 활성화 (0) | 2020.01.30 |
---|---|
[MongoDB] 실행 및 기본 명령어 (0) | 2019.12.28 |
[MongoDB]설치시 에러 조치하기 (0) | 2019.12.28 |