CREATE TEMPORARY TABLE ... SELECT ...
.DELETE FROM %DB_PREFIX%product WHERE product_id NOT IN (SELECT DISTINCT product_id FROM %DB_PREFIX%product_to_category)
127.0.0.1 localhost2
в Windows c:\Windows\system32\drivers\etc\hosts, в Linux /etc/hosts'components' => [
'errorHandler' => [
'errorAction' => 'site/error',
],
]
$query = TourTable::find()
->with(['user', 'profile', 'team'])
->where(['tour_id' => $tour_id])
->groupBy('group');