Semantic search
From FOIwiki
Jump to navigationJump to search
Debug output SQLStore
ASK Query
[[Category:ICO Decision Notice]] [[FOI 17::~Complaint* Upheld]]
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
`wiki_smw_object_ids` AS t0
INNER JOIN
(`wiki_smw_fpt_inst` AS t2
INNER JOIN
`wiki_smw_di_blob` AS t4 ON t2.s_id=t4.s_id) ON t0.smw_id=t2.s_id
WHERE
(t2.o_id=17895
AND (
(t4.o_hash LIKE 'Complaint% Upheld') AND t4.p_id=17616)
)
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
`wiki_smw_object_ids` AS t0
INNER JOIN
(`wiki_smw_fpt_inst` AS t2
INNER JOIN
`wiki_smw_di_blob` AS t4 ON t2.s_id=t4.s_id) ON t0.smw_id=t2.s_id
WHERE
(t2.o_id=17895
AND (
(t4.o_hash LIKE 'Complaint% Upheld') AND t4.p_id=17616)
)
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 | t4 | range | s_id, p_id, o_hash, s_id_2 | p_id | 262 | 676 | Using index condition; Using temporary; Using filesort | ||
1 | SIMPLE | t2 | ref | s_id, o_id, s_id_2, o_id_2 | s_id_2 | 9 | alexsken_foiwiki.t4.s_id, const | 1 | Using index | |
1 | SIMPLE | t0 | eq_ref | PRIMARY, smw_id, smw_iw, smw_iw_2 | PRIMARY | 4 | alexsken_foiwiki.t4.s_id | 1 | Using where |
Auxilliary Tables
No auxilliary tables used.Query Metrics
Query-Size:3Query-Depth:1
Errors and Warnings
None- FAC0063912 - Wansbeck District Council - 16/05/2005
- FAC0063925 - Shepway District Council - 16/05/2005
- FAC0065282 - Bridgnorth District Council - 17/05/2005
- FAC0067997 - Islip Parish Council - 01/08/2005
- FER0157856 - London Borough of Camden - 24/09/2009
- FER0162453 - Cabinet Office - 15/12/2008
- FS50010888 - NHS Direct - 30/07/2007
- FS50059852 - Westminster City Council - 18/02/2005
- FS50062398 - Department for Work and Pensions - 27/06/2005
- FS50063318 - Bury Metropolitan Borough Council - 29/03/2007
- FS50063907 - Hertfordshire County Council - 25/08/2005
- FS50066308 - Carmarthenshire County Council - 29/11/2005
- FS50066390 - London Borough of Lewisham - 05/12/2005
- FS50066606 - Braintree District Council - 03/01/2007
- FS50066752 - Department of the Environment (NI) - 30/05/2006
- FS50067004 - Oxford City Council - 29/11/2005
- FS50067416 - BBC - 08/01/2008
- FS50068004 - Boston Grammar School - 26/09/2006
- FS50068023 - HM Revenue and Customs - 03/07/2007
- FS50068239 - Denbighshire County Council - 27/07/2006
- FS50068391 - BBC - 10/03/2008
- FS50068396 - Nottingham City Council - 24/11/2005
- FS50068400 - University of the Arts London - 13/02/2006
- FS50068767 - University of Cambridge - 23/09/2005
- FS50069116 - Leicester City Council - 12/07/2006
- FS50069223 - United Lincolnshire Hospitals NHS Trust - 22/03/2006
- FS50069394 - Department of Trade and Industry - 13/02/2007
- FS50069730 - Cardiff Council - 19/10/2005
- FS50070185 - North Tyneside Council - 20/02/2007
- FS50070465 - BBC - 17/03/2008
- FS50070466 - BBC - 08/10/2007
- FS50070468 - BBC - 08/10/2007
- FS50071069 - Epsom and St. Helier University Hospitals NHS Trust - 25/10/2006
- FS50071195 - Sherwood Forest NHS Trust - 04/10/2005
- FS50071319 - Warwick District Council - 22/11/2006
- FS50071494 - East Sussex Hospitals NHS Trust - 30/06/2006
- FS50072180 - Mid Devon District Council - 12/06/2006
- FS50072198 - BBC - 27/02/2008
- FS50072204 - Driver and Vehicle Licensing Agency - 17/11/2005
- FS50072316 - Foreign and Commonwealth Office - 03/05/2007
- FS50072320 - BBC - 30/01/2008
- FS50072937 - BBC - 08/01/2008
- FS50072940 - University College London - 02/04/2008
- FS50072941 - Legal Services Commission - 30/08/2007
- FS50073121 - Home Office - 20/10/2005
- FS50073576(P) - London Borough of Richmond upon Thames - 29/06/2006
- FS50073646 - Ministry of Justice - 05/06/2007
- FS50074144 - Jobcentre Plus - 18/12/2007
- FS50074146 - Nottinghamshire County Council - 12/06/2007
- FS50074187 - Northampton Police - 19/12/2005