| 0.0002 | SELECT `t1`.`gcat_idx` as `t1_gcat_idx`, `t2`.`gcat_idx` as `t2_gcat_idx`, `t3`.`gcat_idx` as `t3_gcat_idx`, `t4`.`gcat_idx` as `t4_gcat_idx`, `t1`.`gcat_title` as `t1_gcat_title`, `t2`.`gcat_title` as `t2_gcat_title`, `t3`.`gcat_title` as `t3_gcat_title`, `t4`.`gcat_title` as `t4_gcat_title`, `t1`.`gcat_depth` as `t1_gcat_depth`, `t2`.`gcat_depth` as `t2_gcat_depth`, `t3`.`gcat_depth` as `t3_gcat_depth`, `t4`.`gcat_depth` as `t4_gcat_depth`
FROM `inu_goods_category` as `t1`
LEFT JOIN `inu_goods_category` as `t2` ON `t2`.`gcat_parent` = `t1`.`gcat_idx`
LEFT JOIN `inu_goods_category` as `t3` ON `t3`.`gcat_parent` = `t2`.`gcat_idx`
LEFT JOIN `inu_goods_category` as `t4` ON `t4`.`gcat_parent` = `t3`.`gcat_idx`
WHERE `t1`.`gcat_parent` = 0
ORDER BY `t1`.`gcat_order` ASC, `t2`.`gcat_order` ASC, `t3`.`gcat_order` ASC, `t4`.`gcat_order` ASC ?>
|