esoe
2 years ago
34 changed files with 75 additions and 27 deletions
@ -0,0 +1,37 @@ |
|||||||
|
-- пользователи |
||||||
|
SELECT id, username, email FROM mdl_user |
||||||
|
-- опросы |
||||||
|
SELECT id, name FROM mdl_quiz; |
||||||
|
-- попытки /общие данные |
||||||
|
SELECT id, quiz, userid, attempt, timestart, timefinish, sumgrades FROM mdl_quiz_attempts; |
||||||
|
|
||||||
|
-- отчет |
||||||
|
WITH pure AS ( |
||||||
|
SELECT |
||||||
|
mqa.id as pure_id, |
||||||
|
mqa.userid as pure_userid, |
||||||
|
mqa.attempt as pure_attempt, |
||||||
|
FROM_UNIXTIME(mqa.timestart) AS pure_timestart_date, |
||||||
|
FROM_UNIXTIME(mqa.timefinish) AS pure_timefinish_date, |
||||||
|
mqa.sumgrades as pure_mqa_sumgrades, |
||||||
|
mqa.quiz as pure_mqa_quiz, |
||||||
|
mq.id as pure_mq_id, |
||||||
|
mq.name as pure_mq_name, |
||||||
|
mu.id as pure_mu_id, |
||||||
|
mu.username as pure_mu_username, |
||||||
|
mu.email as pure_mu_email |
||||||
|
FROM mdl_quiz_attempts as mqa |
||||||
|
LEFT JOIN mdl_quiz as mq on mqa.quiz=mq.id |
||||||
|
LEFT JOIN mdl_user as mu on mqa.userid=mu.id |
||||||
|
WHERE mqa.userid > 3849 |
||||||
|
) |
||||||
|
SELECT |
||||||
|
pure_id, |
||||||
|
pure_userid, |
||||||
|
pure_mu_username, |
||||||
|
pure_mu_email, |
||||||
|
pure_timestart_date, |
||||||
|
pure_timefinish_date, |
||||||
|
pure_mqa_sumgrades, |
||||||
|
pure_mq_name |
||||||
|
FROM pure as report; |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,20 +1,21 @@ |
|||||||
ru\egspt\TagControls.class |
ru\egspt\TagControls.class |
||||||
ru\egspt\ResultsTableModel.class |
ru\egspt\ResultsTableModel.class |
||||||
ru\egspt\User.class |
|
||||||
ru\egspt\App.class |
ru\egspt\App.class |
||||||
ru\egspt\QuizesTableModel.class |
|
||||||
ru\egspt\TagModel.class |
ru\egspt\TagModel.class |
||||||
|
ru\egspt\implant\ExtendedUser$1.class |
||||||
ru\egspt\BaseControls.class |
ru\egspt\BaseControls.class |
||||||
ru\egspt\ReportTableModel.class |
|
||||||
ru\egspt\Result.class |
ru\egspt\Result.class |
||||||
ru\egspt\AccessPane.class |
ru\egspt\AccessPane.class |
||||||
ru\egspt\DataPane.class |
ru\egspt\DataPane.class |
||||||
ru\egspt\Quiz.class |
ru\egspt\Quiz.class |
||||||
ru\egspt\Access.class |
ru\egspt\Access.class |
||||||
ru\egspt\Base.class |
ru\egspt\Base.class |
||||||
ru\egspt\UsersTableModel.class |
|
||||||
ru\egspt\ReportControls.class |
ru\egspt\ReportControls.class |
||||||
ru\egspt\UserListModel.class |
ru\egspt\UserListModel.class |
||||||
ru\egspt\TagPane.class |
ru\egspt\TagPane.class |
||||||
ru\egspt\Data.class |
ru\egspt\Data.class |
||||||
|
ru\egspt\User.class |
||||||
|
ru\egspt\QuizesTableModel.class |
||||||
|
ru\egspt\ReportTableModel.class |
||||||
|
ru\egspt\UsersTableModel.class |
||||||
ru\egspt\ReportPane.class |
ru\egspt\ReportPane.class |
||||||
|
@ -1,20 +1,24 @@ |
|||||||
c:\Users\devuser\Documents\code\moodle\moodle-anyreport\src\main\java\ru\egspt\TagPane.java |
c:\Users\devuser\Documents\code\moodle-anyreport\src\main\java\ru\egspt\BaseControls.java |
||||||
c:\Users\devuser\Documents\code\moodle\moodle-anyreport\src\main\java\ru\egspt\QuizesTableModel.java |
c:\Users\devuser\Documents\code\moodle-anyreport\src\main\java\ru\egspt\implant\ExtendedUser.java |
||||||
c:\Users\devuser\Documents\code\moodle\moodle-anyreport\src\main\java\ru\egspt\TagModel.java |
c:\Users\devuser\Documents\code\moodle-anyreport\src\main\java\ru\egspt\implant\Runner.java |
||||||
c:\Users\devuser\Documents\code\moodle\moodle-anyreport\src\main\java\ru\egspt\AccessPane.java |
c:\Users\devuser\Documents\code\moodle-anyreport\src\main\java\ru\egspt\ReportControls.java |
||||||
c:\Users\devuser\Documents\code\moodle\moodle-anyreport\src\main\java\ru\egspt\BaseControls.java |
c:\Users\devuser\Documents\code\moodle-anyreport\src\main\java\ru\egspt\TagControls.java |
||||||
c:\Users\devuser\Documents\code\moodle\moodle-anyreport\src\main\java\ru\egspt\DataPane.java |
c:\Users\devuser\Documents\code\moodle-anyreport\src\main\java\ru\egspt\UsersTableModel.java |
||||||
c:\Users\devuser\Documents\code\moodle\moodle-anyreport\src\main\java\ru\egspt\Data.java |
c:\Users\devuser\Documents\code\moodle-anyreport\src\main\java\ru\egspt\AccessPane.java |
||||||
c:\Users\devuser\Documents\code\moodle\moodle-anyreport\src\main\java\ru\egspt\ReportTableModel.java |
c:\Users\devuser\Documents\code\moodle-anyreport\src\main\java\ru\egspt\QuizesTableModel.java |
||||||
c:\Users\devuser\Documents\code\moodle\moodle-anyreport\src\main\java\ru\egspt\ResultsTableModel.java |
c:\Users\devuser\Documents\code\moodle-anyreport\src\main\java\ru\egspt\ReportPane.java |
||||||
c:\Users\devuser\Documents\code\moodle\moodle-anyreport\src\main\java\ru\egspt\Access.java |
c:\Users\devuser\Documents\code\moodle-anyreport\src\main\java\ru\egspt\ReportTableModel.java |
||||||
c:\Users\devuser\Documents\code\moodle\moodle-anyreport\src\main\java\ru\egspt\App.java |
c:\Users\devuser\Documents\code\moodle-anyreport\src\main\java\ru\egspt\implant\Implant.java |
||||||
c:\Users\devuser\Documents\code\moodle\moodle-anyreport\src\main\java\ru\egspt\Base.java |
c:\Users\devuser\Documents\code\moodle-anyreport\src\main\java\ru\egspt\Quiz.java |
||||||
c:\Users\devuser\Documents\code\moodle\moodle-anyreport\src\main\java\ru\egspt\User.java |
c:\Users\devuser\Documents\code\moodle-anyreport\src\main\java\ru\egspt\ResultsTableModel.java |
||||||
c:\Users\devuser\Documents\code\moodle\moodle-anyreport\src\main\java\ru\egspt\UsersTableModel.java |
c:\Users\devuser\Documents\code\moodle-anyreport\src\main\java\ru\egspt\Access.java |
||||||
c:\Users\devuser\Documents\code\moodle\moodle-anyreport\src\main\java\ru\egspt\ReportControls.java |
c:\Users\devuser\Documents\code\moodle-anyreport\src\main\java\ru\molokoin\Runner.java |
||||||
c:\Users\devuser\Documents\code\moodle\moodle-anyreport\src\main\java\ru\egspt\UserListModel.java |
c:\Users\devuser\Documents\code\moodle-anyreport\src\main\java\ru\egspt\Data.java |
||||||
c:\Users\devuser\Documents\code\moodle\moodle-anyreport\src\main\java\ru\egspt\Result.java |
c:\Users\devuser\Documents\code\moodle-anyreport\src\main\java\ru\egspt\Result.java |
||||||
c:\Users\devuser\Documents\code\moodle\moodle-anyreport\src\main\java\ru\egspt\TagControls.java |
c:\Users\devuser\Documents\code\moodle-anyreport\src\main\java\ru\egspt\App.java |
||||||
c:\Users\devuser\Documents\code\moodle\moodle-anyreport\src\main\java\ru\egspt\ReportPane.java |
c:\Users\devuser\Documents\code\moodle-anyreport\src\main\java\ru\egspt\DataPane.java |
||||||
c:\Users\devuser\Documents\code\moodle\moodle-anyreport\src\main\java\ru\egspt\Quiz.java |
c:\Users\devuser\Documents\code\moodle-anyreport\src\main\java\ru\egspt\TagModel.java |
||||||
|
c:\Users\devuser\Documents\code\moodle-anyreport\src\main\java\ru\egspt\User.java |
||||||
|
c:\Users\devuser\Documents\code\moodle-anyreport\src\main\java\ru\egspt\TagPane.java |
||||||
|
c:\Users\devuser\Documents\code\moodle-anyreport\src\main\java\ru\egspt\Base.java |
||||||
|
c:\Users\devuser\Documents\code\moodle-anyreport\src\main\java\ru\egspt\UserListModel.java |
||||||
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in new issue