"MySQL - SHOW DATABASES"의 두 판 사이의 차이

잔글 (봇: 자동으로 텍스트 교체 (-</source> +</syntaxhighlight>, -<source +<syntaxhighlight ))
4번째 줄: 4번째 줄:


==예시 1==
==예시 1==
<source lang='mysql' run>
<syntaxhighlight lang='mysql' run>
SHOW DATABASES
SHOW DATABASES
</source>
</syntaxhighlight>


==예시 2==
==예시 2==
<source lang='console'>
<syntaxhighlight lang='console'>
mysql> SHOW DATABASES;
mysql> SHOW DATABASES;
+--------------------+
+--------------------+
22번째 줄: 22번째 줄:
+--------------------+
+--------------------+
6 rows in set (0.01 sec)
6 rows in set (0.01 sec)
</source>
</syntaxhighlight>


==같이 보기==
==같이 보기==

2021년 7월 25일 (일) 15:30 판

1 개요

MySQL SHOW DATABASES
  • 데이터베이스 목록을 조회하는 SQL문

2 예시 1

SHOW DATABASES

3 예시 2

mysql> SHOW DATABASES;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| Northwind          |
| gnuboard           |
| mysql              |
| performance_schema |
| test               |
+--------------------+
6 rows in set (0.01 sec)

4 같이 보기

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}