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 (11007,11009,11025,11027,11033,11050,11060,11070,11098,11106,11108,11149,11162,11167,11194,11246,11309,11320,11332,11361)
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

REG1007
Showa Sanshoku - 65 cm
REG1009
Showa Sanshoku - 55 cm
REG1025
Showa Sanshoku - 11 cm
REG1027
Showa Sanshoku - 25 cm
REG1033
Showa Sanshoku - 45 cm
Breeder:
-
REG1050
Showa Sanshoku - 40 cm
Breeder:
-
REG1060
Showa Sanshoku - 28 cm
Breeder:
-
REG1070
Showa Sanshoku - 50 cm
Breeder:
-
REG1098
Showa Sanshoku - 35 cm
Breeder:
-
REG1106
Showa Sanshoku - 50 cm
Breeder:
Agung Koi Farm
REG1108
Showa Sanshoku - 45 cm
Breeder:
RKC
REG1149
Showa Sanshoku - 15 cm
Breeder:
Griyoulam
REG1162
Showa Sanshoku - 15 cm
Breeder:
Griyoulam
REG1167
Showa Sanshoku - 15 cm
Breeder:
Griyoulam
REG1194
Showa Sanshoku - 16 cm
Breeder:
Griyoulam
REG1246
Showa Sanshoku - 15 cm
Breeder:
Griyoulam
REG1309
Showa Sanshoku - 11 cm
Breeder:
C&K Koi
REG1320
Showa Sanshoku - 56 cm
REG1332
Showa Sanshoku - 35 cm
REG1361
Showa Sanshoku - 18 cm
Breeder:
-