Д
Size: a a a
Д
Д
Д
Д
Д
D
D
Д
Д
J
D
ИЛ
ИЛ
J
M
$array = DB::table('mineral_purposes')->select(['*', DB::raw("'purpose' as type")])
->union(DB::table('mineral_thicknesses')->select(['*', DB::raw("'thickness' as type")])->whereRaw($whereRaw)->orderBy('title'))
->get();
(select *, 'purpose' as type from `mineral_purposes`)
union (select *, 'thickness' as type from mineral_thicknesses where LOCATE('29', cat_ids) order by title asc)
A¯
AP
AP
D
AP