当前位置:网站首页>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 .
边栏推荐
- I brush the question I - copy the linked list with random pointer
- Lenovo tongfuyao: 11 times the general trend, we attacked the city and pulled out the stronghold all the way
- adb shell getevent
- 卷积与转置卷积
- 移动安全工具-dex2jar
- Scala sample class case calculate
- Ecological escort cloud service providers wave "Intel flag"
- 大厂高频软件测试面试题和答案都帮你准备好啦,备战金九银十
- 新手看过来,带你一次性了解“软考”
- [redis realizes seckill business ③] specific implementation of optimistic lock for oversold problem
猜你喜欢

If the order has not been paid for 30 minutes, it will be automatically cancelled. How can I achieve this?

2022年起重机司机(限桥式起重机)考试题库模拟考试平台操作

汇编语言(3)16位汇编基础框架与加减循环

QT(35)-操作EXCEL-QXlsx-QAxObject

108页(4万字)未来公寓智能化设计平台项目方案建议书2022版

生成订单30分钟未支付,则自动取消,该怎么实现?

Text editor of QT project practice ---------- episode 11

LLVM TargetPassConfig
![[redis realizes seckill service ④] one order for one person, and cannot be purchased repeatedly](/img/75/bc588eb4e54899e93cc7df62e45820.png)
[redis realizes seckill service ④] one order for one person, and cannot be purchased repeatedly

Rich text tables, lists, pictures
随机推荐
2022 melting welding and thermal cutting recurrent training question bank simulated examination platform operation
Cobalt Strike安装教程
Convert MySQL query timestamp to date format
【无标题】
Scala sample class
A plug-in framework for implementing registration free and login verification with hook technology
新手看过来,带你一次性了解“软考”
Première application de l'informatique quantique à la modélisation des flux de puissance dans les systèmes énergétiques à l'Université technique danoise
[micro service sentinel] real time monitoring | RT | throughput | concurrency | QPS
Introduction to smart contract security audit delegatecall (2)
Start service 11111
Use of file class filenamefilter & filefilter in io
mysql查询时间戳转换成日期格式
Text editor for QT project practice - Episode 12
丹麥技術大學首創將量子計算應用於能源系統潮流建模
QT (36) -rapidjson parsing nested JSON
云开发技术峰会·公益编程挑战赛【火热报名中】!
placeholder
Scala IO reads by lexical units and numbers
图书馆管理系统代码源码(php+css+js+mysql) 完整的代码源码