1
5.84 ms
SELECT DISTINCT w0_ . work_id AS work_id_0 , w0_ . name AS name_1 FROM work_works w0_ WHERE (w0_ . deleted_at IS NULL ) ORDER BY w0_ . name DESC LIMIT 20
SELECT DISTINCT w0_ . work_id AS work_id_0 , w0_ . name AS name_1 FROM work_works w0_ WHERE (w0_ . deleted_at IS NULL ) ORDER BY w0_ . name DESC LIMIT 20 ;
Copy
2
1.01 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 ) ORDER BY w0_ . name DESC
Parameters :
[
7
25
3
20
5
11
15
21
18
29
30
2
10
8
26
1
27
16
14
17
]
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 (7 , 25 , 3 , 20 , 5 , 11 , 15 , 21 , 18 , 29 , 30 , 2 , 10 , 8 , 26 , 1 , 27 , 16 , 14 , 17 )) AND (w0_ . deleted_at IS NULL ) ORDER BY w0_ . name DESC ;
Copy
3
0.32 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
1.29 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
5
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 = 25 AND ((t0 . deleted_at IS NULL ));
Copy
6
0.38 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.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 = 20 AND ((t0 . deleted_at IS NULL ));
Copy
8
0.31 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.45 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
10
0.41 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
11
0.43 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 = 21 AND ((t0 . deleted_at IS NULL ));
Copy
12
0.45 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
13
0.47 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 = 29 AND ((t0 . deleted_at IS NULL ));
Copy
14
0.42 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 = 30 AND ((t0 . deleted_at IS NULL ));
Copy
15
0.45 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
16
0.49 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
17
0.47 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
18
0.50 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 = 26 AND ((t0 . deleted_at IS NULL ));
Copy
19
0.50 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
20
0.50 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 = 27 AND ((t0 . deleted_at IS NULL ));
Copy
21
0.50 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
22
0.51 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
23
0.45 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