Posledny semester:
Prvy student odovzdal 24.9.2019, posledny 5.2.2020. (135 dni)





Unix times semestrov:
zac sept19: 1567503384, kon feb20: 1580895384
zac sept18: 1535455373, kon jan19: 1848847373
zac sept17: 1504224000, kon jan18: 1516739372
zac sept16: 1474370814, kon jan17: 1485800297
zac sept15: 1441065599, kon feb16: 1455267151
zac sept14: 1409529599, kon feb15: 1423604684
zac sept13: 1377993599, kon feb14: 1391510863
zac sept12: 1346457599, kon feb13: 1360108626
zac sept11: 1314835199, kon feb12: 1328833526
??zac sept10: 1283299199, kon feb11: 1297628116

SELECT *, WEEK(DATE(FROM_UNIXTIME(soMain.when))) - (SELECT firstWeekNumber.myweek FROM (SELECT WEEK(DATE(FROM_UNIXTIME(fst.firstInSem))) as myweek FROM (SELECT so.when as firstInSem FROM sources as so WHERE so.when >= 1567503384 and DATE(FROM_UNIXTIME(so.when)) <= '2019-12-22' ORDER BY so.when ASC LIMIT 1) as fst) as firstWeekNumber) + 1 as weekOfSubmit FROM sources as soMain WHERE soMain.when >= 1567503384 and DATE(FROM_UNIXTIME(soMain.when)) <= '2019-12-22' and (soMain.points = "10" or soMain.pointsBefore = "10") HAVING weekOfSubmit in (SELECT ex.week FROM exams as ex WHERE weekOfSubmit = ex.week and soMain.examId = ex.examId)