A
Size: a a a
A
A
ДК
A
M
A
ДК
ДК
M
A
M
ДК
M
M
$query = TABLE1::where('zid', 1)
->where('zsize', '40')
->with(['TABLE1_TABLE2' => function ($join) use ($base_date_start, $base_date_end) {
$join->whereDate('parsed_at', '>=', $base_date_start);
$join->whereDate('parsed_at', '<=', $base_date_end);
}]);
M
АЗ
M
АЗ
АЗ
АЗ