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
KKYMMT
.
userテーブルとuser_groupsテーブルをuser_id(利用者ID)で結合し、 ug_group(所属している利用者グループ)が空でない(何かの権限を持っている)人のname, ug_groupを表示
Toggle Highlighting
SQL
select user.user_id, user.user_name, user_group.ug_group from user, user_groups where user.user_id = user_groups.ug_user and ug_group is not null
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...