Semantic search
SQLStore debug output
ASK Query
[[Category:Companies:CompanyContact]] [[Companies:postcode::WC2B 4HN]]
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_fpt_inst` AS t2
INNER JOIN
`smw_di_wikipage` AS t4 ON t2.s_id=t4.s_id) ON t0.smw_id=t2.s_id
WHERE
(t2.o_id='518'
AND (t4.p_id='523' AND t4.o_id='554192')
)
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
1
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_fpt_inst` AS t2
INNER JOIN
`smw_di_wikipage` AS t4 ON t2.s_id=t4.s_id) ON t0.smw_id=t2.s_id
WHERE
(t2.o_id='518'
AND (t4.p_id='523' AND t4.o_id='554192')
)
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
1
SQL Explain
ID | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | t4 | ref | s_id,o_id,p_id,s_id_2,s_id_3,o_id_2,o_id_3 | o_id | 5 | const | 17 | Using where; Using temporary; Using filesort |
1 | SIMPLE | t2 | ref | s_id,o_id,s_id_2,o_id_2 | s_id | 4 | callto_wikidb.t4.s_id | 1 | Using where |
1 | SIMPLE | t0 | eq_ref | PRIMARY,smw_id,smw_iw,smw_iw_2 | PRIMARY | 4 | callto_wikidb.t4.s_id | 1 | Using where |
Auxilliary Tables
No auxilliary tables used.Query Metrics
Query-Size:3Query-Depth:1
Errors and Warnings
NoneCompanies:town | Companies:county | Has coordinates | |
---|---|---|---|
01189516720 | LONDON | 51° 27' 18.94" N, 0° 58' 11.27" W | |
01273712150 | LONDON | 50° 49' 26.90" N, 0° 8' 39.37" W | |
01344353880 | LONDON | 51° 24' 59.09" N, 0° 44' 50.07" W | |
01372751200 | LONDON | 51° 20' 3.44" N, 0° 15' 53.56" W | |
01392221300 | LONDON | 50° 43' 21.53" N, 3° 31' 30.82" W | |
01483400980 | LONDON | 51° 14' 15.63" N, 0° 34' 2.11" W | |
01622679779 | LONDON | 51° 16' 26.45" N, 0° 31' 26.54" E | |
02070096000 | LONDON | 51° 30' 53.21" N, 0° 7' 57.56" W | |
02070547200 | LONDON | 51° 30' 48.25" N, 0° 6' 58.73" W | |
02070760860 | LONDON | 51° 31' 7.92" N, 0° 8' 22.92" E | |
02072022610 | LONDON | 51° 31' 24.55" N, 0° 7' 33.05" W | |
02072877783 | LONDON | 51° 30' 53.55" N, 0° 7' 58.84" W | |
02073879373 | LONDON | 51° 31' 26.42" N, 0° 8' 25.67" W | |
02077441300 | LONDON | 51° 30' 49.38" N, 0° 7' 6.55" W | |
02087426100 | LONDON | 51° 29' 41.56" N, 0° 13' 33.72" W | |
08455000666 | LONDON | 50° 46' 21.09" N, 1° 36' 17.77" W |