SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.003023s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.001485s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002440s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.245' ) [ RunTime:0.000736s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.003380s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000554s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002461s ]
SELECT `s`.*,`u`.`company`,`t`.`name` FROM `stock` `s` LEFT JOIN `user` `u` ON `u`.`id`=`s`.`userid` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE `s`.`id` = '62422672' LIMIT 1 [ RunTime:0.000989s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001913s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 62422672 [ RunTime:0.000523s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.001865s ]
SELECT * FROM `stock_price` WHERE `stockid` = 62422672 ORDER BY `minOrder` ASC [ RunTime:0.001929s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002174s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 62422672 ORDER BY `unit` DESC [ RunTime:0.000638s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.002124s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 62422672 [ RunTime:0.000511s ]
SELECT `name` FROM `product_type` WHERE `id` = 0 LIMIT 1 [ RunTime:0.000380s ]
SELECT * FROM `stock_price` WHERE `stockid` = 62422672 ORDER BY `minOrder` ASC [ RunTime:0.000521s ]
select * from pdf where partno='02050.70.10' and brandshort='Encore Wire' limit 1 [ RunTime:0.003236s ]
SHOW FULL COLUMNS FROM `stock_product_overview` [ RunTime:0.001476s ]
SELECT `memo` FROM `stock_product_overview` WHERE `icName` = '02050.70.10' LIMIT 1 [ RunTime:0.000442s ]
SHOW FULL COLUMNS FROM `pdf` [ RunTime:0.001418s ]
SELECT `id`,`partno`,`note`,`note_cn` FROM `pdf` WHERE `partno` = '02050.70.10' LIMIT 1 [ RunTime:0.000568s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001162s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '02050.70.10' OR `brand` LIKE 'Encore Wire%' ) ) LIMIT 1 [ RunTime:0.000976s ]
SELECT `id` FROM `stock` WHERE `id` <> 62422672 AND `partno` = '02050.70.10' AND `lockUser` = 0 AND ( LOWER(brand) LIKE '%encore wire%' ) [ RunTime:0.001738s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14434071 [ RunTime:0.001339s ]
SELECT `note` FROM `stock` WHERE `id` = 14434071 LIMIT 1 [ RunTime:0.000376s ]
SELECT `description` FROM `stock` WHERE `id` = 14434071 LIMIT 1 [ RunTime:0.000252s ]
SHOW FULL COLUMNS FROM `icreplace` [ RunTime:0.001356s ]
SELECT `r`.*,`b`.`brandshort`,`b`.`brandcn` FROM `icreplace` `r` LEFT JOIN `stock_brand` `b` ON `b`.`id`=`r`.`icbrandid` WHERE `r`.`partno` = '02050.70.10' ORDER BY `r`.`id` DESC LIMIT 5 [ RunTime:0.000474s ]
SELECT `id`,`code`,`imgurl`,`minOrderPrice`,`partno`,`brand`,`package` FROM `stock` WHERE `categoryid` = 0 AND ( `partno` > '02050.70.10' ) ORDER BY `partno` ASC LIMIT 8 [ RunTime:0.012979s ]
SELECT `id`,`code`,`imgurl`,`minOrderPrice`,`partno`,`brand`,`package` FROM `stock` WHERE `status` = 3 ORDER BY `partno` ASC LIMIT 8 [ RunTime:0.000774s ]