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 (16610,16643,16656,16685,16686,16343,16359,16381,16400,16430,16432,16440,16450,16513,16530,16537,16542,16544,16545,16574)
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

REG6610
Showa Sanshoku - 14 cm
Breeder:
Hwc koi blitar
REG6643
Showa Sanshoku - 35 cm
REG6656
Showa Sanshoku - 14 cm
REG6685
Showa Sanshoku - 15 cm
Breeder:
MM Minions Blitar
REG6686
Showa Sanshoku - 18 cm
Breeder:
MM Minions Blitar
REG6343
Shiro Utsuri - 11 cm
Breeder:
Syasya Koi Jember
REG6359
Shiro Utsuri - 13 cm
Breeder:
Kharis Fauzi
REG6381
Shiro Utsuri - 29 cm
Breeder:
XINGXIN Goi
REG6400
Shiro Utsuri - 15 cm
Breeder:
Raqi Koi Blitar
REG6430
Shiro Utsuri - 15 cm
REG6432
Shiro Utsuri - 11 cm
REG6440
Shiro Utsuri - 20 cm
Breeder:
Tayo matador
REG6450
Shiro Utsuri - 38 cm
REG6513
Shiro Utsuri - 25 cm
REG6530
Shiro Utsuri - 28 cm
REG6537
Shiro Utsuri - 35 cm
REG6542
Shiro Utsuri - 15 cm
Breeder:
Near Koi Farm
REG6544
Shiro Utsuri - 30 cm
Breeder:
MUTIARA LUMPUR
REG6545
Shiro Utsuri - 17 cm
Breeder:
MUTIARA LUMPUR
REG6574
Shiro Utsuri - 35 cm