后学者 2023-05-09 13:03 采纳率: 42.9%
浏览 30
已结题

多表查询和数据表的增删改

这类问题
有没有解题思路
或者给个码我试试
主要是没学习多久,对于数据表的应用和命令比较弱。

img

  • 写回答

3条回答 默认 最新

  • CSDN专家-sinJack 2023-05-09 13:55
    关注

    你得把表结构提供出来

    select * from t_student where major_id=(selsect id from t_major where name='云计算技术');
    
    
    select s.* from t_student s left join t_score c on s.id =c.student_id where c.student_id is null;
    
    select * from t_score where major_id in (selsect id from t_major where name='移动互联应用开发');
    
    insert into t_student(stu_id,stu_name....) values("",""....);
    
    
    update t_student set major_id = '31601' where stu_name = '王洪';
    
    
    delete from t_student where stu_birthday<'1999-01-01';
    
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论 编辑记录
查看更多回答(2条)

报告相同问题?

问题事件

  • 系统已结题 5月17日
  • 已采纳回答 5月9日
  • 创建了问题 5月9日

悬赏问题

  • ¥15 paddle库安装时报错提示需要安装common、dual等库,安装了上面的库以后还是显示报错未安装,要怎么办呀?
  • ¥20 找能定制Python脚本的
  • ¥15 odoo17的分包重新供应路线如何设置?可从销售订单中实时直接触发采购订单或相关单据
  • ¥15 用C语言怎么判断字符串的输入是否符合设定?
  • ¥15 通信专业本科生论文选这两个哪个方向好研究呀
  • ¥50 我在一个购物网站的排队系统排队,这个排队到号后重新定向到目标网站进行购物,但是有技术牛通过技术方法直接跳过排队系统进入目标网址购物,有没有什么软件或者脚本可以用
  • ¥15 ios可以实现ymodem-1k协议 1024字节传输吗?
  • ¥300 寻抓云闪付tn组成网页付款链接
  • ¥15 请问Ubuntu要怎么安装chrome呀?
  • ¥15 视频编码 十六进制问题