Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- select usuario_ad, nombre
- from usuarios
- where usuario_ad in (select username from users
- where users.refer="adminpal" unio select "adminpal");
- $result = Usuario::where('refer', 'adminpal')->pluck('usuario_ad', 'nombre')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement