当前位置:网站首页>数据库问题MySQL
数据库问题MySQL
2022-06-09 08:46:00 【CSDN问答】
己知 test库下拥有图书、读者和借阅三个表,它们的结构分别如下:
图书(总编号,分类号,书名,作者,出版单位,单价)
读者(借书证号,单位,姓名,性别,职称,地址)
借阅(借书证号,总编号,借书日期)
(答题说明:表中列属性名可用汉字)
用SQI语言完成以下任务:
1)查询所有不姓刘的读者的单位和姓名。
2)对修改图书表结构或修改图书表数据的操作进行审计。
3)查询所有借过书的读者的姓名,职称,所借书名,书的作者及借书日期。
4)建立用户xinke,密码:1234。并对他授予test库的图书表的所有权限。同时他也可以其他用户收权。
5)对用户xinke收权,收回他对test库图书表的插入数据权限,其他权限保留。
6)限制图书《数据库》最多30名学生借阅。
边栏推荐
- Creation of JS class and use of constructor constructor
- Configure CONDA environment and pytoch installation
- NetCore框架WTM的分表分库实现
- Virtual machine installation and configuration
- Hj22 water bottle
- Common windbos APIs
- extends和super的使用
- Shell脚本批量对157台服务器打通网络、配置免密、重置root密码
- Self made compiler learning 1: use of CB compiler
- 工业企业能源管控系统帮助企业加强能源管理、提高设备运行效率
猜你喜欢

成本节省 50%,9人团队使用函数计算开发 wolai 在线文档应用

Description de l'éditeur - alternative

Residual current relay uses residual current transformer to detect residual current and prevent electrical fire

About Matrix Decompositions

远程预付费管理系统帮助物业解决收费难统计难问题

SQL: people flow in the gymnasium (common solution for continuous day cases)

Modify PE program entry point

Written by shellcode

安科瑞Acrel-BUS智能照明控制系统在医院的应用

3D編程模式:依賴隔離模式
随机推荐
編輯器說明-備用
SQL: market analysis I
Shell脚本批量对157台服务器打通网络、配置免密、重置root密码
Configuring the environment for RMAN backups
Summary of string inversion methods
SQL: 查找重复的电子邮箱
Use of extensions and super
性能测试常见问题分析方法
Creation of JS class and use of constructor constructor
SQL: 销售分析III
Use Flashback Database and restore point
Configuring the environment for RMAN backups_ Configure backup optimization
Configuring the environment for RMAN backups_ Configure backup retention policy
安科瑞Acrel-BUS智能照明控制系统在医院的应用
Alibaba cloud IOT
探索MySQL not in到底走索引吗?
3D编程模式:依赖隔离模式
Mobile terminal layout of Xiaomi official website
vim的简单使用
[program life] internet job division; Internet development process; Division of responsibilities