MySQL ์ฌ์คํ
mysql.server restart
MySQL ์ ์
mysql -u root -p
๋ฐ์ดํฐ๋ฒ ์ด์ค ์์ฑ
CREATE DATABASE "๋ฐ์ดํฐ๋ฒ ์ด์ค๋ช
";
๋ฐ์ดํฐ๋ฒ ์ด์ค ์ญ์
DROP DATABASE "์ญ์ ํ ๋ฐ์ดํฐ๋ฒ ์ด์ค ๋ช
"
๋ฐ์ดํฐ ๋ฒ ์ด์ค ์กฐํ
show databases;
๋ฐ์ดํฐ๋ฒ ์ด์ค ์ ํ
use "์ฌ์ฉํ ๋ฐ์ดํฐ๋ฒ ์ด์ค๋ช
";
ํ ์ด๋ธ ์ํ ์กฐํ
desc "ํ
์ด๋ธ๋ช
";
ํ ์ด๋ธ ๋ด์ฉ ์กฐํ
select * from "ํ
์ด๋ธ๋ช
";
'Programming > SQL' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[HackerRank] Basic Select : Japanese Cities' Attributes (MySQL) (0) | 2022.02.03 |
---|---|
[HackerRank] Basic Select : Select By ID (MySQL) (0) | 2022.02.03 |
[HackerRank] Basic Select : Select All (MySQL) (0) | 2022.02.03 |
SQLite (2) | 2021.11.16 |
SQL ๊ธฐ๋ณธ (0) | 2021.11.16 |