2
# Query ID 0x95718954DB8B7620 at byte 0
3
# NOTE COL.001 SELECT *.
4
# CRIT JOI.001 Mixing comma and ANSI joins.
5
# CRIT JOI.002 A table is joined twice.
6
SELECT * FROM `wibble_chapter`
7
INNER JOIN `wibble_series` AS `wibble_chapter__series`
8
ON `wibble_chapter`.`series_id` = `wibble_chapter__series`.`id`,
11
WHERE ( `wibble_chapter`.`chapnum` = 63.0
12
AND `wibble_chapter`.`status` = 1
13
AND `wibble_chapter__series`.`title` = 'bibble' )
14
AND `wibble_chapter`.`series_id` = `wibble_series`.`id`
15
AND `wibble_series`.`poster_id` = `auth_user`.`id`
16
ORDER BY `wibble_chapter`.`create_time` DESC
20
# Query ID NOTE WARN CRIT Item
21
# ================== ==== ==== ==== ==========================================
22
# 0x95718954DB8B7620 1 0 2 select * from `wibble_chapter` inner join `wibble_series` as `wibble_chapter__series` on `wibble_chapter`.`series_id` = `wibble_chapter__series`.`id`, `wibble_series`, `auth_user` where ( `wibble_chapter`.`chapnum` = ? and `wibble_chapter`.`status` = ? and `wibble_chapter__series`.`title` = ? ) and `wibble_chapter`.`series_id` = `wibble_series`.`id` and `wibble_series`.`poster_id` = `auth_user`.`id` order by `wibble_chapter`.`create_time` desc limit ?