SELECT student_id FROM tuition where student_id in ( SELECT student_id FROM student_temp )上面的这个SQL语句是要选择student-id在student_temp 中的,而不是 tuition的,这样写有没有问题的?是我要得到的数据结果吗?运行
来源:学生作业学帮网 编辑:学帮网 时间:2024/06/01 05:20:31
SELECT student_id FROM tuition where student_id in ( SELECT student_id FROM student_temp )
上面的这个SQL语句是要选择student-id在student_temp 中的,而不是 tuition的,这样写有没有问题的?是我要得到的数据结果吗?运行后发现student_id 比student_temp 中的id还要多吖?有点疑问?
select student_id from student_temp
出来的结果是student_temp表下面所有的student_id
然后再select student_id from tultion where student_id in -
在tuition表中输出匹配到temp表中studnet_id相同值的student_id
或者说 你若temp表student_id为1的只有一个 但是tultion表中student_id为1的有N个
那么就会输出N次的student_id内容为1
SELECT student_id FROM tuition where student_id in ( SELECT student_id FROM student_temp )上面的这个SQL语句是要选择student-id在student_temp 中的,而不是 tuition的,这样写有没有问题的?是我要得到的数据结果吗?运行
select.where student_id>3 GROUP BY math_mark having AVG(math_mark)>70什么意思啊?GROUP BY math_mark having AVG(math_mark)>70 主要是这一部分
SELECT
FR是什么意思
/fr 是什么意思?
fr是什么意思
piease.select
select()是什么?
select your
Select your
please select
Please select
select forever
select skin
四舍五入-8.5应该等于几?逢5进1-8.5逢5进1,-8+1是不是-7呢?不同的编程得到的答案不一样Java:Math.round(-8.5) 等于 -8 Excel:Round(-8.5,0) 等于 -9 SQLServer:select round(-8.5,0) 输出 -9 Oracle:select round(-8.5) fr
fscanf(fp,%*[^:]:%d%*[^:]:%s,&(p->student_id),p->name)//&是什么意思?
选出t1表a列和t2表a相同的数据的sql语句,select test1.a from t1,t2 where test1.a=test2.a,这样写好像不对.假如t1表a列有1个2,t2表a列有3个2,就会选出3个2来.我的本意是选出1个2.有点小错误,是select t1.a,t2.a fr
select t.*和select *有什么不同