当前位置: X题卡 > 所有题目 > 题目详情

下面第(23)~(24)题基于以下说明:设有如下两个关系,若雇员的主键是雇员号,部门的主键是部门号。假设雇员表中的工资最低为800(包括800),最高不能超过2000。另外,这里假定DBMS不支持级联...

查看本题答案

你可能感兴趣的试题

雇员号  雇员号  部门号  工资  001  张山  02  2000  I.010  J.王宏达  K.01  L.1200  M.056  N.马林生  
SELECT SNO,SNAME FROMSWHERE SNAME=’王%’  SELECT SNO,SNAME FROM S WHERE SNAME=’王_’  SELECT SNO,SNAMEFROMS WHERE SNAME LIKE ’王%’  SELECT SNO,SNAME FROM S WHERE SNAME LIKE ’王_’  
SELECT SNO,SNAME FROM S WHERE SNAME=′王%′  SELECT SNO,SNAME FROM S WHERE SNAME=′王_′  SELECT SNO,SNAME FROM S WHERE SNAME LIKE′王%′  SELECT SNO,SNAME FROM S WHERE SNAME LIKE′王_′  
从Student中删除行('010','王宏','01',120)  在Student中插入行('102','赵敏','01',150)  将Student中学号='056'的工资改为160元  将Student中学号='101'的系号改为'05'  
SELECT sno FROM sc WHERE sname=’王’  SELECT sno FROM sc WHERE sname IS LIKE ’王%’  SELECT sno FROM sc WHERE sname LIKE ’王%’  SELECT sno FROM sc WHERE sname LIKE ’王_’  
从EMP中删除行(’010’,’王宏达’,’01’,’1200’)  在EMP中插入行(’102’,’赵敏’,’01’,’1500’)  将EMP中雇员号=’056’的部门号改为’05’  将EMP中雇员号=’101’的部门号改为’03’  
从Student中删除行('010','王宏','01',120)  在Student中插入行('102','赵敏','01',150)  将Student中学号='056'的工资改为160元  将Student中学号='101'的系号改为'05'  
ONDELETECASCADES  ONDELETERESTRICTED  ONUPDATECASCADES  ONUPDATERESTRICTED  
SELECT SNO FROMSC WHERE CNO=’DB’ AND GRADE BETWEEN 60 AND 90  SELECT SNO FROM SC WHERE CNO=’DB’ OR GRADE BETWEEN 60 AND 90  SELECT SNO FROM SC WHERE CNO=’DB’ AND GRADE>=60 AND 90  SELECTSNO FROM SCWHERECNO=’DB’ AND GRADE<=60 AND GRADE>=90  
SELECT SNO,SNAME FROMSWHERE SNAME=’王%’  SELECT SNO,SNAME FROM S WHERE SNAME=’王_’  SELECT SNO,SNAMEFROMS WHERE SNAME LIKE ’王%’  SELECT SNO,SNAME FROM S WHERE SNAME LIKE ’王_’  
从Student中删除行('010','王宏','01',120)  在Student中插入行('102','赵敏','01',150)  将Student中学号='056'的工资改为160元  将Student中学号='101'的系号改为'05'  

热门试题

更多