CRUD 예제
세팅 데이터베이스 test5 테이블 product 컬럼 id - int, pri, not null, auto incrementproduct_name - varchar(100)category - varchar(50)price - intstock_quantity -intcreated_at - timestamp더보기INSERT INTO product (product_name, category, price, stock_quantity, created_at) VALUES('삼성 스마트폰', '전자제품', 850000, 50, '2023-01-15'),('LG 냉장고', '가전제품', 1200000, 30, '2023-01-20'),('다이슨 청소기', '가전제품', 550000, 20, '2023-02-05')..
2024. 11. 27.