Every minute a record
CodePudding user response:
How to write a statement to make queries every 15 minutes to take a record, the record and the column is the average of the 15 minutes all the records, the original database tables for a record every minuteCodePudding user response:
Group by to_char (rectime, 'yyyyMMddHH), date_part (' minute' rectime) : : int/15