当前位置:网站首页>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 .
边栏推荐
- 移动安全工具-dex2jar
- 图片旋转移动缩放渐变
- 腾讯云WeCity丨产业联合 协同创新 共贺新春!
- Examination questions and mock examination for safety management personnel of hazardous chemical business units in 2022
- QT (36) -rapidjson parsing nested JSON
- EVM Brief
- Scala sample class case calculate
- 2022R1快开门式压力容器操作考题及答案
- 重磅:国产IDE发布,由阿里研发,完全开源!(高性能+高定制性)
- Databinding quick start (still using findviewbyid?)
猜你喜欢
[redis realizes seckill service ④] one order for one person, and cannot be purchased repeatedly
The acceleration of 100 km is only 5.92 seconds, and the willanda high-performance version leads with the strength of high-energy products
丹麥技術大學首創將量子計算應用於能源系統潮流建模
Text editor for QT project practice -- Episode 9
Thermodynamic diagram display correlation matrix
Text border format and text block of rich text
汇编语言(2)基础知识-debug
2022R1快开门式压力容器操作考题及答案
Custom control - round dot progress bar (imitating one key acceleration in security guard)
Text editor for QT project practice - Episode 12
随机推荐
Mysql database Chapter 1 Summary
bindservice方法实现音乐播放暂停
Scala trait exercise
I 刷题 I — 复制带随机指针的链表
中金财富证券开户佣金多少呢?股票开户交易安全靠谱吗?
汇编语言(2)基础知识-debug
汇编语言(3)16位汇编基础框架与加减循环
Start service 11111
4 years of working experience, and you can't tell the five communication modes between multithreads. Can you believe it?
Redis + Lua implementation of distributed interface current limiting
Scala responsibility chain pattern
Scala trait inheritance class
Mobile security tool jarsigner
启动服务11111
Previous basic review (link)
Mobile security tool -dex2jar
Previous basic review
我想问一下兴业证券怎么开户?通过链接办理股票开户安全吗
Transform BeanUtils to achieve list data copy gracefully
4年工作經驗,多線程間的5種通信方式都說不出來,你敢信?