Apache Hive DDL DML, Queries
Apache Hive DDL DML, Queries
There are several types of Hive DDL commands, we commonly use. such as:
1. Create Database Statement
2. Hive Show Database
3. Drop database
4. Creating Hive Tables
5. Browse the table
6. Altering and Dropping Tables
7. Hive Select Data from Table
8. Hive Load Data
Let’s discuss each Hive DDL commands in detail:
a. Create Database Statement
Basically, in Apache Hive, the database is a namespace or a collection of tables.
Syntax-
For Example-