Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Rafe's avatar
Level 1

How to use Union in DB::select() query ?

i use the following code

DB::select('select mobno from students UNION select mobno from teachers')

but it make an error pls help me

0 likes
0 replies

Please or to participate in this conversation.