当前位置:网站首页>Bi-sql delete
Bi-sql delete
2022-06-25 01:12:00 【Powerbi white tea】

DELETE sentence
DELETE This word is sure to be familiar to my friends , It's on our keyboard Delete Key .
stay SQL in ,DELETE Statement can be used to delete rows in a table .
Basic grammar
grammar 1:
DELETE FROM The name of the table WHERE Column name = Conditional value
grammar 2:
DELETE FROM The name of the table
grammar 3:
DELETE * FROM The name of the table
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 Delete in [ Product list ] in [ Name of commodity ] by “ White tea ” The data of .
DELETE FROM Product list WHERE Name of commodity = N' White tea '

give the result as follows :


You can see ,[ Name of commodity ] by “ White tea ” The data of has been deleted .
Example 2:
Delete all data in the product table .
DELETE FROM Product list

give the result as follows :


You can see , The data in the product table has been cleared , The table structure is preserved .

Have a chat :
Remember at the beginning , White tea just touched PowerBI, Want to get the data of the warehouse , at that time DBA He asked ,PowerBI Whether the data warehouse will be backfilled .
White tea answered the righteous words at that time : Can't !
But through these issues SQL The basic study of , What I said at that time was really a layman .
So here , White tea has some tips to share with you :
If you didn't IT background , So when others ask about some technology , Never give a random answer
Nothing is 100% certain , Don't talk like white tea
PowerBI There are many connectors , If the account authority is too large , Be sure to make sure that PowerBI Whether the operation will affect the data source
If you are familiar with the connector used , Then you can go to PowerBI Execute the reverse write of log warehouse in , On the contrary, it should be handled carefully


This is white tea , One PowerBI Beginners .
边栏推荐
- [microservices sentinel] cluster link | microservices cluster environment construction
- How about compass stock trading software? Is it safe?
- Scala sample object
- Programmer: did you spend all your savings to buy a house in Shenzhen? Or return to Changsha to live a "surplus" life?
- Syntax highlighting of rich text
- Thermodynamic diagram display correlation matrix
- 卷积与反卷积关系超详细说明及推导(反卷积又称转置卷积、分数步长卷积)
- Redis + Lua implementation of distributed interface current limiting
- QT electronic clock
- A plug-in framework for implementing registration free and login verification with hook technology
猜你喜欢

移动安全工具-jar

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

The acceleration of 100 km is only 5.92 seconds, and the willanda high-performance version leads with the strength of high-energy products

2022安全员-C证考试模拟100题及在线模拟考试

Library management system code source code (php+css+js+mysql) complete code source code

Text editor for QT project practice - Episode 12

The basic principle and application of iterator and enhanced for

4年工作经验,多线程间的5种通信方式都说不出来,你敢信?

利用 Redis 的 sorted set 做每周热评的功能

108 pages (40000 words) proposal for future apartment intelligent design platform project (version 2022)
随机推荐
LLVM TargetPassConfig
ContentResolver,拿到手机短信内容
Text editor for QT project practice -- Episode 9
新手看过来,带你一次性了解“软考”
Ecological escort cloud service providers wave "Intel flag"
adb shell getevent
51 single chip microcomputer multi computer communication
Sanic service startup failed
联想童夫尧:11倍于大势,我们一路攻城拔寨
The acceleration of 100 km is only 5.92 seconds, and the willanda high-performance version leads with the strength of high-energy products
对技术的乐观,正让戴尔取得比想象中更多的成就
Heavyweight: the domestic ide was released, developed by Alibaba, and is completely open source! (high performance + high customization)
QT(36)-rapidjson解析嵌套的json
改造一下 BeanUtils,优雅的实现 List 数据拷贝
Mobile security tool jarsigner
Activity lifecycle
腾讯云WeCity丨你好 2022!
[microservices sentinel] sentinel quick start | building an image | starting the console
Text editor for QT project practice - Episode 10
Scala sample class case calculate