1
6.46 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 ASC 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 ASC LIMIT 20 ;
Copy
2
0.45 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 ASC
Parameters :
[
4
19
9
24
12
6
22
28
13
23
17
14
16
27
1
26
8
10
2
30
]
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 (4 , 19 , 9 , 24 , 12 , 6 , 22 , 28 , 13 , 23 , 17 , 14 , 16 , 27 , 1 , 26 , 8 , 10 , 2 , 30 )) AND (w0_ . deleted_at IS NULL ) ORDER BY w0_ . name ASC ;
Copy
3
0.34 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.77 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
5
0.32 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
6
0.33 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
7
0.35 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 = 24 AND ((t0 . deleted_at IS NULL ));
Copy
8
0.32 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
9
0.32 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.33 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 = 22 AND ((t0 . deleted_at IS NULL ));
Copy
11
0.34 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 = 28 AND ((t0 . deleted_at IS NULL ));
Copy
12
0.40 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
13
0.36 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 = 23 AND ((t0 . deleted_at IS NULL ));
Copy
14
0.34 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
15
0.32 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
16
0.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 = 16 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 = 27 AND ((t0 . deleted_at IS NULL ));
Copy
18
0.32 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
19
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 = 26 AND ((t0 . deleted_at IS NULL ));
Copy
20
0.33 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
21
0.35 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
22
0.35 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
23
0.36 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