1
1.71 ms
SELECT DISTINCT w0_ . work_id AS work_id_0 FROM work_works w0_ WHERE (w0_ . deleted_at IS NULL ) LIMIT 20
SELECT DISTINCT w0_ . work_id AS work_id_0 FROM work_works w0_ WHERE (w0_ . deleted_at IS NULL ) LIMIT 20 ;
Copy
2
0.39 ms
SELECT w0_ . work_id AS work_id_0 , w0_ . created_at AS created_at_1 , w0_ . deleted_at AS deleted_at_2 , w0_ . key AS key_3 , w0_ . name AS name_4 , w0_ . type_id AS type_id_5 , w0_ . group_id AS group_id_6 FROM work_works w0_ WHERE (w0_ . work_id IN (? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? )) AND (w0_ . deleted_at IS NULL )
Parameters :
[
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
]
SELECT w0_ . work_id AS work_id_0 , w0_ . created_at AS created_at_1 , w0_ . deleted_at AS deleted_at_2 , w0_ . key AS key_3 , w0_ . name AS name_4 , w0_ . type_id AS type_id_5 , w0_ . group_id AS group_id_6 FROM work_works w0_ WHERE (w0_ . work_id IN (1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 , 11 , 12 , 13 , 14 , 15 , 16 , 17 , 18 , 19 , 20 )) AND (w0_ . deleted_at IS NULL );
Copy
3
0.29 ms
SELECT count (* ) AS sclr_0 FROM work_works w0_ WHERE (w0_ . deleted_at IS NULL )
SELECT count (* ) AS sclr_0 FROM work_works w0_ WHERE (w0_ . deleted_at IS NULL );
Copy
4
0.59 ms
SELECT t0 . price_id AS price_id_1 , t0 . created_at AS created_at_2 , t0 . deleted_at AS deleted_at_3 , t0 . key AS key_4 , t0 . price AS price_5 , t0 . current AS current_6 , t0 . work_id AS work_id_7 FROM work_prices t0 WHERE t0 . work_id = ? AND ((t0 . deleted_at IS NULL ))
SELECT t0 . price_id AS price_id_1 , t0 . created_at AS created_at_2 , t0 . deleted_at AS deleted_at_3 , t0 . key AS key_4 , t0 . price AS price_5 , t0 . current AS current_6 , t0 . work_id AS work_id_7 FROM work_prices t0 WHERE t0 . work_id = 1 AND ((t0 . deleted_at IS NULL ));
Copy
5
0.21 ms
SELECT t0 . price_id AS price_id_1 , t0 . created_at AS created_at_2 , t0 . deleted_at AS deleted_at_3 , t0 . key AS key_4 , t0 . price AS price_5 , t0 . current AS current_6 , t0 . work_id AS work_id_7 FROM work_prices t0 WHERE t0 . work_id = ? AND ((t0 . deleted_at IS NULL ))
SELECT t0 . price_id AS price_id_1 , t0 . created_at AS created_at_2 , t0 . deleted_at AS deleted_at_3 , t0 . key AS key_4 , t0 . price AS price_5 , t0 . current AS current_6 , t0 . work_id AS work_id_7 FROM work_prices t0 WHERE t0 . work_id = 2 AND ((t0 . deleted_at IS NULL ));
Copy
6
0.20 ms
SELECT t0 . price_id AS price_id_1 , t0 . created_at AS created_at_2 , t0 . deleted_at AS deleted_at_3 , t0 . key AS key_4 , t0 . price AS price_5 , t0 . current AS current_6 , t0 . work_id AS work_id_7 FROM work_prices t0 WHERE t0 . work_id = ? AND ((t0 . deleted_at IS NULL ))
SELECT t0 . price_id AS price_id_1 , t0 . created_at AS created_at_2 , t0 . deleted_at AS deleted_at_3 , t0 . key AS key_4 , t0 . price AS price_5 , t0 . current AS current_6 , t0 . work_id AS work_id_7 FROM work_prices t0 WHERE t0 . work_id = 3 AND ((t0 . deleted_at IS NULL ));
Copy
7
0.20 ms
SELECT t0 . price_id AS price_id_1 , t0 . created_at AS created_at_2 , t0 . deleted_at AS deleted_at_3 , t0 . key AS key_4 , t0 . price AS price_5 , t0 . current AS current_6 , t0 . work_id AS work_id_7 FROM work_prices t0 WHERE t0 . work_id = ? AND ((t0 . deleted_at IS NULL ))
SELECT t0 . price_id AS price_id_1 , t0 . created_at AS created_at_2 , t0 . deleted_at AS deleted_at_3 , t0 . key AS key_4 , t0 . price AS price_5 , t0 . current AS current_6 , t0 . work_id AS work_id_7 FROM work_prices t0 WHERE t0 . work_id = 4 AND ((t0 . deleted_at IS NULL ));
Copy
8
0.27 ms
SELECT t0 . price_id AS price_id_1 , t0 . created_at AS created_at_2 , t0 . deleted_at AS deleted_at_3 , t0 . key AS key_4 , t0 . price AS price_5 , t0 . current AS current_6 , t0 . work_id AS work_id_7 FROM work_prices t0 WHERE t0 . work_id = ? AND ((t0 . deleted_at IS NULL ))
SELECT t0 . price_id AS price_id_1 , t0 . created_at AS created_at_2 , t0 . deleted_at AS deleted_at_3 , t0 . key AS key_4 , t0 . price AS price_5 , t0 . current AS current_6 , t0 . work_id AS work_id_7 FROM work_prices t0 WHERE t0 . work_id = 5 AND ((t0 . deleted_at IS NULL ));
Copy
9
0.20 ms
SELECT t0 . price_id AS price_id_1 , t0 . created_at AS created_at_2 , t0 . deleted_at AS deleted_at_3 , t0 . key AS key_4 , t0 . price AS price_5 , t0 . current AS current_6 , t0 . work_id AS work_id_7 FROM work_prices t0 WHERE t0 . work_id = ? AND ((t0 . deleted_at IS NULL ))
SELECT t0 . price_id AS price_id_1 , t0 . created_at AS created_at_2 , t0 . deleted_at AS deleted_at_3 , t0 . key AS key_4 , t0 . price AS price_5 , t0 . current AS current_6 , t0 . work_id AS work_id_7 FROM work_prices t0 WHERE t0 . work_id = 6 AND ((t0 . deleted_at IS NULL ));
Copy
10
0.21 ms
SELECT t0 . price_id AS price_id_1 , t0 . created_at AS created_at_2 , t0 . deleted_at AS deleted_at_3 , t0 . key AS key_4 , t0 . price AS price_5 , t0 . current AS current_6 , t0 . work_id AS work_id_7 FROM work_prices t0 WHERE t0 . work_id = ? AND ((t0 . deleted_at IS NULL ))
SELECT t0 . price_id AS price_id_1 , t0 . created_at AS created_at_2 , t0 . deleted_at AS deleted_at_3 , t0 . key AS key_4 , t0 . price AS price_5 , t0 . current AS current_6 , t0 . work_id AS work_id_7 FROM work_prices t0 WHERE t0 . work_id = 7 AND ((t0 . deleted_at IS NULL ));
Copy
11
0.27 ms
SELECT t0 . price_id AS price_id_1 , t0 . created_at AS created_at_2 , t0 . deleted_at AS deleted_at_3 , t0 . key AS key_4 , t0 . price AS price_5 , t0 . current AS current_6 , t0 . work_id AS work_id_7 FROM work_prices t0 WHERE t0 . work_id = ? AND ((t0 . deleted_at IS NULL ))
SELECT t0 . price_id AS price_id_1 , t0 . created_at AS created_at_2 , t0 . deleted_at AS deleted_at_3 , t0 . key AS key_4 , t0 . price AS price_5 , t0 . current AS current_6 , t0 . work_id AS work_id_7 FROM work_prices t0 WHERE t0 . work_id = 8 AND ((t0 . deleted_at IS NULL ));
Copy
12
0.24 ms
SELECT t0 . price_id AS price_id_1 , t0 . created_at AS created_at_2 , t0 . deleted_at AS deleted_at_3 , t0 . key AS key_4 , t0 . price AS price_5 , t0 . current AS current_6 , t0 . work_id AS work_id_7 FROM work_prices t0 WHERE t0 . work_id = ? AND ((t0 . deleted_at IS NULL ))
SELECT t0 . price_id AS price_id_1 , t0 . created_at AS created_at_2 , t0 . deleted_at AS deleted_at_3 , t0 . key AS key_4 , t0 . price AS price_5 , t0 . current AS current_6 , t0 . work_id AS work_id_7 FROM work_prices t0 WHERE t0 . work_id = 9 AND ((t0 . deleted_at IS NULL ));
Copy
13
0.26 ms
SELECT t0 . price_id AS price_id_1 , t0 . created_at AS created_at_2 , t0 . deleted_at AS deleted_at_3 , t0 . key AS key_4 , t0 . price AS price_5 , t0 . current AS current_6 , t0 . work_id AS work_id_7 FROM work_prices t0 WHERE t0 . work_id = ? AND ((t0 . deleted_at IS NULL ))
SELECT t0 . price_id AS price_id_1 , t0 . created_at AS created_at_2 , t0 . deleted_at AS deleted_at_3 , t0 . key AS key_4 , t0 . price AS price_5 , t0 . current AS current_6 , t0 . work_id AS work_id_7 FROM work_prices t0 WHERE t0 . work_id = 10 AND ((t0 . deleted_at IS NULL ));
Copy
14
0.25 ms
SELECT t0 . price_id AS price_id_1 , t0 . created_at AS created_at_2 , t0 . deleted_at AS deleted_at_3 , t0 . key AS key_4 , t0 . price AS price_5 , t0 . current AS current_6 , t0 . work_id AS work_id_7 FROM work_prices t0 WHERE t0 . work_id = ? AND ((t0 . deleted_at IS NULL ))
SELECT t0 . price_id AS price_id_1 , t0 . created_at AS created_at_2 , t0 . deleted_at AS deleted_at_3 , t0 . key AS key_4 , t0 . price AS price_5 , t0 . current AS current_6 , t0 . work_id AS work_id_7 FROM work_prices t0 WHERE t0 . work_id = 11 AND ((t0 . deleted_at IS NULL ));
Copy
15
0.22 ms
SELECT t0 . price_id AS price_id_1 , t0 . created_at AS created_at_2 , t0 . deleted_at AS deleted_at_3 , t0 . key AS key_4 , t0 . price AS price_5 , t0 . current AS current_6 , t0 . work_id AS work_id_7 FROM work_prices t0 WHERE t0 . work_id = ? AND ((t0 . deleted_at IS NULL ))
SELECT t0 . price_id AS price_id_1 , t0 . created_at AS created_at_2 , t0 . deleted_at AS deleted_at_3 , t0 . key AS key_4 , t0 . price AS price_5 , t0 . current AS current_6 , t0 . work_id AS work_id_7 FROM work_prices t0 WHERE t0 . work_id = 12 AND ((t0 . deleted_at IS NULL ));
Copy
16
0.22 ms
SELECT t0 . price_id AS price_id_1 , t0 . created_at AS created_at_2 , t0 . deleted_at AS deleted_at_3 , t0 . key AS key_4 , t0 . price AS price_5 , t0 . current AS current_6 , t0 . work_id AS work_id_7 FROM work_prices t0 WHERE t0 . work_id = ? AND ((t0 . deleted_at IS NULL ))
SELECT t0 . price_id AS price_id_1 , t0 . created_at AS created_at_2 , t0 . deleted_at AS deleted_at_3 , t0 . key AS key_4 , t0 . price AS price_5 , t0 . current AS current_6 , t0 . work_id AS work_id_7 FROM work_prices t0 WHERE t0 . work_id = 13 AND ((t0 . deleted_at IS NULL ));
Copy
17
0.25 ms
SELECT t0 . price_id AS price_id_1 , t0 . created_at AS created_at_2 , t0 . deleted_at AS deleted_at_3 , t0 . key AS key_4 , t0 . price AS price_5 , t0 . current AS current_6 , t0 . work_id AS work_id_7 FROM work_prices t0 WHERE t0 . work_id = ? AND ((t0 . deleted_at IS NULL ))
SELECT t0 . price_id AS price_id_1 , t0 . created_at AS created_at_2 , t0 . deleted_at AS deleted_at_3 , t0 . key AS key_4 , t0 . price AS price_5 , t0 . current AS current_6 , t0 . work_id AS work_id_7 FROM work_prices t0 WHERE t0 . work_id = 14 AND ((t0 . deleted_at IS NULL ));
Copy
18
0.24 ms
SELECT t0 . price_id AS price_id_1 , t0 . created_at AS created_at_2 , t0 . deleted_at AS deleted_at_3 , t0 . key AS key_4 , t0 . price AS price_5 , t0 . current AS current_6 , t0 . work_id AS work_id_7 FROM work_prices t0 WHERE t0 . work_id = ? AND ((t0 . deleted_at IS NULL ))
SELECT t0 . price_id AS price_id_1 , t0 . created_at AS created_at_2 , t0 . deleted_at AS deleted_at_3 , t0 . key AS key_4 , t0 . price AS price_5 , t0 . current AS current_6 , t0 . work_id AS work_id_7 FROM work_prices t0 WHERE t0 . work_id = 15 AND ((t0 . deleted_at IS NULL ));
Copy
19
0.23 ms
SELECT t0 . price_id AS price_id_1 , t0 . created_at AS created_at_2 , t0 . deleted_at AS deleted_at_3 , t0 . key AS key_4 , t0 . price AS price_5 , t0 . current AS current_6 , t0 . work_id AS work_id_7 FROM work_prices t0 WHERE t0 . work_id = ? AND ((t0 . deleted_at IS NULL ))
SELECT t0 . price_id AS price_id_1 , t0 . created_at AS created_at_2 , t0 . deleted_at AS deleted_at_3 , t0 . key AS key_4 , t0 . price AS price_5 , t0 . current AS current_6 , t0 . work_id AS work_id_7 FROM work_prices t0 WHERE t0 . work_id = 16 AND ((t0 . deleted_at IS NULL ));
Copy
20
0.20 ms
SELECT t0 . price_id AS price_id_1 , t0 . created_at AS created_at_2 , t0 . deleted_at AS deleted_at_3 , t0 . key AS key_4 , t0 . price AS price_5 , t0 . current AS current_6 , t0 . work_id AS work_id_7 FROM work_prices t0 WHERE t0 . work_id = ? AND ((t0 . deleted_at IS NULL ))
SELECT t0 . price_id AS price_id_1 , t0 . created_at AS created_at_2 , t0 . deleted_at AS deleted_at_3 , t0 . key AS key_4 , t0 . price AS price_5 , t0 . current AS current_6 , t0 . work_id AS work_id_7 FROM work_prices t0 WHERE t0 . work_id = 17 AND ((t0 . deleted_at IS NULL ));
Copy
21
0.23 ms
SELECT t0 . price_id AS price_id_1 , t0 . created_at AS created_at_2 , t0 . deleted_at AS deleted_at_3 , t0 . key AS key_4 , t0 . price AS price_5 , t0 . current AS current_6 , t0 . work_id AS work_id_7 FROM work_prices t0 WHERE t0 . work_id = ? AND ((t0 . deleted_at IS NULL ))
SELECT t0 . price_id AS price_id_1 , t0 . created_at AS created_at_2 , t0 . deleted_at AS deleted_at_3 , t0 . key AS key_4 , t0 . price AS price_5 , t0 . current AS current_6 , t0 . work_id AS work_id_7 FROM work_prices t0 WHERE t0 . work_id = 18 AND ((t0 . deleted_at IS NULL ));
Copy
22
0.24 ms
SELECT t0 . price_id AS price_id_1 , t0 . created_at AS created_at_2 , t0 . deleted_at AS deleted_at_3 , t0 . key AS key_4 , t0 . price AS price_5 , t0 . current AS current_6 , t0 . work_id AS work_id_7 FROM work_prices t0 WHERE t0 . work_id = ? AND ((t0 . deleted_at IS NULL ))
SELECT t0 . price_id AS price_id_1 , t0 . created_at AS created_at_2 , t0 . deleted_at AS deleted_at_3 , t0 . key AS key_4 , t0 . price AS price_5 , t0 . current AS current_6 , t0 . work_id AS work_id_7 FROM work_prices t0 WHERE t0 . work_id = 19 AND ((t0 . deleted_at IS NULL ));
Copy
23
0.19 ms
SELECT t0 . price_id AS price_id_1 , t0 . created_at AS created_at_2 , t0 . deleted_at AS deleted_at_3 , t0 . key AS key_4 , t0 . price AS price_5 , t0 . current AS current_6 , t0 . work_id AS work_id_7 FROM work_prices t0 WHERE t0 . work_id = ? AND ((t0 . deleted_at IS NULL ))
SELECT t0 . price_id AS price_id_1 , t0 . created_at AS created_at_2 , t0 . deleted_at AS deleted_at_3 , t0 . key AS key_4 , t0 . price AS price_5 , t0 . current AS current_6 , t0 . work_id AS work_id_7 FROM work_prices t0 WHERE t0 . work_id = 20 AND ((t0 . deleted_at IS NULL ));
Copy