有一道SQL笔试题是这样子的:已知表信息如下:Department(depID, depName),depID 系编号,DepName系名Student(stuID, name, depID) 学生编号,姓名,系编号Score(stuID, category, score) 学生编码,科目,成绩找出每一个系的最高分,并且按系编号,学生编号升序排列,要求顺序输出以下信息:系编号,系名,学生编号,姓名...
分类:
数据库 时间:
2015-05-11 16:07:32
阅读次数:
224
表1:Name 表2:Score 在Name表 C2单元格,输入公式:=IFERROR(VLOOKUP(A2,Score!A:B,2,0),"") 回车,得到对应的Score Ctrl+C复制,点击C列,回车 回车Enter...
分类:
其他好文 时间:
2015-05-09 17:38:42
阅读次数:
133
//用结构体完成:编程求出3个学生中某个学生的平均成绩
#include
#include
using namespace std;
struct student
{
char *name;
double score[3];
};
struct student stu[3]={{"han",80,90,95},{"zhao",78,85,92},{"dan",75,60,59}}; //...
分类:
编程语言 时间:
2015-05-09 11:51:09
阅读次数:
155
score0.7) k<-c(k,1)else if (x[i]<0.35) k<-c(k,3)else k<-c(k,2)}return(k)}team<-score[,2]task<-score[,8]new.score<-cbind(team,task)listnew.score<-tappl...
分类:
其他好文 时间:
2015-05-08 12:19:14
阅读次数:
111
表1, Name 表2 Score 表3 使用 数据-自其他来源-来自Microsoft Query 选择 Excel Files* 选中xls文件 勾选 “选项”中的“系统表”, 选中Name$表, 移入右侧,一路下一步,到完成 弹出导入数据对话框,选择“属...
分类:
其他好文 时间:
2015-05-07 19:01:06
阅读次数:
181
1、错误描述
1 queries executed, 0 success, 1 errors, 0 warnings
查询:SELECT stu_name, course, score FROM t_student_info s LIMIT 0, 1000
错误代码: 1054
Unknown column 'course' in 'field list'
执行耗时 : 0 sec
传...
分类:
其他好文 时间:
2015-05-07 00:58:09
阅读次数:
248
1 #include 2 #include 3 #include 4 using namespace std; 5 struct E{ 6 char name[101]; 7 int age; 8 int score; 9 }buf[1000];10 bool cmp...
分类:
其他好文 时间:
2015-05-05 11:53:48
阅读次数:
86
案例:对所给的分数进行评级,以下有三种方案:score = int(input('请输入一份分数')) #第一种方案if 100 >= score >= 90: print('A')if 90 > score >= 80: print('B')i...
分类:
编程语言 时间:
2015-05-04 21:50:28
阅读次数:
138
题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3819
题面:
Average Score
Time Limit: 2 Seconds Memory Limit: 65536 KB
Bob is a freshman in Marjar University. He is...
分类:
其他好文 时间:
2015-05-04 08:43:15
阅读次数:
187
用decode函数实现行变列----创建测试表create table student_score(name varchar2(20),subject varchar2(20),score number(4,1));-----插入测试数据insert into student_score (name...
分类:
其他好文 时间:
2015-05-02 20:36:59
阅读次数:
123