Files
java-tutorials/spring-rest-angular/src/main/resources/db/sql/employees.sql
T
lor6 8617faf9cf data rest crud, angular fe (#1199)
* data rest crud, angular fe

* fix formatting, remove extra imports

* fix config

* change student entity to employee

* expose ids

* update boot version, removes ids, check null id
2017-02-27 09:04:00 -06:00

17 lines
382 B
SQL

CREATE TABLE employee (
id INTEGER PRIMARY KEY,
name VARCHAR(30),
age INTEGER
);
INSERT INTO employee (id,name,age)
VALUES (1,'Bryan',20);
INSERT INTO employee (id,name,age)
VALUES (2,'Lisa',30);
INSERT INTO employee (id,name,age)
VALUES (3,'Laura',40);
INSERT INTO employee (id,name,age)
VALUES (4,'Alex',35);
INSERT INTO employee (id,name,age)
VALUES (5,'John',47);