#4 Data Manipulation Language
#4.0 Introduction
#4.1 Update Commands
UPDATE movies SET rating = 10; -- ๋ชจ๋ rating ๊ฐ์ด 10์ผ๋ก ๋ณ๊ฒฝ๋จ
DELETE movies; -- ๋ชจ๋ movies ๋ฅผ ์ญ์ ํจ
-- WHERE ๋ฅผ ์ฌ์ฉํด ์์น๋ฅผ ์ขํ & AND ๋ฑ ๋ค์ํ ์กฐ๊ฑด์ ์ถ๊ฐํ ์ ์
UPDATE movies SET rating = 10 WHERE title = 'The Lord of The Rings';
UPDATE movies SET rating = rating + 2 WHERE title = 'The Lord of The Rings';
-- ใด์
๋ฐ์ดํธํ ๋ฐ์ดํฐ๋ฅผ ์ฐธ์กฐํ ์ ์์
DELETE movies WHERE movie_id = 2;#4.2 SELECT Command
#4.3 FROM Clause
#4.4 SELECT Expressions
#4.5 Movies Database
#4.6 WHERE Clause
#4.7 WHERE Predicates
#4.8 SELECT Case
#4.9 ORDER BY Clause
#4.10 LIMIT and OFFSET Clauses
#4.11 GROUP BY Clause
4.12 GROUP BY Gothas
#4.13 HAVING Clause
#4.14 Super Practice Part 1
#4.15 Super Practice Part 2
#4.16 Super Practice Part 3
#4.17 Views
Last updated