Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
This query is marked as a draft
This query has been published
by
Soni
.
- Assuming last edit on the Program page was "End of course", Edits by student since end of course
Toggle Highlighting
SQL
SELECT lg.log_timestamp AS timestamp, pl.pl_title as student, p3.page_title AS program_name, p3.page_id as program_pageid, u.user_id as student_id, u.user_editcount as student_edit_count FROM logging lg JOIN page p3 ON log_title = p3.page_title AND p3.page_namespace = 4 JOIN pagelinks pl ON pl.pl_from = p3.page_id AND pl.pl_namespace = 2 JOIN categorylinks cl ON p3.page_id = cl.cl_from AND cl.cl_to like "%Dashboard.wikiedu.org_course_pages%" JOIN user u ON u.user_name = pl.pl_title JOIN linktarget lt ON (lt.lt_title LIKE "Dashboard.wikiedu.org_talk_course_link") AND lt.lt_namespace = 10 JOIN templatelinks tl ON lt.lt_id = tl.tl_target_id JOIN page p2 ON tl.tl_from = p2.page_id AND p2.page_namespace = 3 AND p2.page_title NOT like "%/%" JOIN revision rv1 ON rv1.rev_id = p3.page_latest #AND rv.rev_timestamp >= '20210308000000' WHERE lg.log_type = 'create' and lg.log_namespace = 4 and lg.log_timestamp<20200101000000 and lg.log_timestamp>20190101000000 #when the program was created AND u.user_name = p2.page_title and u.user_registration is NOT NULL LIMIT 100
By running queries you agree to the
Cloud Services Terms of Use
and you irrevocably agree to release your SQL under
CC0 License
.
Submit Query
Stop Query
All SQL code is licensed under
CC0 License
.
Checking query status...