I am using Cluvio connected with a MySQL DB to show graphs of data.
Data is of this nature:
level (int), status (int), datepurchased (datetime), product (text)
0, 100, 2017-07-03 11:28:52, prod1
1, 102, 2017-06-23 23:29:35, prod2
4, 0, 2017-05-23 23:29:35, prod1
1, 102, 2017-06-23 23:29:35, prod2
0, 404, 2017-06-23 23:29:35, prod2
1, 404, 2017-06-23 23:29:35, prod2
3, 101, 2017-07-23 23:29:35, prod1
2, 101, 2017-06-23 23:29:35, prod1
etc.
What I need is SQL written for the following reports:
1. The count per product for current month (I.e. prod1: 2, prod2: 2)
2. The count per product for current month (I.e. prod1: 1, prod2: 2)
3. The count per level for current month (I.e. 3: 1)
3. The count per level for previous month (I.e. 1: 2, 2: 1)
4. Total count for levels 1-10 for current month (I.e: 1)
5. Total count sold for levels 1-10 for previous month (I.e: 3)
Product names change from month to month so that cannot be hard-coded.
All queries need to include:
where level is 1-10 and status is 100-110
Thanks!
Hello,
I am expert in web technology , MySql , Sql Server . I can help you to write query as per your requirement.
Stay tuned, I'm is still working on this proposal.
I am 9+ Years of Experienced Software Developer,confident about to complete the project.
Relevant Skills and Experience
ASP .Net , C# , VB .Net , Visual Basic, Excel VBA , MS SQL Server , MYSQL , Oracle ,
MS Access, Crystal Report, Telerik , Bootstrap , HTML 5 , CSS , Java Script are my working domain.
Proposed Milestones
$100 AUD - Project Milestone
Hello,
Ready to start right now. Highly experienced in SQL. I can provide standard and quality work. Please PM me for more details.
Thank You.
Relevant Skills and Experience
SQL
Proposed Milestones
$25 AUD - Final
I am an experienced SQL query developer. I will do your project. Feel free to contact me for further discussion.
Regards,
Moeen Ahmed
Relevant Skills and Experience
MySQL
Proposed Milestones
$70 AUD - Project
How much time do you have?
I will give you mysql queries for all 5 requirements to display graph.
Relevant Skills and Experience
I am expert freelancers with 10 years of professional experience. I am very strong in mysql queries and solved cmplex issues surrender by top ranked freelancers.
Proposed Milestones
$45 AUD - query for graph