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 (10792,10795,10803,10811,10887,10889,10890,10893,10895,10899,10901,10929,10934,10938,10944,10945,10994,11000,11005,11006)
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

REG0792
Showa Sanshoku - 40 cm
Breeder:
-
REG0795
Showa Sanshoku - 15 cm
Breeder:
-
REG0803
Showa Sanshoku - 59 cm
Breeder:
-
REG0811
Showa Sanshoku - 12 cm
Breeder:
Keluarga Showa Koi Farm
REG0887
Showa Sanshoku - 12 cm
Breeder:
Wwfarm
REG0889
Showa Sanshoku - 12 cm
Breeder:
Wwfarm
REG0890
Showa Sanshoku - 12 cm
Breeder:
Wwfarm
REG0893
Showa Sanshoku - 12 cm
Breeder:
Wwfarm
REG0895
Showa Sanshoku - 14 cm
Breeder:
Wwfarm
REG0899
Showa Sanshoku - 15 cm
Breeder:
Wwfarm
REG0901
Showa Sanshoku - 15 cm
Breeder:
Wwfarm
REG0929
Showa Sanshoku - 46 cm
Breeder:
-
REG0934
Showa Sanshoku - 15 cm
Breeder:
-
REG0938
Showa Sanshoku - 50 cm
Breeder:
-
REG0944
Showa Sanshoku - 60 cm
Breeder:
-
REG0945
Showa Sanshoku - 35 cm
Breeder:
-
REG0994
Showa Sanshoku - 35 cm
Breeder:
-
REG1000
Showa Sanshoku - 60 cm
REG1005
Showa Sanshoku - 65 cm
REG1006
Showa Sanshoku - 60 cm