Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7fa1046

Browse files
authored
Update script.sql
1 parentc689247 commit7fa1046

File tree

1 file changed

+2
-2
lines changed
  • src.save/main/java/g1601_1700/s1661_average_time_of_process_per_machine

1 file changed

+2
-2
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Write your MySQL query statement below
22
# #Easy #Database #2023_08_16_Time_429_ms_(79.06%)_Space_0B_(100.00%)
3-
selectact1.machine_id,round(avg(act2.timestamp-act1.timestamp),3)as processing_timefrom activity act1join activity act2onact1.machine_id=act2.machine_id
3+
selectact1.machine_id,round(avg(act2.timestamp-act1.timestamp),3)as processing_timefrom activity act1join activity act2onact1.machine_id=act2.machine_id
44
whereact1.process_id=act2.process_idandact1.activity_type='start'
5-
andact2.activity_type='end'group byact1.machine_id;
5+
andact2.activity_type='end'group byact1.machine_id;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp