This query is marked as a draft This query has been published by ASammour.

SQL

AخA
 
SELECT CONCAT('select ', schema_name,'\.user\.user_id from ',schema_name, '\.user where ',schema_name,'\.user\.user_name = "ASammour";')
FROM information_schema.schemata
WHERE schema_name NOT IN ('information_schema','mysql','performance_schema','test');
By running queries you agree to the Cloud Services Terms of Use and you irrevocably agree to release your SQL under CC0 License.
All SQL code is licensed under CC0 License.

Checking query status...