728x90
반응형
SMALL
-- 특정 데이터베이스의 테이블 조회
SELECT table_name
FROM information_schema.tables
WHERE table_schema = '데이터베이스_이름';
-- 특정단어를 포함하는 테이블 명 조회
SELECT table_name FROM information_schema.tables
WHERE table_schema = DATABASE() AND table_name LIKE '%ws_te%';
-- 특정 데이터베이스의 테이블 조회
SELECT table_name
FROM information_schema.tables
WHERE table_schema = '데이터베이스_이름';
-- 특정단어를 포함하는 테이블 명 조회
SELECT table_name FROM information_schema.tables
WHERE table_schema = DATABASE() AND table_name LIKE '%ws_te%';
728x90
반응형
LIST
'DB 모음 > MySQL' 카테고리의 다른 글
mysql Toad 테이블 데이터 복사 다른 DB로 옮기기 (0) | 2024.06.03 |
---|---|
MySQL unsigned 간단 사용 (0) | 2024.05.29 |
MySql 특정 단어나(문자) 찾기 LIKE 문 사용. (0) | 2024.05.13 |
mysql CURDATE(), CURTIME, NOW, 사용법 시간, 일별 조회 함수 (0) | 2024.03.28 |