1
2
3
4
5
6
7
|
-- 새로운 도시인 김포시(Gimpo)를 삽입 후 조회 하시오.
-- city의 속성명 생략 가능
INSERT INTO city(id,name,countrycode,district,population) value(4082, 'Gimpo', 'KOR', 'Kyonggi', 395510);
SELECT *
FROM city
WHERE name = 'Gimpo';
| cs |

Mysql Workbench의 world DB를 이용함.
댓글
댓글 쓰기