SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001986s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.002797s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002944s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.165' ) [ RunTime:0.004529s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.002209s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.008273s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 10 LIMIT 1 [ RunTime:0.000994s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 10 [ RunTime:0.013502s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (39,40,41) [ RunTime:0.002298s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001557s ]
SELECT COUNT(*) AS think_count FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE ( `status` <> 2 AND `categoryid` IN (403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440) ) AND `u`.`lockUser` = '0' [ RunTime:0.003940s ]
SELECT `s`.`id` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay = 1) ) AND ( `status` <> 2 AND `categoryid` IN (403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440) ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.019992s ]
SELECT `s`.`id`,`s`.`userid`,`s`.`status`,`havePdf`,`categoryid`,`categories`,`minOrderPrice`,`minOrderQuantity`,`deliveryNum`,`sellNum`,`stockNum`,`code`,`partno`,`brand`,`package`,`imgurl`,`note`,`description`,`expiretime`,`pdfurl`,`t`.`name` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` LEFT JOIN `product_type` `t` ON `t`.`id`=`s`.`categoryid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay = 1) ) AND `s`.`id` IN ('14916','14961','6873','9623','10843','14914','9734','5217','14977','9412','9184','7531','10875','9415','10888','9414','14980','11359','2642','6598') ORDER BY FIELD(s.id, 14916,14961,6873,9623,10843,14914,9734,5217,14977,9412,9184,7531,10875,9415,10888,9414,14980,11359,2642,6598) [ RunTime:0.010390s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002955s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14916 LIMIT 4 [ RunTime:0.006910s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.006631s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14916 ORDER BY `minOrder` ASC [ RunTime:0.000235s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001477s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14916 ORDER BY `unit` DESC [ RunTime:0.000359s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.001209s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14916 LIMIT 2 [ RunTime:0.000640s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14916 ORDER BY `minOrder` ASC [ RunTime:0.000376s ]
select * from pdf where partno='AT24C04D-SSHM-T' and brandshort='MICROCHIP' limit 1 [ RunTime:0.000284s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001341s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AT24C04D-SSHM-T' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.000258s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14961 LIMIT 4 [ RunTime:0.000530s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14961 ORDER BY `minOrder` ASC [ RunTime:0.008294s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14961 ORDER BY `unit` DESC [ RunTime:0.005869s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14961 LIMIT 2 [ RunTime:0.002382s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14961 ORDER BY `minOrder` ASC [ RunTime:0.006389s ]
select * from pdf where partno='AT24C04D-SSHM-T' and brandshort='MICROCHIP' limit 1 [ RunTime:0.006752s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AT24C04D-SSHM-T' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.002315s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6873 LIMIT 4 [ RunTime:0.008373s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6873 ORDER BY `minOrder` ASC [ RunTime:0.012499s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6873 ORDER BY `unit` DESC [ RunTime:0.026229s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6873 LIMIT 2 [ RunTime:0.004360s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6873 ORDER BY `minOrder` ASC [ RunTime:0.000498s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LM75BDP,118' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.005731s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9623 LIMIT 4 [ RunTime:0.011308s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9623 ORDER BY `minOrder` ASC [ RunTime:0.028265s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9623 ORDER BY `unit` DESC [ RunTime:0.018503s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9623 LIMIT 2 [ RunTime:0.006845s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9623 ORDER BY `minOrder` ASC [ RunTime:0.003998s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LM75BD,118' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.013936s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10843 LIMIT 4 [ RunTime:0.003338s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10843 ORDER BY `minOrder` ASC [ RunTime:0.005069s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10843 ORDER BY `unit` DESC [ RunTime:0.000871s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10843 LIMIT 2 [ RunTime:0.000621s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10843 ORDER BY `minOrder` ASC [ RunTime:0.000371s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M24M01-DWMN3TP/K' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.001485s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14914 LIMIT 4 [ RunTime:0.000473s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14914 ORDER BY `minOrder` ASC [ RunTime:0.005048s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14914 ORDER BY `unit` DESC [ RunTime:0.003349s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14914 LIMIT 2 [ RunTime:0.000633s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14914 ORDER BY `minOrder` ASC [ RunTime:0.000391s ]
select * from pdf where partno='AT25128B-SSHL-T' and brandshort='MICROCHIP' limit 1 [ RunTime:0.006242s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AT25128B-SSHL-T' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.022465s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9734 LIMIT 4 [ RunTime:0.013866s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9734 ORDER BY `minOrder` ASC [ RunTime:0.012681s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9734 ORDER BY `unit` DESC [ RunTime:0.019344s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9734 LIMIT 2 [ RunTime:0.005327s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9734 ORDER BY `minOrder` ASC [ RunTime:0.009460s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M24C02-RDW6TP' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.007634s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5217 LIMIT 4 [ RunTime:0.002949s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5217 ORDER BY `minOrder` ASC [ RunTime:0.003218s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5217 ORDER BY `unit` DESC [ RunTime:0.007372s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5217 LIMIT 2 [ RunTime:0.007369s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5217 ORDER BY `minOrder` ASC [ RunTime:0.008027s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KTY81/210,112' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.007225s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14977 LIMIT 4 [ RunTime:0.019405s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14977 ORDER BY `minOrder` ASC [ RunTime:0.024695s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14977 ORDER BY `unit` DESC [ RunTime:0.016854s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14977 LIMIT 2 [ RunTime:0.017980s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14977 ORDER BY `minOrder` ASC [ RunTime:0.001794s ]
select * from pdf where partno='AT24C04D-SSHM-T' and brandshort='MICROCHIP' limit 1 [ RunTime:0.001533s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AT24C04D-SSHM-T' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.006936s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9412 LIMIT 4 [ RunTime:0.002466s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9412 ORDER BY `minOrder` ASC [ RunTime:0.008831s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9412 ORDER BY `unit` DESC [ RunTime:0.008489s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9412 LIMIT 2 [ RunTime:0.014516s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9412 ORDER BY `minOrder` ASC [ RunTime:0.006723s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M24M01-DFMN6TP' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.004383s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9184 LIMIT 4 [ RunTime:0.009835s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9184 ORDER BY `minOrder` ASC [ RunTime:0.015309s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9184 ORDER BY `unit` DESC [ RunTime:0.007178s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9184 LIMIT 2 [ RunTime:0.004162s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9184 ORDER BY `minOrder` ASC [ RunTime:0.002069s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SE97BTP,547' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.005975s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7531 LIMIT 4 [ RunTime:0.000625s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7531 ORDER BY `minOrder` ASC [ RunTime:0.008290s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7531 ORDER BY `unit` DESC [ RunTime:0.009158s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7531 LIMIT 2 [ RunTime:0.006316s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7531 ORDER BY `minOrder` ASC [ RunTime:0.012018s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CAT24C256YI-GT3' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.022243s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10875 LIMIT 4 [ RunTime:0.002721s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10875 ORDER BY `minOrder` ASC [ RunTime:0.012166s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10875 ORDER BY `unit` DESC [ RunTime:0.007930s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10875 LIMIT 2 [ RunTime:0.000554s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10875 ORDER BY `minOrder` ASC [ RunTime:0.001282s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DPS368XTSA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.016887s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9415 LIMIT 4 [ RunTime:0.002623s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9415 ORDER BY `minOrder` ASC [ RunTime:0.002950s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9415 ORDER BY `unit` DESC [ RunTime:0.000225s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9415 LIMIT 2 [ RunTime:0.000376s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9415 ORDER BY `minOrder` ASC [ RunTime:0.000229s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M95M02-DRCS6TP/K' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.002235s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10888 LIMIT 4 [ RunTime:0.010009s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10888 ORDER BY `minOrder` ASC [ RunTime:0.001710s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10888 ORDER BY `unit` DESC [ RunTime:0.002956s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10888 LIMIT 2 [ RunTime:0.008034s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10888 ORDER BY `minOrder` ASC [ RunTime:0.002728s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M24C04-FMC6TG' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.003582s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9414 LIMIT 4 [ RunTime:0.000689s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9414 ORDER BY `minOrder` ASC [ RunTime:0.000456s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9414 ORDER BY `unit` DESC [ RunTime:0.000410s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9414 LIMIT 2 [ RunTime:0.000423s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9414 ORDER BY `minOrder` ASC [ RunTime:0.001934s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M95M01-DWMN3TP/K' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.010403s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14980 LIMIT 4 [ RunTime:0.002620s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14980 ORDER BY `minOrder` ASC [ RunTime:0.000450s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14980 ORDER BY `unit` DESC [ RunTime:0.009696s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14980 LIMIT 2 [ RunTime:0.014666s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14980 ORDER BY `minOrder` ASC [ RunTime:0.001384s ]
select * from pdf where partno='AT25128B-SSHL-T' and brandshort='MICROCHIP' limit 1 [ RunTime:0.000258s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AT25128B-SSHL-T' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.002245s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11359 LIMIT 4 [ RunTime:0.000254s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11359 ORDER BY `minOrder` ASC [ RunTime:0.008962s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11359 ORDER BY `unit` DESC [ RunTime:0.004659s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11359 LIMIT 2 [ RunTime:0.000818s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11359 ORDER BY `minOrder` ASC [ RunTime:0.000287s ]
select * from pdf where partno='M95640-WMN6TP' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.008366s ]
select foldpath,foldpath2,filename from pdf_file where id=466715 limit 1 [ RunTime:0.001165s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M95640-WMN6TP' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000929s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2642 LIMIT 4 [ RunTime:0.001196s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2642 ORDER BY `minOrder` ASC [ RunTime:0.000597s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2642 ORDER BY `unit` DESC [ RunTime:0.000423s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2642 LIMIT 2 [ RunTime:0.000413s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2642 ORDER BY `minOrder` ASC [ RunTime:0.000217s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '93LC56BT-I/OT' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.011151s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6598 LIMIT 4 [ RunTime:0.001758s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6598 ORDER BY `minOrder` ASC [ RunTime:0.002425s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6598 ORDER BY `unit` DESC [ RunTime:0.003405s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6598 LIMIT 2 [ RunTime:0.002063s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6598 ORDER BY `minOrder` ASC [ RunTime:0.000196s ]
select * from pdf where partno='AT93C46DN-SH-T' and brandshort='MICROCHIP' limit 1 [ RunTime:0.001238s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AT93C46DN-SH-T' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.027836s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` IN (403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440) ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.005144s ]