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
African Hope
.
Toggle Highlighting
SQL
SET @projects = "frwikip,John"; #SELECT find_in_set(@projects) as project; WHILE (LOCATE(',', @projects) > 0) DO SET @value = ELT(1, @projects); SET @STR = SUBSTRING(@projects, 1, LOCATE(',',@projects)-1); SET @projects = SUBSTRING(@projects, LOCATE(',', @projects) + 1); SELECT @STR as project; END WHILE; /* SELECT user_id, user_name, ug_group, user_editcount FROM (SELECT CONCAT (project, ".user") FROM @projects) as user JOIN user_groups on ug_user = user_id and ug_group = "sysop" limit 10; */ /* select * from user join user_groups on ug_user = user_id and ug_group = "sysop" limit 10;*/
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...