SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.001891s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000857s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.001397s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '216.73.216.147' ) [ RunTime:0.001104s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.000867s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000189s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 10 LIMIT 1 [ RunTime:0.002822s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 10 [ RunTime:0.004456s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` IN (39,40,41) [ RunTime:0.003172s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.001163s ]
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.004559s ]
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.001756s ]
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.011790s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.002615s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14916 LIMIT 4 [ RunTime:0.003042s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000980s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14916 ORDER BY `minOrder` ASC [ RunTime:0.001444s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.001125s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14916 ORDER BY `unit` DESC [ RunTime:0.001665s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000930s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14916 LIMIT 2 [ RunTime:0.007441s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14916 ORDER BY `minOrder` ASC [ RunTime:0.000183s ]
select * from pdf where partno='AT24C04D-SSHM-T' and brandshort='MICROCHIP' limit 1 [ RunTime:0.002636s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.002484s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AT24C04D-SSHM-T' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.019119s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14961 LIMIT 4 [ RunTime:0.013114s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14961 ORDER BY `minOrder` ASC [ RunTime:0.003651s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14961 ORDER BY `unit` DESC [ RunTime:0.001074s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14961 LIMIT 2 [ RunTime:0.004900s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14961 ORDER BY `minOrder` ASC [ RunTime:0.000328s ]
select * from pdf where partno='AT24C04D-SSHM-T' and brandshort='MICROCHIP' limit 1 [ RunTime:0.002939s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AT24C04D-SSHM-T' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.000341s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6873 LIMIT 4 [ RunTime:0.000469s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6873 ORDER BY `minOrder` ASC [ RunTime:0.000680s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6873 ORDER BY `unit` DESC [ RunTime:0.003454s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6873 LIMIT 2 [ RunTime:0.007247s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6873 ORDER BY `minOrder` ASC [ RunTime:0.000371s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LM75BDP,118' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.007555s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9623 LIMIT 4 [ RunTime:0.000738s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9623 ORDER BY `minOrder` ASC [ RunTime:0.000955s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9623 ORDER BY `unit` DESC [ RunTime:0.018174s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9623 LIMIT 2 [ RunTime:0.010034s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9623 ORDER BY `minOrder` ASC [ RunTime:0.002590s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LM75BD,118' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.006623s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10843 LIMIT 4 [ RunTime:0.006430s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10843 ORDER BY `minOrder` ASC [ RunTime:0.000848s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10843 ORDER BY `unit` DESC [ RunTime:0.009069s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10843 LIMIT 2 [ RunTime:0.009004s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10843 ORDER BY `minOrder` ASC [ RunTime:0.017238s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M24M01-DWMN3TP/K' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.023219s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14914 LIMIT 4 [ RunTime:0.005009s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14914 ORDER BY `minOrder` ASC [ RunTime:0.003527s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14914 ORDER BY `unit` DESC [ RunTime:0.003931s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14914 LIMIT 2 [ RunTime:0.001229s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14914 ORDER BY `minOrder` ASC [ RunTime:0.000480s ]
select * from pdf where partno='AT25128B-SSHL-T' and brandshort='MICROCHIP' limit 1 [ RunTime:0.003774s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AT25128B-SSHL-T' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.027581s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9734 LIMIT 4 [ RunTime:0.000911s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9734 ORDER BY `minOrder` ASC [ RunTime:0.012203s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9734 ORDER BY `unit` DESC [ RunTime:0.000735s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9734 LIMIT 2 [ RunTime:0.000520s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9734 ORDER BY `minOrder` ASC [ RunTime:0.001279s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M24C02-RDW6TP' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.001625s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5217 LIMIT 4 [ RunTime:0.004641s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5217 ORDER BY `minOrder` ASC [ RunTime:0.000895s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5217 ORDER BY `unit` DESC [ RunTime:0.005297s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5217 LIMIT 2 [ RunTime:0.003522s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5217 ORDER BY `minOrder` ASC [ RunTime:0.001545s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'KTY81/210,112' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.004918s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14977 LIMIT 4 [ RunTime:0.004995s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14977 ORDER BY `minOrder` ASC [ RunTime:0.010028s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14977 ORDER BY `unit` DESC [ RunTime:0.007810s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14977 LIMIT 2 [ RunTime:0.005209s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14977 ORDER BY `minOrder` ASC [ RunTime:0.002150s ]
select * from pdf where partno='AT24C04D-SSHM-T' and brandshort='MICROCHIP' limit 1 [ RunTime:0.000267s ]
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` = 9412 LIMIT 4 [ RunTime:0.000410s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9412 ORDER BY `minOrder` ASC [ RunTime:0.003945s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9412 ORDER BY `unit` DESC [ RunTime:0.000484s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9412 LIMIT 2 [ RunTime:0.000457s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9412 ORDER BY `minOrder` ASC [ RunTime:0.000245s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M24M01-DFMN6TP' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.002384s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9184 LIMIT 4 [ RunTime:0.014815s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9184 ORDER BY `minOrder` ASC [ RunTime:0.005397s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9184 ORDER BY `unit` DESC [ RunTime:0.001579s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9184 LIMIT 2 [ RunTime:0.001588s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9184 ORDER BY `minOrder` ASC [ RunTime:0.003079s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'SE97BTP,547' OR `brand` LIKE 'NXP%' ) ) LIMIT 1 [ RunTime:0.008687s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 7531 LIMIT 4 [ RunTime:0.005400s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7531 ORDER BY `minOrder` ASC [ RunTime:0.003607s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 7531 ORDER BY `unit` DESC [ RunTime:0.001556s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 7531 LIMIT 2 [ RunTime:0.000450s ]
SELECT * FROM `stock_price` WHERE `stockid` = 7531 ORDER BY `minOrder` ASC [ RunTime:0.000247s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'CAT24C256YI-GT3' OR `brand` LIKE 'ONSEMI%' ) ) LIMIT 1 [ RunTime:0.016053s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10875 LIMIT 4 [ RunTime:0.000419s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10875 ORDER BY `minOrder` ASC [ RunTime:0.002079s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10875 ORDER BY `unit` DESC [ RunTime:0.002772s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10875 LIMIT 2 [ RunTime:0.000833s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10875 ORDER BY `minOrder` ASC [ RunTime:0.000390s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DPS368XTSA1' OR `brand` LIKE 'INFINEON%' ) ) LIMIT 1 [ RunTime:0.014914s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9415 LIMIT 4 [ RunTime:0.018302s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9415 ORDER BY `minOrder` ASC [ RunTime:0.001697s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9415 ORDER BY `unit` DESC [ RunTime:0.000675s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9415 LIMIT 2 [ RunTime:0.002006s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9415 ORDER BY `minOrder` ASC [ RunTime:0.000398s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M95M02-DRCS6TP/K' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.002851s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10888 LIMIT 4 [ RunTime:0.002761s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10888 ORDER BY `minOrder` ASC [ RunTime:0.004110s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10888 ORDER BY `unit` DESC [ RunTime:0.000647s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10888 LIMIT 2 [ RunTime:0.004366s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10888 ORDER BY `minOrder` ASC [ RunTime:0.000426s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M24C04-FMC6TG' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.001315s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 9414 LIMIT 4 [ RunTime:0.006056s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9414 ORDER BY `minOrder` ASC [ RunTime:0.000853s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 9414 ORDER BY `unit` DESC [ RunTime:0.000695s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 9414 LIMIT 2 [ RunTime:0.000444s ]
SELECT * FROM `stock_price` WHERE `stockid` = 9414 ORDER BY `minOrder` ASC [ RunTime:0.000484s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M95M01-DWMN3TP/K' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000727s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14980 LIMIT 4 [ RunTime:0.002860s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14980 ORDER BY `minOrder` ASC [ RunTime:0.006434s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14980 ORDER BY `unit` DESC [ RunTime:0.000452s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14980 LIMIT 2 [ RunTime:0.000431s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14980 ORDER BY `minOrder` ASC [ RunTime:0.001358s ]
select * from pdf where partno='AT25128B-SSHL-T' and brandshort='MICROCHIP' limit 1 [ RunTime:0.000594s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AT25128B-SSHL-T' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.000322s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 11359 LIMIT 4 [ RunTime:0.003673s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11359 ORDER BY `minOrder` ASC [ RunTime:0.003930s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 11359 ORDER BY `unit` DESC [ RunTime:0.000329s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 11359 LIMIT 2 [ RunTime:0.000543s ]
SELECT * FROM `stock_price` WHERE `stockid` = 11359 ORDER BY `minOrder` ASC [ RunTime:0.000313s ]
select * from pdf where partno='M95640-WMN6TP' and brandshort='STMICROELECTRONICS' limit 1 [ RunTime:0.000474s ]
select foldpath,foldpath2,filename from pdf_file where id=466715 limit 1 [ RunTime:0.000408s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'M95640-WMN6TP' OR `brand` LIKE 'STMICROELECTRONICS%' ) ) LIMIT 1 [ RunTime:0.000585s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 2642 LIMIT 4 [ RunTime:0.003595s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2642 ORDER BY `minOrder` ASC [ RunTime:0.001541s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 2642 ORDER BY `unit` DESC [ RunTime:0.002730s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 2642 LIMIT 2 [ RunTime:0.000703s ]
SELECT * FROM `stock_price` WHERE `stockid` = 2642 ORDER BY `minOrder` ASC [ RunTime:0.000446s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '93LC56BT-I/OT' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.021685s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6598 LIMIT 4 [ RunTime:0.000735s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6598 ORDER BY `minOrder` ASC [ RunTime:0.002880s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6598 ORDER BY `unit` DESC [ RunTime:0.003142s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6598 LIMIT 2 [ RunTime:0.002961s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6598 ORDER BY `minOrder` ASC [ RunTime:0.003230s ]
select * from pdf where partno='AT93C46DN-SH-T' and brandshort='MICROCHIP' limit 1 [ RunTime:0.003233s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'AT93C46DN-SH-T' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.023608s ]
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.005062s ]