Database/DB ์ด๋ก
2022. 3. 9.
MySQL Create & Read
MySQL Create & Read MySQL๋ก ์๋ฃ๋ฅผ ์ ์ฅํ๊ณ ์ฝ์ด๋ณด์. Create Insert Into Table_Name (column1, column2 .. ) values (value1, value2, value3 ... ) MySQL์ ์์ ๊ฐ์ ๋ฌธ๋ฒ์ผ๋ก ํ
์ด๋ธ ์์ ROW ๋ฐ์ดํฐ๋ฅผ ์ ์ฅํ ์ ์๋ค. DESC (Table ์ด๋ฆ) DESC(Describe)๋ฅผ ์ด์ฉํ๋ฉด ํ์ฌ ํ
์ด๋ธ์ ๊ตฌ์กฐ๋ฅผ ๋ณผ ์ ์๋ค. ์ ๊ตฌ์กฐ์ ๋ง์ถฐ์ ์๋ฃ๋ฅผ ์์ฑํ๋ฉด ๋๋ค. Insert INTO testTable (title,content,created,author,profile) VALUES('hello','world...',NOW(),'vividswan','student'); id๋ Auto_Incresment ์ต์
์ด ์..