I need to insert new first column counter
1
2
3
4
5
6..etc in this code
- String saveStaff = " Select roba as 'Naziv artikla', SUM (cast(kolicina as float)) as 'Kolicina' from (select roba, kolicina from mp_racun_roba union all select roba, kolicina from mp_faktura_roba) as alltables group by roba";
Shahriar NikkhahPosted Apr 21, 2018, 11:55 AM
Goran BibicPosted Apr 21, 2018, 9:03 AM
Column 'alltables.kolicina' is invalid in the select list because it is not contained in either an aggregate function or the GROUP BY clause.
Sai SherlekarPosted Apr 21, 2018, 5:30 AM