๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ

Programming/SQL

MySQL ์ •๋ฆฌ

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