当前位置:网站首页>数据库,把另一张表某字段数据添加到另一个表中,同时加入的时候加入自己需要的数据
数据库,把另一张表某字段数据添加到另一个表中,同时加入的时候加入自己需要的数据
2022-04-21 12:08:00 【CSDN问答】

我想把question_bank 题库表中的题号加到用户题库中间表中,我不仅加题号,我想在每条对应的数据上吧学生学号也加进去 该如何操作
采纳答案:
insert into student_question(student_id,question_id) select 5,id from question_bank;
版权声明
本文为[CSDN问答]所创,转载请带上原文链接,感谢
https://ask.csdn.net/questions/7691495
边栏推荐
- 直播江湖生变:李佳琦被困豪宅,罗永浩淡出,薇娅雪梨助播上位
- 你与架构师相比差距在哪儿?如何提升
- Couleurs du thème sublime
- [BSidesCF 2019]Kookie
- 小程序旋转手机推流,远端拉流画面被裁剪的问题
- Hongshan MOFs distributed storage system won the "2022 Gold Award for distributed storage products"
- 骚包的中文字符提取操作(字符串,不用 re ,用 in )
- 中商惠⺠交易中台架构演进:对 Apache ShardingSphere 的应⽤
- 云原生DaaS服务—分布式对象存储简述
- 关于 winform GridView 的操作
猜你喜欢
随机推荐
Extract name from given string (string, list, re "zero width assertion")
《深度学习》学习笔记(五)
逆向爬虫30 某验四代滑块验证码
Is it difficult to choose binary version control tools? After reading this article, you will find the answer
[software test series x] stress test scheme
【C语言实现通讯录】一文带你遍历C语言重难点
php如何去掉数组键值
IIR second order filter in flight control
一分钟教会您使用Yolov5训练自己的数据集并测试
京东云分布式数据库StarDB顺利完成多方国产化适配认证
jsapi 支付缺少appid
去中心化VC平台CULTDAO发起对BetaMars项目投票,目前投票正在进行中
【sql】SQL19 查找所有员工的last_name和first_name以及对应的dept_name
【youcans 的 OpenCV 例程200篇】159. 图像处理之固定阈值法
webrtc入门:2.使用getDisplayMedia获取屏幕桌面流
Musk lives in the old Internet age?
Study notes of "deep learning" (VII)
Introduction to webrtc: 2 Get screen desktop stream using getdisplaymedia
【软件测试系列七】《软件测试计划》
The basic software products of xinghuan science and technology have been fully implemented and blossomed, bringing "Star" momentum to the digital transformation of enterprises

![[BSidesCF 2019]Kookie](/img/85/e97fe5ec5fa94bc007af56c7098b11.png)







