Semantic search
Jump to navigation
Jump to search
Query-Depth:0
Debug output SQLStore
ASK Query
[[Category:Clubs||Ballgames]] [[Category:First in United States||First in a United States State||First in a United States City]]
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, t7.o_sortkey
FROM
`smw_object_ids` AS t0
INNER JOIN
(`smw_fpt_inst` AS t2
INNER JOIN
`smw_fpt_inst` AS t4 ON t2.s_id=t4.s_id) ON t0.smw_id=t2.s_id
INNER JOIN
`smw_di_time` AS t7 ON t0.smw_id=t7.s_id
WHERE
(
(t2.o_id=7808 OR t2.o_id=681)
AND (
(t4.o_id=101366 OR t4.o_id=9004 OR t4.o_id=242200)
))
AND (t7.p_id=558)
AND t0.smw_iw!=':smw'
AND t0.smw_iw!=':smw-delete'
AND t0.smw_iw!=':smw-redi'
ORDER BY
t7.o_sortkey ASC
LIMIT
105
OFFSET
100
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, t7.o_sortkey
FROM
`smw_object_ids` AS t0
INNER JOIN
(`smw_fpt_inst` AS t2
INNER JOIN
`smw_fpt_inst` AS t4 ON t2.s_id=t4.s_id) ON t0.smw_id=t2.s_id
INNER JOIN
`smw_di_time` AS t7 ON t0.smw_id=t7.s_id
WHERE
(
(t2.o_id=7808 OR t2.o_id=681)
AND (
(t4.o_id=101366 OR t4.o_id=9004 OR t4.o_id=242200)
))
AND (t7.p_id=558)
AND t0.smw_iw!=':smw'
AND t0.smw_iw!=':smw-delete'
AND t0.smw_iw!=':smw-redi'
ORDER BY
t7.o_sortkey ASC
LIMIT
105
OFFSET
100
SQL Explain
ID | select_type | table | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|---|---|---|---|---|---|---|---|---|---|
1 | SIMPLE | t4 | range | s_id, o_id, s_id_2, o_id_2 | o_id_2 | 5 | 104 | 100.00 | Using where; Using index; Using temporary; Using filesort | |
1 | SIMPLE | t2 | ref | s_id, o_id, s_id_2, o_id_2 | s_id | 4 | protoballdb.t4.s_id | 1 | 40.23 | Using where |
1 | SIMPLE | t7 | ref | s_id, p_id, p_id_2, s_id_2 | s_id | 8 | protoballdb.t4.s_id, const | 1 | 100.00 | |
1 | SIMPLE | t0 | eq_ref | PRIMARY, smw_id, smw_iw, smw_iw_2 | PRIMARY | 4 | protoballdb.t4.s_id | 1 | 50.00 | Using where |
Auxilliary Tables
No auxilliary tables used.Query Metrics
Query-Size:2Query-Depth:0
Errors and Warnings
NoneType / Page | Club / Match | Date | City | Borough | State | First in |
---|---|---|---|---|---|---|
Club | John R. Brooke Club of Camp Supply, I.T. | 1873-10-03 | Camp Supply | OK | OK | |
Ballgame | 'citizens' | v Crew of the USN Pinta1886-07-04 | Sitka | AK | AK | |
Ballgame | In Midway Island on 4 July 1904 | 1904-07-04 | Midway Island | Midway Island | ||
Ballgame | In Wake Island in 1940 | 1940 | Wake Island | Wake Island |