当前位置:网站首页>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 .
边栏推荐
- [microservices sentinel] cluster link | microservices cluster environment construction
- Previous basic review (link)
- The optimism about technology is making Dell achieve more than expected
- Convolution and transpose convolution
- Redis + Lua implementation of distributed interface current limiting
- 2022年全国最新消防设施操作员(高级消防设施操作员)模拟题及答案
- Can communication experiment between C and C
- placeholder
- Start service 11111
- Text editor of QT project practice ---------- episode 8
猜你喜欢

图书馆管理系统代码源码(php+css+js+mysql) 完整的代码源码

2022年危险化学品经营单位安全管理人员考试试题及模拟考试

4 ans d'expérience de travail, 5 modes de communication Multi - thread ne peuvent pas être décrits, vous osez croire?

大厂高频软件测试面试题和答案都帮你准备好啦,备战金九银十

Text editor for QT project practice - Episode 12

51单片机多机通信
![[microservices sentinel] sentinel quick start | building an image | starting the console](/img/88/a01c8120f6117f1b8e4463cf6f685f.png)
[microservices sentinel] sentinel quick start | building an image | starting the console

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

The interview questions and answers for the high-frequency software test of Dachang help you prepare for the golden nine silver ten

Text editor of QT project practice ---------- episode 11
随机推荐
网上开户选哪个证券公司?网上开户安全么?
I brush the question I - copy the linked list with random pointer
QT (35) - operate excel qxlsx qaxobject
Contentresolver, get the SMS content
汇编语言(3)16位汇编基础框架与加减循环
What to learn in VB [easy to understand]
卷积与反卷积关系超详细说明及推导(反卷积又称转置卷积、分数步长卷积)
Scala trait exercise
中金财富证券开户佣金多少呢?股票开户交易安全靠谱吗?
Leetcode 1248. 统计「优美子数组」(害,突然发现只会暴力枚举了)
Databinding quick start (still using findviewbyid?)
A small crawler program written by beginners
2022R1快开门式压力容器操作考题及答案
activity生命周期
新手看过来,带你一次性了解“软考”
对技术的乐观,正让戴尔取得比想象中更多的成就
Text editor of QT project practice ---------- episode 11
[practical series] full WiFi coverage at home
[microservices sentinel] cluster link | microservices cluster environment construction
Scala sample class case calculate