当前位置:网站首页>MYSQL虚拟列
MYSQL虚拟列
2022-06-29 08:22:00 【蜗牛的小牛】
有时候为了方便检索,会建一些虚拟列来辅助我们查询,如下方式:从类型为text的字段(json)拆分出来名称为:client_sv的虚拟列。
ALTER TABLE ot_device ADD COLUMN client_sv VARCHAR(50) AS (json_unquote(json_extract(attributes,’$.client.sv’))) VIRTUAL;
边栏推荐
- NP5 格式化输出(三)
- Did you really make things clear when you were promoted or reported?
- 工作好多年,回忆人生--高中三年
- P6772 [noi2020] gourmet (matrix fast power)
- Batch processing of experimental contact angle data matlab analysis
- TypeScript 变量声明 —— 类型断言
- CDGA|交通行业做好数字化转型的核心是什么?
- P4769-[noi2018] bubble sort [combinatorics, tree array]
- 对话| 数字时代,隐私计算的发展前景与挑战
- Oracle subquery
猜你喜欢

闭关修炼(二十)如何做好单元测试

Baodawei of the people's Chain: break down barriers and establish a global data governance sharing and application platform

Oracle subquery

ThinkPHP 6 使用 mongoDB

【最全】PS各个版本下载安装及小试牛刀教程(PhotoShop CS3 ~~ PhotoShop 2022)

MT-yolov6训练及测试

今年的网络安全“体检”你做了吗?

各種級數(調和、幾何)總結

工厂模式

ThreadLocal thread variable
随机推荐
Open an account to buy funds. Is it safe to open an account through online funds-
晋升或汇报,你真的把事情讲清楚了吗?
Verilog 数据类型
2022第六季完美童模 合肥赛区 决赛圆满落幕
标准|中国支付清算协会发布首个隐私计算金融规范
How to recover data loss of USB flash disk memory card
Operating system product key viewing method
华为设备配置小型网络WLAN基本业务
Pointnet的网络学习
2022年7月系统集成项目管理工程师认证招生简章
[untitled]
New paid Tarot calculation source code (with building tutorial)
编程语言
图解SOC中的Timer(一):系统里有哪些Timer?
实战回忆录从webshell开始突破边界
TypeScript 变量声明 —— 类型断言
2022年7月(软考高级)信息系统项目管理师认证招生简章
uniapp引入组件不生效解决方法
Huawei equipment is configured with medium-sized network WLAN basic services
Actual combat memoir starts from webshell to break through the border