https://github.com/benslabbert/jdbc-cmd-example
https://github.com/benslabbert/jdbc-cmd-example
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/benslabbert/jdbc-cmd-example
- Owner: BenSlabbert
- Created: 2018-03-25T17:31:41.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-25T17:58:29.000Z (over 8 years ago)
- Last Synced: 2025-02-12T15:48:15.642Z (over 1 year ago)
- Language: Java
- Size: 6.84 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
add schema called `pets`
`create schema pets`
add the following table:
`create table pets.pet
(
id bigint auto_increment
primary key,
name varchar(50) null,
age int default 0 null,
type varchar(10) null,
constraint pet_id_uindex
unique (id)
)
engine=InnoDB
;
`