skip to Main Content

Get price by month in mysql

I need to get the total price per month. I have inited_time (ex. 20160530105130) first_payment_price deleted I tried grouping by inited_time SELECT inited_time, DATE_FORMAT(inited_time, '%c') as month, SUM(first_payment_price) as price FROM some_table WHERE inited_time > 0 AND deleted = 0…

VIEW QUESTION

ASP.NET Core Linq Compare Id and Sum value

I have a problem and unfortunately can not find the solution! This is my database: enter image description here and I would like to store all PaymentSum(double) [PaymentInformation] in the Total (double) [Document]. This is the SQL statement: Select SUM(PaymentSum)…

VIEW QUESTION
Back To Top
Search