Skip to content
Advertisement

Is it possible to translate this “join” and “as” query to Laravel PDO functions?

I am struggling to make this SQL query to a Laravel PDO query. Does anyone know how I can do this? (Especially the 'AS' statements and the naming in the joins).

Query:

Advertisement

Answer

Directly use join() and select() method like this:

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement