Skip to content

StartDate invalid identifier

I have two SELECT statment which I connect using UNION and I get error Since I create first one SELECT statment and run and I get result, and second also, so I run separatly and it works perfect. But when I use UNION I get error pusd2.StartDate invalid identifier. What is wrong here ? What I made wrong ? Tabl…

oracle sum by column without using union

I have this table: (supply table: how many products in storages) I should write a query to have this result: “Total_except_storage_30” has the total of every product in storages except storage number 30. For example first “total_except_storage_30” is for product_id 1000 in all storages…