Mysql
 sql >> Database >  >> RDS >> Mysql

Interrogazione di più database contemporaneamente

SELECT option_value
 FROM `database1`.`wp_options`
  WHERE option_name="active_plugins"
UNION
SELECT option_value
 FROM `database2`.`wp_options`
  WHERE option_name="active_plugins"