Background

SQL - 16: select `c`.`id`, `c`.`show_id`, `c`.`code`, `c`.`image`, `c`.`fish_id`, `c`.`fish_variant_id`, `c`.`fish_breed_id`, `c`.`fish_sex_id`, `c`.`fish_size`, `c`.`image`, `c`.`owner_id`, `c`.`handler_id`, `c`.`par_handler_id`, `c`.`farm_id`, `c`.`size_id`, `c`.`championship_id`, `c`.`class_id`, `n`.* from `koishow_show_contestant` `c` left join ( select `id` `nid`, `contestant_id`, `point`, `type`, if(`type` = 1, `other_id`, `is_champion`) `v1`, if(`type` = 1, 0, `is_bis`) `v2`, if(`type` = 1, 0, `is_nominee`) `v3`, if(`type` = 1, 0, `is_runnerup`) `v4`, if(`type` = 1, 0, `is_top`) `v5` from `koishow_show_nominee` ) n on n.contestant_id = c.id where `status` = 1 AND `c`.`id` IN (11595,11692,11722,11776,11866,11867,11868,11880,11919,11940,11993,11999,12011,12027,12047,12050,12084,12194,12247,12250)
modules/koishow/_function.php line:2746
modules/koishow/show_detail_contestant.php line:104
modules/kontes/_switch.php line:45
1054: Unknown column 'type' in 'field list'

Data Peserta

REG1595
Hikari Utsurimono - 30 cm
REG1692
Hikari Utsurimono - 25 cm
REG1722
Hikari Utsurimono - 23 cm
REG1776
Hikari Utsurimono - 20 cm
REG1866
Hikari Utsurimono - 29 cm
Breeder:
Imrontaro
REG1867
Hikari Utsurimono - 37 cm
Breeder:
Imrontaro
REG1868
Hikari Utsurimono - 34 cm
Breeder:
Imrontaro
REG1880
Hikari Utsurimono - 9 cm
REG1919
Hikari Utsurimono - 18 cm
REG1940
Hikari Utsurimono - 15 cm
REG1993
Hikari Utsurimono - 12 cm
REG1999
Hikari Utsurimono - 10 cm
REG2011
Hikari Utsurimono - 30 cm
REG2047
Hikari Utsurimono - 19 cm
REG2050
Hikari Utsurimono - 24 cm
REG2084
Hikari Utsurimono - 18 cm
REG2247
Hikari Utsurimono - 12 cm
REG2250
Hikari Utsurimono - 25 cm