1 | SELECT * FROM data_branches WHERE del_flg <= 0 | | 0 | 0 | 0 |
2 | SELECT Item.* , Member.name AS name , Member.company AS company , Member.nickname AS nickname FROM items Item INNER JOIN members Member ON Member.id = Item.member_id WHERE Item.del_flg = 0 AND Item.save_flg = 1 AND Item.sale_rank >= 0 AND Item.is_list = 1 ORDER BY Item.sale_rank DESC LIMIT 0 ,4 | | 4 | 4 | 1 |
3 | SELECT Item.* , Member.name AS name , Member.company AS company , Member.nickname AS nickname FROM items Item INNER JOIN members Member ON Member.id = Item.member_id WHERE Item.del_flg = 0 AND Item.save_flg = 1 AND Item.sale_rank >= 0 AND Item.is_list = 1 | | 29 | 29 | 1 |
4 | SELECT MAX(tag) AS tag_name , count(tag) AS tag_cnt FROM ( SELECT `tag1` AS tag FROM `items` WHERE tag1 <> '' AND tag1 IS NOT NULL AND del_flg = 0 UNION ALL SELECT `tag2` AS tag FROM `items` WHERE tag2 <> '' AND tag2 IS NOT NULL AND del_flg = 0 UNION ALL SELECT `tag3` AS tag FROM `items` WHERE tag3 <> '' AND tag3 IS NOT NULL AND del_flg = 0 UNION ALL SELECT `tag4` AS tag FROM `items` WHERE tag4 <> '' AND tag4 IS NOT NULL AND del_flg = 0 UNION ALL SELECT `tag5` AS tag FROM `items` WHERE tag5 <> '' AND tag5 IS NOT NULL AND del_flg = 0 ) TEMP GROUP BY TEMP.tag ORDER BY count(TEMP.tag) DESC, TEMP.tag LIMIT 10 | | 5 | 5 | 1 |
5 | SELECT `Item`.`id`, `Item`.`member_id`, `Item`.`title`, `Item`.`price`, `Item`.`shipping_type`, `Item`.`shipping_from`, `Item`.`delivery_fee`, `Item`.`category`, `Item`.`discription`, `Item`.`message`, `Item`.`password`, `Item`.`password_at`, `Item`.`is_list`, `Item`.`review`, `Item`.`review_auther`, `Item`.`tag1`, `Item`.`tag2`, `Item`.`tag3`, `Item`.`tag4`, `Item`.`tag5`, `Item`.`main_image_file_name`, `Item`.`sub_image1_file_name`, `Item`.`sub_image2_file_name`, `Item`.`sub_image3_file_name`, `Item`.`sub_image4_file_name`, `Item`.`file_name`, `Item`.`file_path`, `Item`.`file_type`, `Item`.`file_extension`, `Item`.`file_size`, `Item`.`selling`, `Item`.`sale_count`, `Item`.`pickup`, `Item`.`sale_rank`, `Item`.`seller_rank`, `Item`.`quantity`, `Item`.`del_flg`, `Item`.`save_flg`, `Item`.`close_flg`, `Item`.`created`, `Item`.`modified`, `Member`.`id`, `Member`.`user_id`, `Member`.`password`, `Member`.`name`, `Member`.`name_kana`, `Member`.`company`, `Member`.`postcode`, `Member`.`address`, `Member`.`phone`, `Member`.`gender`, `Member`.`birthday`, `Member`.`nickname`, `Member`.`email`, `Member`.`password_hint`, `Member`.`mailmag_flg`, `Member`.`comment`, `Member`.`admin_message`, `Member`.`point`, `Member`.`image_file_name`, `Member`.`user_rank`, `Member`.`role`, `Member`.`status`, `Member`.`vice_flg`, `Member`.`notification_to_saller_flag`, `Member`.`purchased_to_saller_flag`, `Member`.`bank_name`, `Member`.`branch_name`, `Member`.`branch_code`, `Member`.`account_no`, `Member`.`deposit_name`, `Member`.`tmp_key`, `Member`.`admin_level`, `Member`.`created`, `Member`.`modified`, `Member`.`del_flg` FROM `liblat01_furimo`.`items` AS `Item` LEFT JOIN `liblat01_furimo`.`members` AS `Member` ON (`Item`.`member_id` = `Member`.`id`) WHERE `Item`.`del_flg` = 0 AND `Item`.`save_flg` = 1 AND `Item`.`is_list` = 1 ORDER BY `Item`.`created` DESC LIMIT 4 | | 4 | 4 | 1 |
6 | SELECT Member.id FROM `members` Member INNER JOIN items Item ON Member.id = Item.member_id AND Item.del_flg = 0 AND Item.save_flg = 1 AND Item.seller_rank > 0 WHERE Member.del_flg = 0 AND Member.role = 'user' AND Member.status = 1 GROUP BY Member.id ORDER BY MAX(Item.seller_rank) DESC LIMIT 5 | | 1 | 1 | 1 |
7 | SELECT `Member`.`id`, `Member`.`user_id`, `Member`.`password`, `Member`.`name`, `Member`.`name_kana`, `Member`.`company`, `Member`.`postcode`, `Member`.`address`, `Member`.`phone`, `Member`.`gender`, `Member`.`birthday`, `Member`.`nickname`, `Member`.`email`, `Member`.`password_hint`, `Member`.`mailmag_flg`, `Member`.`comment`, `Member`.`admin_message`, `Member`.`point`, `Member`.`image_file_name`, `Member`.`user_rank`, `Member`.`role`, `Member`.`status`, `Member`.`vice_flg`, `Member`.`notification_to_saller_flag`, `Member`.`purchased_to_saller_flag`, `Member`.`bank_name`, `Member`.`branch_name`, `Member`.`branch_code`, `Member`.`account_no`, `Member`.`deposit_name`, `Member`.`tmp_key`, `Member`.`admin_level`, `Member`.`created`, `Member`.`modified`, `Member`.`del_flg` FROM `liblat01_furimo`.`members` AS `Member` WHERE id = (20) | | 1 | 1 | 0 |
8 | SELECT `HtmlPart`.`id`, `HtmlPart`.`part_type`, `HtmlPart`.`part_file_flg`, `HtmlPart`.`part_desc`, `HtmlPart`.`part_default`, `HtmlPart`.`part_html`, `HtmlPart`.`created`, `HtmlPart`.`modified` FROM `liblat01_furimo`.`html_parts` AS `HtmlPart` WHERE `HtmlPart`.`part_type` = 3 LIMIT 1 | | 1 | 1 | 0 |
9 | SELECT `HtmlPart`.`id`, `HtmlPart`.`part_type`, `HtmlPart`.`part_file_flg`, `HtmlPart`.`part_desc`, `HtmlPart`.`part_default`, `HtmlPart`.`part_html`, `HtmlPart`.`created`, `HtmlPart`.`modified` FROM `liblat01_furimo`.`html_parts` AS `HtmlPart` WHERE `HtmlPart`.`part_type` = 1 LIMIT 1 | | 1 | 1 | 0 |
10 | SELECT `HtmlPart`.`id`, `HtmlPart`.`part_type`, `HtmlPart`.`part_file_flg`, `HtmlPart`.`part_desc`, `HtmlPart`.`part_default`, `HtmlPart`.`part_html`, `HtmlPart`.`created`, `HtmlPart`.`modified` FROM `liblat01_furimo`.`html_parts` AS `HtmlPart` WHERE `HtmlPart`.`part_type` = 2 LIMIT 1 | | 1 | 1 | 0 |