How can I resolve issues with duplicate timestamp on timeseries forecasting? [closed] - duplicates

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 days ago.
Improve this question
The specified time column, 'CreatedDate', contains rows with duplicate timestamps. If your data contains multiple time series, review the time series identifier column setting to define the time series identifiers. If the dataset needs to be aggregated, please provide freq and target_aggregation_function parameters and run AutoML again.
I am training a model using time series forecasting in automl but encountered an error with duplicated stamps.

Related

How do i edit multible rows in mysql based on a set of criteria [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 months ago.
Improve this question
I have a mysqlp table which contains a set of data as in the sample excel file. We need a query that will copy the product name into the customer field where customer = Luxury. We used the below query to start editing one by one but there are thousands of records.
SET customer = 'TAVERNAKI' WHERE product = 'TAVERNAKI' AND customer = 'LUXURY';
So we are going about copying and pasting the query and replacing the product name each time. Does anyone have an idea for a mass edit of all records?
Sample file in the link here
[1]: https://docs.google.com/spreadsheets/d/1sgtwNobMU5mKCLuxDLqhpEivEekI0l4R/edit?usp=sharing&ouid=107367920163394089177&rtpof=true&sd=true
Simply
UPDATE table SET customer=product WHERE customer='Luxury'

Can SQL replicate Excel's auto-updating cells based on other cells? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I have a database of some devices, each with details on their status for things like maintenance schedule, last calibration date, age, warranty status, etc. One of the points of this database is to give us a yes/no answer whether it should be in service or not, based on all these other data points being a certain way. If this was Excel, I could make a cell and use IF statements to get this automatically, and any time one field like warranty fell out of date, the "in service" field would also switch to "No".
Is it possible for a MySQL database to do this automatically?
Yes. If all the values you need are in one row, you can use a generated column.
If values needed for the calculation come from other rows or tables, then you can use a view.
Other than that, it is hard to provide more specifics because you question lacks helpful details.

What is the specific use of Pivot table in SQL? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
Im curious what is the distinct use of pivot table in database? I mean, how is it apply in real life.
Pivot query help us to generate an interactive table that quickly combines and compares large amounts of data. We can rotate its rows and columns to see different summaries of the source data, and we can display the details for areas of interest at a glance. It also help us to generate Multidimensional reporting.
for more information visit:
http://www.codeproject.com/Tips/500811/Simple-Way-To-Use-Pivot-In-SQL-Query
https://technet.microsoft.com/en-us/library/ms177410(v=sql.105).aspx

MySQL Procedures for reporting total [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
Would anyone be able to help me with creating a procedure that reports the total amount paid in a specific month and specific year? Or how I would even go about creating this?
Thank you for any and all help.
I'm guessing you have a table that includes both a date column as well as an amount paid column. If that is the case, and you just want to sum the amount paid you can just use the SUM() function.
Try this:
SELECT SUM(totalAmountPaid) as totalForMonth
FROM tableName
WHERE MONTH(dateColumn) = monthYouWant AND YEAR(dateColumn) = yearYouWant
Here are date and time functions that may be useful.

Mysql table format for store last 30 days Data [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I want to add this data :
id,prod_name,value,date
1,samsung,340,02-02-2014
2,nokia,390,02-02-2014
3,samsung,340,03-02-2014
4,samsung,440,04-02-2014
Main problem is create each rows for each day records......So any way possible to no need to create every day record for each product
i want to save last 30 days data.
Could you not truncate the data every day for any data that is older than 30 days?