Where is the su log located?()A、 /var B、 /var/adm C、 /var/perf D、 /var/spool
Where is the su log located?()
- A、 /var
- B、 /var/adm
- C、 /var/perf
- D、 /var/spool
相关考题:
●已知有关系模式R(S_NO,S_NAME,AGE),其中S-NO表示学生的学号,类型为Char[8],前4位表示入学年份。查询所有2005年入学的学生姓名(S_NAME),SQL语句是 (24) 。(24) A.SELECT S_NAME FROM R WHERE S_NO=′2005%′B.SELECT S_NAME FROM R WHERE S_NO LIKE ′2005%′C.SELECT S_NAME FROM R WHERE S_NO=′2005%′D.SELECT S_NAME FROM R WHERE S_NO ′2005%′
若要求查找‘李’姓学生的学生号和姓名,正确的SQL语句是A.SELECT S#,SNAME FROM S WHERE SNAME='李%.'B.SELECT S#,SNAME FROM S WHERE SNAME LIKE '李%.'C.SELECT S#,SNAME FROM S WHERE SNAME='%.李%.'D.SELECT S#,SNAME FROM S WHERE SNAME LIKE '%.李%.'
检索所有比“王华”年龄大的学生的姓名、年龄和性别,正确的SELECT语句是______。A.SELECT SN,AGE,SEX FROM S SHERE AGE>(SELECT AGE FROM S WHERE SN='王华')B.SELECT SN,AGE,SEX FROM S WHERE SN='王华'C.SELECT SN,ACE,SEX FROM S WHERE AGE>(SELECT ACE WHERE SN='王华')D.SELECT SN,ACE,SEX FROM S WHERE ACE>王华 AGE
实现“从学生信息表中找出性别为女的学生姓名”的SQL语句是A.SELECT*FROMsB.SELECT*FROM s WHERE sex='女'C.SELECT sname FROM s WHERE sex='女'D.SELECT*FROM s WHERE grade="
设有 S ( 学号,姓名,性别 ) 和 SC ( 学号,课程号,成绩 ) 两个表,如下 SQL 语句检索选修的每门课程的成绩都高于或等于 85 分的学生的学号、姓名和性别,正确的是A)SELECT 学号 , 姓名 , 性别 FROM s WHERE EXISTS(SELECT * FROM sc WHERE SC. 学号 = S . 学号 AND 成绩 =85)B)SELECT 学号 , 姓名 , 性别 FROM s WHERE NOT EXISTS(SELECT * FROM sc WHERE SC. 学号 = S . 学号 AND 成绩 =85)C)SELECT 学号 , 姓名 , 性别 FRO M s WHERE EXISTS(SELECT * FROM sc WHERE SC. 学号 =S. 学号 AND 成绩 85)D)SELECT 学号 , 姓名 , 性别 FROM s WHERE NOT EXISTS(SELECT * FROM sc WHERE SC. 学号 =S. 学号 AND 成绩 85)
( 3 2 )查询学生姓名及其所选修课程的课程号和成绩,正确的 SQL 语句是A ) SELECT S . SNAME , SC.C# , GRADE FROM S WHERE S . S # = SC . S#B ) SELECT S . SNAME , SC.C #, GRADE FROM SC WHERE S . S # = = SC . S#C ) SELECT S . SNAME , SC.C# , GRADE FROM S , SC WHERE S . S# = SC . S#D ) SELECT S . SNAME , SC.C# , GRADE FROM S , SC WHERE S .S# = SC . C#
哪些是正确的 like 运算表达式?A.select * from net_46 where s_name like ’晓’B.select * from net_46 where s_name like ’&晓&’C.select * from net_46 where s_name like ’$晓$’D.select * from net_46 where s_name like ’%晓%’
查询所修课程成绩都大于等于85分的学生的学号和姓名,正确的命令是( )。A.SELECT学号,姓名FROM student s WHERE NOT EXISTS (SELECT*FROM score se WHERE SC.学号=s.学号码AND成绩85)B.SELECT学号,姓名FROM student S WHERE NOT EXISTS (SELECT*FROM score sc WHERE SC.学号=s.学号码AND成绩=85)C.SELECT学号,姓名FROM student s,score sc WHERE s.学号=sc.学号AND成绩=85D.SELECT学号,姓名FROM student s,score sc WHERE S.学号=sc.学号AND ALL成绩=85
设有关系R(A,B,C)和S(C,D),与关系代数表达式ΠA,B,D(σR,C=S.C(R×S))等价的SQL语句是______。A.SELECT*FROMR,S WHERE R.C=S.CB.SELECT A,B,D FROM R,S WHERE R.C=S.CC.SELECT A,B,D FROM R,S WHERE R=SD.SELECT A,B FROM R WHERE(SELECT D FROM S WHERE R.C=S.
S(S#,SN,SEX,AGE,DEPT) C(C#,CN) SC(S#,C#,GRADE)其中:S#为学号,SN为姓名,SEX为性别,AGE为年龄,DEPT为系别,C#为课程号, CN为课程名,GRADE为成绩。检索所有比“王华”年龄大的学生姓名、年龄和性别。正确的SELECT语句是______。A.SELECT SN,AGE,SEX FROM S WHERE AGE>(SELECT AGE FROM S WHERE SN='王华')B.SELECT SN, AGE, SEX FROM S WHERE SN='王华'C.SELECT SN,AGE,SEX FROM S WHERE AGE>(SELECT AGE WHERE SN='王华')D.SELECT SN,AGE,SEX FROM S WHERE AGE>王华AGE
查询选修了课程号为“C1”的学生的姓名和年龄,若用下列SQL的SELECT语句表达 时,错误的是( )。A.SELECT SNAME,AGE FROM S WHERE S .S#=(SELECT SC.S# FROM SC WHERE C.C#=’C 1’) B.SELECT SNAME,AGE FROM S,SC WHERE S.S#=SC.S# AND SC.C#=’C 1’ C.SELECT SNAME,AGE FROM S,SC WHERE S.S#=SC.S# AND SC.C#=’CI’ ORDER B Y S.S# D.SELECT SNAME,AGE FROM S WHERE S.S#=(SELECT SC.S# FROM SC WHERE SC.C#=’C 1’)
查询选修了课程号为“C2”的学生号和姓名,若用下列SQL的SELECT语句表达是,( )是错误的。 A.SELECT S.S#,SNAME FROM S WHERE S.S# =(SELECT SC.S#FROM SC WHERE C#='C2') B.SELECT S.S#,SNAME FROM S,SC WHERE S.S#=SC.S# AND C#='C2' C.SELECT S.S#,SNAME FROM S,SC WHERE S.S#=SC.S# AND C#='C2'ORDER BY S.S# D.SELECT S.S#,SNAME FROM S WHERE S.S# IN(SELECT SC.S# FROM SC WHERE C#='C2')
设有关系R(A,B,C) 和S(C,D) 与关系代数表达式πA,B,D(σR,C=s.c(R×S))等价的SQL语句是A.SELECT*FROM R,SWHERE R.C=S.CB.SELECT A,B,D FROM R,S WHERE R.C=S.CC.SELECT A,B,D FROM R,S WHERE R=SD. SELECT A,B FROM R WHERE (SELECT D FROM S WHERE R.C= S.C)
若要求查找姓名中第一个字为“刘”的学生号和姓名。下面列出的SQL语句中,正确的是( )。A.SELECT S#,SNAME FROM S WHERE SNAME='刘%.'B.SELECT S#,SNAME FROM S WHERE SNAME='刘_'C.SELECT S#,SNAME FROM S WHERE SNAME LIKE'刘%.'D.SELECT S#,SNAME FROM S WHERE SNAME LIKE'刘_'
查询所修课程成绩都大于等于85分的学生的学号和姓名,正确的命令是( )。A.SELECT学号,姓名FROM student s WHERE NOT EXISTS (SELECT*FROM score se WHERE SC.学号=s.学号码AND成绩85) from= student= s= where= not= exists= score= sc==85)C.SELECT学号,姓名FROM student s,score sc WHERE s.学号=sc.学号AND成绩=85D.SELECT学号,姓名FROM student s,score sc WHERE S.学号=sc.学号AND ALL成绩=85
“找出北京供应商的所有信息”的SELECT语句是A.SELECT*FROM S WHERE CITY='京'B.SELECT SNO,SNAME FROM S WHERE CITY='北京'C.SELECT*FROM S WHERE CITY=北京D.SELECT SNO,SNAME FROM S WHERE CITY=北京
设有关系R(A,B,C)和S(C,D)。与关系代数表达式πA,B,D(σR.C=S.C(R×S)等价的SQL语句是A.SELECT*FROM R,S WHERE R.C=S.CB.SELECT A,B,D FROM R,S WHERE R.C=S.CC.SELE4T 1,2,8 FROM R,S WHERE R=SD.SELECT A,B FROM R WHERE(SELECT D FROM S WHERE R.C=S.
查询选修了课程号为\'C2\'的学生号和姓名,若用下列SQL的SELECT语句表达时,哪一个是错误的?______。A.SELECT S.S#,SNAME FROM S WHERE S.S#=(SELECT SC.S# FROM SC WHERE C#=\'C2\')B.SELECT S.S#,SNAME FROM S,SC WHERE S.S#=SC.S# AND C#=\'C2\'C.SELECT S.S#,SNAME FROM S,SC WHERE S.S#=SC.S# AND C#=\'C2\'ORDER BYS.S#D.SELECT S.S#,SNAME FROM S WHERE S.S# IN(SELECT SC.S# FROM SC WHERE C#=\'C2\')
检索所有比“王华”年龄大的学生姓名、年龄和性别。正确的SELECT语句是______。A.SELECT SN,AGE,SEX FROM S WHERE AGE>(SELECT AGE FROM S WHERE SN='王华')B.SELECT SN,AGE,SEX FROM S WHERE SN='王华'C.SELECT SN,AGE, SEX FROM S WHERE AGE>(SELECT AGE WHERE SN='王华')D.SELECT SN,AGE,SEX FROM S WHERE AGE>王华 AGE
查询选修了课程号为'C2'的学生号和姓名,若用下列SQL的SELECT语句表达时,错误的是( )。A.SELECT S.S#,SNAME FROM S WHERE S.S# =(SELECT S C.S# FROM SC WHERE C#='C2')B.SELECT S.S#,SNAME FROM S,SC WHERE S.S#==S C.S# AND C#='C2'C.SELECT S.S#,SNAME FROM S,SC WHERE S.S#=S C.S# AND C#='C2' ORDER BY S.S#D.SELECT S.S#,SNAME FROM S WHERE S.S IN (SELECT SC.S## FROM SC WHERE C#='C2')
查询选修了课程号为“C2”的学生号和姓名,若用下列SQL的SELECT语句表达时,哪一个是错误的?A.SELECT S.S#,SNAME FROM S WHERE S.S# (SELECT SC. S# FROM SC WHERE C#='C2')B.SELECT S.S#,SNAME FROMS,SC WHERE S.S#=SC.S# AND C#='C2'C.SELECT S.S#,SNAME FROM S,SC WHERE S.S=SC.S# AND C#='C2'ORDER BY S.S#.D.SELECTS.S#,SNAME FROM S WHERE S.S# IN(SELECT SC. S# FROM SC WHERE C#='C2')
可以删除学生表中学号为‘s2008005’的是()。A、"begin tran delete from学生表where学号=‘s2008005’ rollback"B、"begin tran delete from学生表where学号=‘s2008005’ commit"C、"begin tran delete where学号=‘s2008005’ from 学生表 rollback"D、"begin tran delete where学号=‘s2008005’ commit"
设关系数据库中一个表S的结构为:S(SN,CN,grade),其中SN为学生名,CN为课程名,均为字符型;grade为成绩,数值型,下列()选项是正确的。A、DELETE FROM S WHERE SN=’JULIE’B、DELETE*FROM S WHERE SN=’JULIE’C、DELETE FROM S WHERE SN="JULIE"D、DELETE*FROM S WHERE SN="JULIE"
单选题查询选修C2课程号的学生姓名,下列SQL语句中错误的是( )。ASELECT姓名FROM S WHERE EXISTS(SELECT*FROM SC WHERE学号=S.学号AND课程号=‘C2’)BSELECT姓名FROM S WHERE学号IN(SELECT学号FROM SC WHERE课程号=‘C2’)CSELECT姓名FROM S JOIN SC ON S.学号=SC.学号WHERE课程号=‘C2’DSELECT姓名FROM S WHERE学号=(SELECT学号FROM SC WHERE课程号=‘C2’)
单选题查询出所有名字以’S’开始的员工()Aselect * from emp where ename in 'S%';Bselect * from emp where ename='S%';Cselect * from emp where ename like 'S%';Dselect * from emp where ename like 'S_';
单选题设关系数据库中一个表S的结构为:S(SN,CN,grade),其中SN为学生名,CN为课程名,均为字符型;grade为成绩,数值型,下列()选项是正确的。ADELETE FROM S WHERE SN=’JULIE’BDELETE*FROM S WHERE SN=’JULIE’CDELETE FROM S WHERE SN=JULIEDDELETE*FROM S WHERE SN=JULIE
单选题可以删除学生表中学号为‘s2008005’的是()。Abegin tran delete from学生表where学号=‘s2008005’ rollbackBbegin tran delete from学生表where学号=‘s2008005’ commitCbegin tran delete where学号=‘s2008005’ from 学生表 rollbackDbegin tran delete where学号=‘s2008005’ commit