当前位置:网站首页>Bi-sql like
Bi-sql like
2022-06-25 01:12:00 【Powerbi white tea】
LIKE The operator
LIKE Operators belong to pairs WHERE Supplement to Clause . Usually we use WHERE Clauses know the specific filter conditions , But sometimes , Fuzzy query is also required , This situation requires LIKE.
Horizontal contrast , stay PowerBI Use in SEARCH Functions plus wildcards can achieve similar results .
Portal :
Basic grammar
SELECT Column name (*) FROM The name of the table WHERE Column name LIKE Conditions
matters needing attention
SQL The wildcard in is :%
PowerBI The wildcard in is :? or *
Using examples
Case data :
In the database of white tea machine , There is a name “TEST” The database of , There is a name “ Product list ” Case data for .
Example 1:
stay PowerBI in , Filter out... In the product table [ Name of commodity ] contain “ child ” All information of the word .
SELECT * FROM Product list WHERE Name of commodity LIKE N'% child %'
give the result as follows :
Example 2:
stay PowerBI in , Filter out... In the product table [ Name of commodity ] contain “ shoes ” All the information about .
SELECT * FROM Product list WHERE Name of commodity LIKE N'% shoes '
give the result as follows :
Example 3:
stay PowerBI in , Filter out... In the product table [ Item number ] With “2” All the information at the beginning .
SELECT * FROM Product list WHERE Item number LIKE '2%'
give the result as follows :
Example 4:
stay PowerBI in , Filter out... In the product table [ Classification of goods ] It doesn't contain “ Babies ” All the information about .
SELECT * FROM Product list WHERE Classification of goods NOT LIKE N'% Infant %'
give the result as follows :
This is white tea , One PowerBI Beginners .
边栏推荐
- 卷积与反卷积关系超详细说明及推导(反卷积又称转置卷积、分数步长卷积)
- [untitled]
- 重磅:国产IDE发布,由阿里研发,完全开源!(高性能+高定制性)
- Mobile security tool jarsigner
- Previous basic review
- Mysql database Chapter 1 Summary
- 【无标题】
- vb学习什么[通俗易懂]
- 4 ans d'expérience de travail, 5 modes de communication Multi - thread ne peuvent pas être décrits, vous osez croire?
- 云开发技术峰会·公益编程挑战赛【火热报名中】!
猜你喜欢
I 刷题 I — 复制带随机指针的链表
Scala IO reads by lexical units and numbers
2022年全国最新消防设施操作员(高级消防设施操作员)模拟题及答案
2022r1 quick opening pressure vessel operation test questions and answers
汇编语言(3)16位汇编基础框架与加减循环
Syntax highlighting of rich text
大厂高频软件测试面试题和答案都帮你准备好啦,备战金九银十
Text editor for QT project practice - Episode 10
[micro service sentinel] real time monitoring | RT | throughput | concurrency | QPS
2022年危险化学品经营单位安全管理人员考试试题及模拟考试
随机推荐
I 刷题 I — 复制带随机指针的链表
51单片机多机通信
EVM Brief
If the order has not been paid for 30 minutes, it will be automatically cancelled. How can I achieve this?
Super detailed description and derivation of convolution and deconvolution (deconvolution is also called transpose convolution and fractional step convolution)
Mobile security tool jarsigner
Picture rotation move zoom gradient
Thermodynamic diagram display correlation matrix
生态护航 云服务商挥起“英特尔大旗”
Scala sample class case calculate
51 single chip microcomputer multi computer communication
Scala trait exercise
How about compass stock trading software? Is it safe?
108页(4万字)未来公寓智能化设计平台项目方案建议书2022版
A website for programmers with a monthly salary of 30K
Sanic服务启动失败
bindservice方法实现音乐播放暂停
108 pages (40000 words) proposal for future apartment intelligent design platform project (version 2022)
adb shell getevent
汇编语言(2)基础知识-debug