当前位置:网站首页>Consolidation of Questionnaire Questions and Answers
Consolidation of Questionnaire Questions and Answers
2022-08-09 09:22:00 【research monk who doesn't like research】
The obtained question and answer are in json format, and the field is map
It should be noted that the two fields after the explosion do not need parentheses. If there is a where, where is placed at the end
select q_key, q_valuefrom questionnairelateral view explode(questions) t as q_key, q_value
You can use lateral view explode multiple times
select q_key, q_value, a_key, a_valuefrom questionnairelateral view explode(questions) t as q_key, q_valuelateral view explode(answers) t2 as a_key, a_valuewhere q_key=a_key
边栏推荐
- 学习栈的心得和总结(数组实现)
- 进入大厂的面试经验(P7)
- JS报错-Uncaught TypeError: 'caller', 'callee', and 'arguments' properties may not be accessed on...
- shell 定时监控并处理脚本
- 【百日行动】炎炎夏日安全不松懈 消防培训“加满”安全知识“油”
- 第四讲 SVN
- 一个项目的整体测试流程有哪几个阶段?测试方法有哪些?
- H5页面px不对,单位不对等问题
- 黑盒测试常见错误类型说明及解决方法有哪些?
- MySQL Leak Detection and Filling (2) Sorting and Retrieval, Filtering Data, Fuzzy Query, Regular Expression
猜你喜欢
随机推荐
绝了,这套RESTful API接口设计总结
When and How to use MALLOC
性能测试的基本概念是什么?做好性能测试需要掌握哪些知识?
【场景化解决方案】钉钉财务审批同步金蝶云星空
[Environmental Construction] tensorrt
使用Protege4和CO-ODE工具构建OWL本体的实用指南-1.3版本(7.4 Annotation Properties-注释属性)
通用的测试用例编写大全(登录测试/web测试等)
location.href用法
centos7 mysql异常ERROR 2002 (HY000)分析解决
ARMv8/ARMv9视频课程-Trustzone/TEE/安全视频课程
MySQL查漏补缺(五)不熟悉的知识点
Calendar类和Date类转换时区 && 部分时区城市列表
HD Satellite Map Browser
lateral view explode的另一种实现方式
js在for循环中按照顺序响应请求
本体开发日记05-努力理解SWRL(下)
MySQL indexes
【环境搭建】onnxruntime
MySQL查漏补缺(三) 计算字段
对于栈、递归的关系的理解