Hadoop生态hive(五)Hive QL数据库
生活随笔
收集整理的這篇文章主要介紹了
Hadoop生态hive(五)Hive QL数据库
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
(1)查看數(shù)據(jù)庫
show databases;(2)使用數(shù)據(jù)庫
use db;(3)查看當(dāng)前數(shù)據(jù)庫
#與mysql的select database();不一樣 select current_database();(4)創(chuàng)建數(shù)據(jù)庫
create database [if not exists] database_name ; #或者 create schema [if not exists] database_name ;(5)刪除數(shù)據(jù)庫
drop database statementdrop (database|schema) [if exists] database_name [restrict|cascade];?
?
總結(jié)
以上是生活随笔為你收集整理的Hadoop生态hive(五)Hive QL数据库的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: AMD Ryzen AI 暂仅支持 Wi
- 下一篇: 如何让两个路由无缝连接wifi两个路由器