Support the ongoing development of Laravel.io →
Laravel Eloquent Database
Last updated 2 years ago.
0

You are selecting two columns (credit & debit) in the first unioned select, and five in the second (id, user_id, movement_type_id, amount, description). You need to select the same number of columns and they should presumably be the same type of data.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

marymvlg28 marymvlg28 Joined 19 Jan 2015

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.