首页 >>  正文

sql笔试经典50题

来源:baiyundou.net   日期:2024-09-22

柏味庭1342SQL试题求解 -
逯狱官17364219483 ______ 1 IF OBJECT_ID('学生表')IS NOT NULL DROP TABLE 学生表 GO create table 学生表 --建立学生表. ( 学号 int not null , --学号,姓名,年龄,性别,家庭住址,联系电话 姓名 varchar(10) not null, --姓名 性别 varchar(2) 年龄 int, 联系电...

柏味庭13421.一道SQL语句面试题 -
逯狱官17364219483 ______ SELECT the_date, (SELECT COUNT(*) FROM T AS T1 WHERE T1.the_date=T.the_date AND T1.the_type='胜') AS 胜, (SELECT COUNT(*) FROM T AS T1 WHERE T1.the_date=T.the_date AND T1.the_type='负') AS 负 FROM T GROUP BY the_date

柏味庭1342救助,sql题目(大虾快来)
逯狱官17364219483 ______ A: select (select s.sname from student s where s.sid = t.sid) sname,(select c.cname from class c where c.cid = t.cid) cname from score t where t.score > '90' B: update score set remark='良' where score >= '70' and score <= '80' C: delete score where...

柏味庭1342数据库系统概论 选择题(50分!) -
逯狱官17364219483 ______ 1: D.模式 2: A.表中任意两行的之不能相同 3: C.并发控制 4: C.3NF 5: D.数据的管理 6: C.概念 7: B.数据结构、数据操作、完整性约束条件 8: B.应用程序 9: C.主码 10: B.连接 11: C.select 12: C.保留少部分冗余数据可提高查询速度 ------------------------...

柏味庭1342关于数据库的一道笔试题:select * from table1……
逯狱官17364219483 ______ --建表create table tb(id int, value varchar(10))insert into tb values(1, 'aa')insert into tb values(1, 'bb')insert into tb values(2, 'aaa')insert into tb values(2, 'bbb')insert into tb values(2, 'ccc')go--建函数CREATE FUNCTION dbo.f_str(@id int)RETURNS ...

柏味庭1342sql数据库一道试题帮忙做做
逯狱官17364219483 ______ 数据库的专业英语吧,看看我答的 Data 数据 Database 数据库 RDBMS 关系型数据库管理系统(Relational Database Management System) GRANT 授权 REVOKE 权限回收 DENY 拒绝 DECLARE 声明 PROCEDURE程序 Transaction 转换 TRIGGER 触发器 continue 连续 unqiue 唯一 primary key 主键 identity 标识 foreign key 外键

柏味庭1342SQL题目急急!!! -
逯狱官17364219483 ______ 14、A 15、A填空1、一对多2、char和varchar3、这个是你没把题弄完整吧,操作数据表包括增(insert)、删(delete)、改(update)、查(select),不知道你到底是要啥子SQL语句4、4M换算成字节,好像是4194304吧5、不清楚咯6、...

柏味庭1342一SQL题目求解
逯狱官17364219483 ______ select * from table where id in (10,32,22,76,13,44) -- ID在这几个范围内 order by charindex(id,'10,32,22,76,13,44') desc -- 这个是排序 给分

柏味庭1342一道关于SQL数据库的题目 -
逯狱官17364219483 ______ select dname,总薪水,平均薪水,薪水和 from DeptInfo d, (select max(sal) as '总薪水',avg(sal) as '平均薪水',sum(sal) as '薪水和',did from UserInfo group by did) t where d.did = t.did

(编辑:自媒体)
关于我们 | 客户服务 | 服务条款 | 联系我们 | 免责声明 | 网站地图 @ 白云都 2024