sql - 删除有条件的表 - Oracle
问题描述
是否可以删除有条件的表格?
例如:
DROP table table_name where (select column from table) = (select column from table2)
注意:没有 PLSQL
解决方案
不,您不能在drop table 语句中添加 where
你会得到错误ORA-00933: SQL command not properly ended
推荐阅读
- python - 向现有的 sqlalchemy 类添加一列
- php - Android 应用内订阅收据验证响应显示错误 503 - 发生内部错误
- python - 仅列出 Google 云存储中的文件
- android - Cordova - 更改默认网页视图以支持 AdX
- postgresql - 在 Google Cloud SQL 上的文本搜索期间对同义词词典使用 dict_xsyn 扩展
- microsoft-teams - 为聊天机器人创建 Microsoft Teams 应用程序
- java - 我无法将新值插入数据库
- python - 访问 numpy ndarray 中的各个列
- java - 如何让 Apache Mina SSHD 客户端在尝试其他任何操作之前等待服务器主机密钥验证完成?
- email - 如何在 GitLab 中成功创建新的公共项目时发送通知?