+ 1

Retrieve value for particular interval in SQL

I've created a sql table for salary. It inserts daily shifts and daily salary of me. It contains "count(primary and auto increment)", "date", "shifts", "salary". I will do all the backends with PHP. And I insert. I need to retrieve the salary amount and to sum them for a particular interval (eg: 01/03/2018 to 01/04/2018) I'm struggling with this. Provide the solution. Thanks in Advance

26th May 2018, 7:38 PM
Hemath Kumar
Hemath Kumar - avatar
2 ответов
+ 2
Are you in need of PHP help and SQL? In, SQL will you use a Stored procedure?
29th May 2018, 7:59 AM
SQrL
SQrL - avatar
0
yes! I need help with php
29th May 2018, 8:01 AM
Hemath Kumar
Hemath Kumar - avatar