你可能感兴趣的试题
雇员号 雇员号 部门号 工资 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'