码迷,mamicode.com
首页 >  
搜索关键字:score    ( 2092个结果
mysql左外连接
左外连接的概念性不说了,这次就说一说两个表之间的查询步骤是怎么样的? 例如 SELECT ut.id,ut.name,ut.age, ut.sex,ut.status,st.score,st.subject_name FROM b_score_test st left join b_user_tes ...
分类:数据库   时间:2018-01-19 11:38:53    阅读次数:171
结构体的应用-成绩录入初步
1 #include 2 #include 3 4 struct student{ 5 int num; 6 char name[20]; 7 int score; 8 }; 9 10 int main(){ 11 int i; 12 struct student st,stmax,stmin; 1... ...
分类:其他好文   时间:2018-01-17 23:28:57    阅读次数:163
sqlserver数据库逻辑控制语句
//SQL中的IF-ELSE语句 IF (条件) BEGIN 语句1 语句2 … … END ELSE BEGIN 语句1 语句2 … … END 例子:IF (@score > 85) PRINT '考试等级:' + '优秀' ELSE IF (@score > 70) PRINT '考试等级:' ...
分类:数据库   时间:2018-01-17 01:16:08    阅读次数:195
data.json
{ "seller": { "name": "粥品香坊(回龙观)", "description": "蜂鸟专送", "deliveryTime": 38, "score": 4.2, "serviceScore": 4.1, "foodScore": 4.3, "rankRate": 69.2, " ...
分类:Web程序   时间:2018-01-17 01:05:47    阅读次数:407
sqlserver数据库多表联合查询
//内联接:(INNER JOIN)内联接使用比较运算符根据每个表的通用列中的值匹配两个表中的行 (1)SELECT …… FROM 表1 INNER JOIN 表2 ON …… SELECT S.SName,C.CourseID,C.Score FROM Score AS C INNER JOIN ...
分类:数据库   时间:2018-01-17 00:16:17    阅读次数:126
序列化
(1)python提供了pickle模块实现序列化 import pickle d=dict(name='Bob',age=30,score=98) pickle.dumps(d) # 把任意对象序列化为一个bytes f=open('dump.txt','wb') # 以二进制写模式打开 pick ...
分类:其他好文   时间:2018-01-14 18:41:32    阅读次数:113
微信“跳一跳”辅助,小米5配置分享-实测900+
我的手机屏幕分辨率为1920x1080,所以修改 /config/1920x1080/config.json{    "under_game_score_y": 300,    "press_coefficient": 3.80,   &n
分类:微信   时间:2018-01-11 16:11:02    阅读次数:626
2018.01.08 python
感想:我的内心毫无波澜难题:不会英语是硬伤# 成绩条目类 class Score: lesson_name = "课程名" score = 0 # 分数 # 当成绩单初始化时,需要提供这个成绩单的两个属性的值 def __init__(self,lesson_name,score): self.le... ...
分类:编程语言   时间:2018-01-08 17:28:12    阅读次数:136
mysql 分段统计数据
一个简单的分段统计的问题:student 表{id,name,score} 字段,统计各个分数段的人数。规则:60以下不及格,60-80良,80-100优。 SELECT sum(CASE when score<60 then 1 else 0 end) AS '不及格',sum(CASE when ...
分类:数据库   时间:2018-01-06 19:09:31    阅读次数:208
高级查询45道练习题
course表 grade表 score表 student表 teacher表 1. 查询Student表中的所有记录的Sname、Ssex和Class列。select sname,ssex,class from student2.查询教师所有的单位即不重复的Depart列。select disti ...
分类:其他好文   时间:2018-01-04 18:17:20    阅读次数:383
2092条   上一页 1 ... 77 78 79 80 81 ... 210 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!