To select,
select * from app_item WHERE name="great";
To create,
INSERT INTO app_item (restaurant_memo, restaurant_name, created_by_id, updated_by_id, image) VALUES ("great", "great", 3, 3, "images/restaurant_posts/peperonchino.jpg");
To delete,
DELETE FROM app_item WHERE id = 24;
Top comments (0)