数据库,jQuery
隐藏与显示
<script type="text/javascript">
$(function(){
$(".top-list .title").click(function(){
$(this).addClass("active").siblings().removeClass("active");
var index = $(this).index();
$(".top-list-main ul").eq(index).show().siblings().hide()
})
})
</script>
//console.log(e.offsetX,e.offSELECT DISTINCT top 6 //筛选出前六位学生;
ISNULL( ,0)// 看数据是否为空,如果是空的就记作0,
WHERE student.S#=SC.S# and ISNULL(T1.score,0)+ISNULL(T2.score,0) +ISNULL(T3.score,0) + ISNULL(T4.score,0) //总成绩
ORDER BY ISNULL(T1.score,0) + ISNULL(T2.score,0) + ISNULL(T3.score,0) +
ISNULL(T4.score,0) DESC) // 根据平均成绩降序排序setY) 获取鼠标坐标

浙公网安备 33010602011771号