Semantic search
Jump to navigation
Jump to search
Query-Depth:1
Debug output SQLStore
ASK Query
[[Range::≤26]] [[Class::!Mechanoid Weapons]] [[Name::!Uranium slug cannon]] [[Name::!Autocannon]] [[Name::!Mini-turret gun]]
SQL Query
SELECT DISTINCT
t0.smw_id AS id,
t0.smw_title AS t,
t0.smw_namespace AS ns,
t0.smw_iw AS iw,
t0.smw_subobject AS so,
t0.smw_sortkey AS sortkey, t0.smw_sort
FROM
`mr_smw_object_ids` AS t0
INNER JOIN
(`mr_smw_di_number` AS t2
INNER JOIN
(`mr_smw_di_wikipage` AS t4
INNER JOIN
`mr_smw_object_ids` AS t6 ON t4.o_id=t6.smw_id) ON t2.s_id=t4.s_id
INNER JOIN
`mr_smw_di_blob` AS t7 ON t2.s_id=t7.s_id
INNER JOIN
`mr_smw_di_blob` AS t9 ON t2.s_id=t9.s_id
INNER JOIN
`mr_smw_di_blob` AS t11 ON t2.s_id=t11.s_id) ON t0.smw_id=t2.s_id
WHERE
(
(t2.o_sortkey<='26') AND t2.p_id=21348
AND (t4.p_id=21335
AND (t6.smw_sortkey!='Mechanoid Weapons')
)
AND (
(t7.o_hash!='Uranium slug cannon') AND t7.p_id=2936)
AND (
(t9.o_hash!='Autocannon') AND t9.p_id=2936)
AND (
(t11.o_hash!='Mini-turret gun') AND t11.p_id=2936)
)
AND t0.smw_iw!=':smw'
AND t0.smw_iw!=':smw-delete'
AND t0.smw_iw!=':smw-redi'
ORDER BY
t0.smw_sort ASC
LIMIT
55
OFFSET
0
t0.smw_id AS id,
t0.smw_title AS t,
t0.smw_namespace AS ns,
t0.smw_iw AS iw,
t0.smw_subobject AS so,
t0.smw_sortkey AS sortkey, t0.smw_sort
FROM
`mr_smw_object_ids` AS t0
INNER JOIN
(`mr_smw_di_number` AS t2
INNER JOIN
(`mr_smw_di_wikipage` AS t4
INNER JOIN
`mr_smw_object_ids` AS t6 ON t4.o_id=t6.smw_id) ON t2.s_id=t4.s_id
INNER JOIN
`mr_smw_di_blob` AS t7 ON t2.s_id=t7.s_id
INNER JOIN
`mr_smw_di_blob` AS t9 ON t2.s_id=t9.s_id
INNER JOIN
`mr_smw_di_blob` AS t11 ON t2.s_id=t11.s_id) ON t0.smw_id=t2.s_id
WHERE
(
(t2.o_sortkey<='26') AND t2.p_id=21348
AND (t4.p_id=21335
AND (t6.smw_sortkey!='Mechanoid Weapons')
)
AND (
(t7.o_hash!='Uranium slug cannon') AND t7.p_id=2936)
AND (
(t9.o_hash!='Autocannon') AND t9.p_id=2936)
AND (
(t11.o_hash!='Mini-turret gun') AND t11.p_id=2936)
)
AND t0.smw_iw!=':smw'
AND t0.smw_iw!=':smw-delete'
AND t0.smw_iw!=':smw-redi'
ORDER BY
t0.smw_sort ASC
LIMIT
55
OFFSET
0
SQL Explain
ID | select_type | table | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | t2 | range | s_id, p_id, o_sortkey, p_id_2, s_id_2 | p_id | 13 | 38 | 100.00 | Using index condition; Using temporary; Using filesort | |
1 | SIMPLE | t0 | eq_ref | PRIMARY, smw_id, smw_iw, smw_iw_2 | PRIMARY | 4 | rimworld_wiki_new.t2.s_id | 1 | 50.01 | Using where |
1 | SIMPLE | t7 | ref | s_id, p_id, s_id_2, o_hash | s_id | 8 | rimworld_wiki_new.t2.s_id, const | 1 | 56.05 | Using where; Distinct |
1 | SIMPLE | t9 | ref | s_id, p_id, s_id_2, o_hash | s_id | 8 | rimworld_wiki_new.t2.s_id, const | 1 | 71.96 | Using where; Distinct |
1 | SIMPLE | t4 | ref | s_id, o_id, p_id, s_id_2, s_id_3, o_id_2, o_id_3 | s_id_3 | 8 | rimworld_wiki_new.t2.s_id, const | 1 | 100.00 | Using where; Using index; Distinct |
1 | SIMPLE | t6 | eq_ref | PRIMARY, smw_id, smw_sortkey | PRIMARY | 4 | rimworld_wiki_new.t4.o_id | 1 | 100.00 | Using where; Distinct |
1 | SIMPLE | t11 | ref | s_id, p_id, s_id_2, o_hash | s_id | 8 | rimworld_wiki_new.t2.s_id, const | 1 | 99.99 | Using where; Distinct |
Auxilliary Tables
No auxilliary tables used.Query Metrics
Query-Size:10Query-Depth:1
Errors and Warnings
NoneRange | |
---|---|
Autopistol | 25.9 |
Chain shotgun | 12.9 |
Charge rifle | 25.9 |
EMP grenades | 12.9 |
EMP launcher | 23.9 |
Flamebow | 22.9 |
Frag grenades | 12.9 |
Grenadier armor | 12.9 |
Heavy SMG | 22.9 |
Incendiary launcher | 23.9 |
LMG | 25.9 |
Machine pistol | 19.9 |
Molotov cocktails | 12.9 |
Pila | 18.9 |
Pump shotgun | 15.9 |
Recurve bow | 25.9 |
Revolver | 25.9 |
Short bow | 22.9 |
Smoke launcher | 23.9 |
Tactical turret gun | 19.9 |