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 (13515,13520,13523,13656,13667,13678,13680,13717,13719,13784,13785,13791,13793,13794,13795,12452,12476,12477,12481,12487)
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

REG3515
Taisho Sanshoku - 62 cm
Breeder:
Agung Koi Farm
REG3520
Taisho Sanshoku - 24 cm
REG3523
Taisho Sanshoku - 15 cm
REG3656
Taisho Sanshoku - 30 cm
Breeder:
Dayana Koi Center
REG3667
Taisho Sanshoku - 15 cm
Breeder:
Dayana Koi Center
REG3678
Taisho Sanshoku - 35 cm
Breeder:
Dayana Koi Center
REG3680
Taisho Sanshoku - 35 cm
Breeder:
Dayana Koi Center
REG3717
Taisho Sanshoku - 27 cm
Breeder:
Dayana Koi Center
REG3719
Taisho Sanshoku - 29 cm
Breeder:
Dayana Koi Center
REG3784
Taisho Sanshoku - 50 cm
Breeder:
Dayana Koi Center
REG3785
Taisho Sanshoku - 45 cm
Breeder:
Dayana Koi Center
REG3791
Taisho Sanshoku - 17 cm
REG3793
Taisho Sanshoku - 15 cm
REG3794
Taisho Sanshoku - 18 cm
REG3795
Taisho Sanshoku - 28 cm
REG2452
Showa Sanshoku - 40 cm
REG2476
Showa Sanshoku - 23 cm
REG2477
Showa Sanshoku - 36 cm
REG2481
Showa Sanshoku - 40 cm
REG2487
Showa Sanshoku - 12 cm