원형>

SELECT count(*)

FROM information_schema.tables

WHERE table_schema = '스키마이름'


>

SELECT count(*) AS number_of_tables

FROM information_schema.tables

WHERE table_schema = 'test5'


'DB > MySQL' 카테고리의 다른 글

datetime 컬럼을 분단위로 group by 하기  (1) 2020.09.29
5.7 DB 파일로 복원  (0) 2020.06.04
외부 접근 허용  (0) 2019.10.28
SELECT UPDATE  (0) 2011.06.30
Create table select, Insert select  (0) 2011.06.17

+ Recent posts