Semantic search
Debug output SQLStore
ASK Query
[[ItemType::Consumable]] [[ItemSubType::Potion]]
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
`smw_object_ids` AS t0
INNER JOIN
(`smw_di_wikipage` AS t2
INNER JOIN
`smw_di_wikipage` AS t5 ON t2.s_id=t5.s_id) ON t0.smw_id=t2.s_id
WHERE
(t2.p_id='779' AND t2.o_id='9040'
AND (t5.p_id='780' AND t5.o_id='8991')
)
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
50
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
`smw_object_ids` AS t0
INNER JOIN
(`smw_di_wikipage` AS t2
INNER JOIN
`smw_di_wikipage` AS t5 ON t2.s_id=t5.s_id) ON t0.smw_id=t2.s_id
WHERE
(t2.p_id='779' AND t2.o_id='9040'
AND (t5.p_id='780' AND t5.o_id='8991')
)
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
50
SQL Explain
ID | select_type | table | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | t5 | ref | s_id, o_id, s_id_2, s_id_3, o_id_2, o_id_3, p_id | o_id | 5 | const | 56 | 5.38 | Using where; Using temporary; Using filesort |
1 | SIMPLE | t2 | ref | s_id, o_id, s_id_2, s_id_3, o_id_2, o_id_3, p_id | s_id_3 | 13 | k24628_mediawiki_1.t5.s_id, const, const | 1 | 100.00 | Using index |
1 | SIMPLE | t0 | eq_ref | PRIMARY, smw_id, smw_iw, smw_iw_2 | PRIMARY | 4 | k24628_mediawiki_1.t5.s_id | 1 | 50.01 | Using where |
Auxilliary Tables
No auxilliary tables used.Query Metrics
Query-Size:4Query-Depth:1
Errors and Warnings
NonePotion | [[Master List of Item Codes|ID]] | Effect | Duration (min) | [[Alchemy (Skill)|Alchemy Level]] |
---|---|---|---|---|
Vial of Morph | p19 | Decreases base stats by 30% and swaps them (Attack becomes Defense and vice versa) | 480 | 2 |
Vial of Nature | p10 | Increase Harvest level by 1 | 30 | 1 |
Vial of Oblivion | pl1 | |||
Vial of Peace | p04 | Increase base defense by 5% (floored to next lowest integer) | 30 | 1 |
Vial of Rage | p01 | Increase base attack by 5% (floored to next lowest integer) | 30 | 1 |
Vial of Twilight | p16 | 10%[citation needed] chance to get night loot drops outside of the night | 60 | 2 |