일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- Open EntityManager
- 데이터베이트h2
- JPAmapping
- sql
- 자바제너릭
- JDBC connection pool
- 임베디드타입
- httppie
- JPA프록시
- 스프링부트기본설정
- Git
- jpa
- 제이피큐엘쿼리
- JPA값타입
- embededtype
- OSIV
- 에이치투데이터베이스
- springbootproxy
- springboot기본설정
- gitinitial
- 이해와 원리
- javageneric
- JPAproxy
- JPA Hint & Lock
- jpqlquery
- MySqlType
- 스프링부트
- springbootH2
- spring
- dockercmd
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 |