摘要: 一、环境清单 hostname 说明 已安装软件 hadoop235 mysql5.7 hadoop236 namenode hadoop3.0,hive-3.1.2 hadoop237 SecondaryNameNode、JobHistoryServer hadoop3.0 hadoop238 R 阅读全文
posted @ 2022-04-19 19:37 UsingStuding 阅读(326) 评论(0) 推荐(0) 编辑
摘要: 问题描述 数据SQL create table users( user_id int primary key auto_increment, banned Enum('No', 'Yes'), `role` Enum('client','driver', 'partner') )charset=ut 阅读全文
posted @ 2022-01-25 10:54 UsingStuding 阅读(32) 评论(0) 推荐(0) 编辑
摘要: 问题描述 数据SQL CREATE TABLE `salary` ( `id` int NOT NULL AUTO_INCREMENT, `amount` int DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf 阅读全文
posted @ 2022-01-25 10:05 UsingStuding 阅读(366) 评论(0) 推荐(0) 编辑
摘要: 题目描述 数据SQL CREATE TABLE `salary` ( `id` int NOT NULL AUTO_INCREMENT, `employee_id` int DEFAULT NULL, `amount` int DEFAULT NULL, `pay_date` date DEFAUL 阅读全文
posted @ 2022-01-23 10:30 UsingStuding 阅读(258) 评论(0) 推荐(0) 编辑
摘要: 数据SQL CREATE TABLE `Employee` ( `id` int NOT NULL AUTO_INCREMENT, `name` varchar(32) DEFAULT NULL, salary int DEFAULT NULL PRIMARY KEY (`id`) ) ENGINE 阅读全文
posted @ 2022-01-22 12:06 UsingStuding 阅读(59) 评论(0) 推荐(0) 编辑
摘要: 问题描述 数据SQL CREATE TABLE `Employee` ( `id` int NOT NULL AUTO_INCREMENT, `name` varchar(32) DEFAULT NULL, `departmentId` int DEFAULT NULL, `ManagerId` i 阅读全文
posted @ 2022-01-22 11:25 UsingStuding 阅读(35) 评论(0) 推荐(0) 编辑
摘要: 问题描述 数据SQL create table salary ( id int primary key auto_increment, employee_id int, amount int, pay_date date ); create table employee ( employee_id 阅读全文
posted @ 2022-01-22 10:48 UsingStuding 阅读(82) 评论(0) 推荐(0) 编辑
摘要: hive sql中with as语句 环境:hive3.x 使用with as子句进行多表关联时,在最终的关联sql中为某些字段赋予默认值,抛出异常: FAILED: SemanticException [Error 10025]: Expression not in GROUP BY key xx 阅读全文
posted @ 2022-01-18 12:14 UsingStuding 阅读(502) 评论(0) 推荐(0) 编辑
摘要: 问题 答案 create table Employee( id int primary key auto_increment, name varchar(32), salary int , departmentId int )charset=utf8mb4; create table departm 阅读全文
posted @ 2022-01-13 10:39 UsingStuding 阅读(85) 评论(0) 推荐(0) 编辑
摘要: 问题 数据SQL create table log01 ( id int primary key auto_increment, num int )charset=UTF8MB4; insert into log01(num) values(1), (1), (1), (2), (2), (3), 阅读全文
posted @ 2022-01-12 23:17 UsingStuding 阅读(73) 评论(0) 推荐(0) 编辑