SELECT
GROUP_CONCAT('select "' || name || '" table_name, * from `' || name || '` where referer = "yandex"', ' union ') q
FROM
sqlite_master
WHERE
type ='table' AND
name NOT LIKE 'sqlite_%';
select "t1" table_name, * from t1 where referer = "yandex" union select "t2" table_name, * from t2 where referer = "yandex"
+============+====+=========+
| table_name | id | referer |
+============+====+=========+
| t1 | 2 | yandex |
+------------+----+---------+
| t2 | 20 | yandex |
+------------+----+---------+
if ( ( is_front_page() || is_home() ) && !is_paged() ) {
echo '<div class="site-logotype">' . $logotype_html . '</div>';
} else {
echo '<div class="site-logotype"><a href="'. esc_url( home_url( '/test' ) ) .'">' . $logotype_html . '</a></div>';
}
INSERT INTO `wp_options` (`option_name`, `option_value`, `autoload`) VALUES
( '__plugins_cache_244', 'test1', 'no')
...
INSERT INTO `wp_options` (`option_id`, `option_name`, `option_value`, `autoload`) VALUES
(DEFAULT, '__plugins_cache_244', 'test1', 'no')
...