SHOW FULL COLUMNS FROM `product_type` [ RunTime:0.002226s ]
SELECT `id`,`typeid`,`name`,`typestr` FROM `product_type` WHERE `id` NOT IN (11,12,13,14,15) AND `id` <= 750 [ RunTime:0.000595s ]
SHOW FULL COLUMNS FROM `o_cart` [ RunTime:0.002137s ]
SELECT COUNT(*) AS think_count FROM `o_cart` WHERE ( `userId` = 0 AND `visitIP` = '18.97.14.82' ) [ RunTime:0.000327s ]
SHOW FULL COLUMNS FROM `ad` [ RunTime:0.001794s ]
SELECT * FROM `ad` WHERE `isDisplay` = 1 [ RunTime:0.000277s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `id` = 204 LIMIT 1 [ RunTime:0.000265s ]
SELECT `id`,`typeid`,`name` FROM `product_type` WHERE `typeid` = 204 [ RunTime:0.000221s ]
SELECT `id`,`name` FROM `product_type` WHERE `typeid` = 27 [ RunTime:0.000216s ]
SHOW FULL COLUMNS FROM `stock` [ RunTime:0.002256s ]
SELECT `s`.`id` FROM `stock` `s` INNER JOIN `user` `u` ON `s`.`userid`=`u`.`stockuserid` WHERE `u`.`lockUser` = '0' AND ( (s.isDisplay IS NULL OR s.isDisplay = 1) ) AND ( `status` <> 2 AND `categoryid` = 204 ) ORDER BY `s`.`stockNum` DESC,`s`.`id` DESC LIMIT 0,20 [ RunTime:0.004957s ]
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 IS NULL OR s.isDisplay = 1) ) AND `s`.`id` IN ('6040','1699','14733','10704','12691','657','10817','14734','3296','658','10872','10715','6042','12655','10714','5275','3298','10424','12663','3620') ORDER BY FIELD(s.id, 6040,1699,14733,10704,12691,657,10817,14734,3296,658,10872,10715,6042,12655,10714,5275,3298,10424,12663,3620) [ RunTime:0.004346s ]
SHOW FULL COLUMNS FROM `stock_pra` [ RunTime:0.001197s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6040 LIMIT 4 [ RunTime:0.000670s ]
SHOW FULL COLUMNS FROM `stock_price` [ RunTime:0.000860s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6040 ORDER BY `minOrder` ASC [ RunTime:0.000564s ]
SHOW FULL COLUMNS FROM `stock_unitquantity` [ RunTime:0.002143s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6040 ORDER BY `unit` DESC [ RunTime:0.000549s ]
SHOW FULL COLUMNS FROM `stock_warehousequantity` [ RunTime:0.000890s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6040 LIMIT 2 [ RunTime:0.004152s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6040 ORDER BY `minOrder` ASC [ RunTime:0.000282s ]
SHOW FULL COLUMNS FROM `stock_pra_lib` [ RunTime:0.001013s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LAN8710AI-EZK' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.012876s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 1699 LIMIT 4 [ RunTime:0.000358s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1699 ORDER BY `minOrder` ASC [ RunTime:0.002147s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 1699 ORDER BY `unit` DESC [ RunTime:0.003858s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 1699 LIMIT 2 [ RunTime:0.000423s ]
SELECT * FROM `stock_price` WHERE `stockid` = 1699 ORDER BY `minOrder` ASC [ RunTime:0.000236s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '67803-8020' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.006632s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14733 LIMIT 4 [ RunTime:0.000327s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14733 ORDER BY `minOrder` ASC [ RunTime:0.002304s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14733 ORDER BY `unit` DESC [ RunTime:0.006869s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14733 LIMIT 2 [ RunTime:0.000465s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14733 ORDER BY `minOrder` ASC [ RunTime:0.000250s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '54819-0519....' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.005825s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10704 LIMIT 4 [ RunTime:0.002399s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10704 ORDER BY `minOrder` ASC [ RunTime:0.001661s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10704 ORDER BY `unit` DESC [ RunTime:0.001384s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10704 LIMIT 2 [ RunTime:0.001132s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10704 ORDER BY `minOrder` ASC [ RunTime:0.000244s ]
select * from pdf where partno='ASM-1900147-21' and brandshort='MULTICOMP PRO' limit 1 [ RunTime:0.007987s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'ASM-1900147-21' OR `brand` LIKE 'MULTICOMP PRO%' ) ) LIMIT 1 [ RunTime:0.002238s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12691 LIMIT 4 [ RunTime:0.000650s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12691 ORDER BY `minOrder` ASC [ RunTime:0.000808s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12691 ORDER BY `unit` DESC [ RunTime:0.001502s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12691 LIMIT 2 [ RunTime:0.010518s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12691 ORDER BY `minOrder` ASC [ RunTime:0.000382s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'DMTH8028LPSWQ-13' OR `brand` LIKE 'DIODES INC.%' ) ) LIMIT 1 [ RunTime:0.001456s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 657 LIMIT 4 [ RunTime:0.004841s ]
SELECT * FROM `stock_price` WHERE `stockid` = 657 ORDER BY `minOrder` ASC [ RunTime:0.000722s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 657 ORDER BY `unit` DESC [ RunTime:0.000467s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 657 LIMIT 2 [ RunTime:0.001464s ]
SELECT * FROM `stock_price` WHERE `stockid` = 657 ORDER BY `minOrder` ASC [ RunTime:0.001376s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '565790519' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.005851s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10817 LIMIT 4 [ RunTime:0.000380s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10817 ORDER BY `minOrder` ASC [ RunTime:0.002700s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10817 ORDER BY `unit` DESC [ RunTime:0.003475s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10817 LIMIT 2 [ RunTime:0.001516s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10817 ORDER BY `minOrder` ASC [ RunTime:0.000988s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'PI4B_CASE_RED/WHITE' OR `brand` LIKE 'RASPBERRY-PI%' ) ) LIMIT 1 [ RunTime:0.002036s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 14734 LIMIT 4 [ RunTime:0.004468s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14734 ORDER BY `minOrder` ASC [ RunTime:0.000799s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 14734 ORDER BY `unit` DESC [ RunTime:0.002258s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 14734 LIMIT 2 [ RunTime:0.000740s ]
SELECT * FROM `stock_price` WHERE `stockid` = 14734 ORDER BY `minOrder` ASC [ RunTime:0.000599s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '54819-0572' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.005978s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3296 LIMIT 4 [ RunTime:0.000365s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3296 ORDER BY `minOrder` ASC [ RunTime:0.000691s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3296 ORDER BY `unit` DESC [ RunTime:0.000467s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3296 LIMIT 2 [ RunTime:0.001260s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3296 ORDER BY `minOrder` ASC [ RunTime:0.002584s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '244-11300-15' OR `brand` LIKE 'EPT%' ) ) LIMIT 1 [ RunTime:0.004759s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 658 LIMIT 4 [ RunTime:0.000414s ]
SELECT * FROM `stock_price` WHERE `stockid` = 658 ORDER BY `minOrder` ASC [ RunTime:0.000349s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 658 ORDER BY `unit` DESC [ RunTime:0.004912s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 658 LIMIT 2 [ RunTime:0.000411s ]
SELECT * FROM `stock_price` WHERE `stockid` = 658 ORDER BY `minOrder` ASC [ RunTime:0.000259s ]
select * from pdf where partno='67503-1020...' and brandshort='MOLEX' limit 1 [ RunTime:0.002170s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '67503-1020...' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.007532s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10872 LIMIT 4 [ RunTime:0.001635s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10872 ORDER BY `minOrder` ASC [ RunTime:0.001515s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10872 ORDER BY `unit` DESC [ RunTime:0.000404s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10872 LIMIT 2 [ RunTime:0.000355s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10872 ORDER BY `minOrder` ASC [ RunTime:0.000250s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'USB3320C-EZK-TR' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.008852s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10715 LIMIT 4 [ RunTime:0.001864s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10715 ORDER BY `minOrder` ASC [ RunTime:0.004048s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10715 ORDER BY `unit` DESC [ RunTime:0.000365s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10715 LIMIT 2 [ RunTime:0.000331s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10715 ORDER BY `minOrder` ASC [ RunTime:0.000251s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'T7733AX' OR `brand` LIKE 'RASPBERRY-PI%' ) ) LIMIT 1 [ RunTime:0.001329s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 6042 LIMIT 4 [ RunTime:0.003282s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6042 ORDER BY `minOrder` ASC [ RunTime:0.000364s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 6042 ORDER BY `unit` DESC [ RunTime:0.000328s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 6042 LIMIT 2 [ RunTime:0.002772s ]
SELECT * FROM `stock_price` WHERE `stockid` = 6042 ORDER BY `minOrder` ASC [ RunTime:0.000266s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'LAN8720AI-CP' OR `brand` LIKE 'MICROCHIP%' ) ) LIMIT 1 [ RunTime:0.010710s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12655 LIMIT 4 [ RunTime:0.002232s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12655 ORDER BY `minOrder` ASC [ RunTime:0.001993s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12655 ORDER BY `unit` DESC [ RunTime:0.000436s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12655 LIMIT 2 [ RunTime:0.000432s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12655 ORDER BY `minOrder` ASC [ RunTime:0.000255s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'RPI 8MP CAMERA BOARD' OR `brand` LIKE 'RASPBERRY-PI%' ) ) LIMIT 1 [ RunTime:0.000716s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10714 LIMIT 4 [ RunTime:0.000320s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10714 ORDER BY `minOrder` ASC [ RunTime:0.007705s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10714 ORDER BY `unit` DESC [ RunTime:0.002690s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10714 LIMIT 2 [ RunTime:0.000372s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10714 ORDER BY `minOrder` ASC [ RunTime:0.000273s ]
select * from pdf where partno='T7732AX' and brandshort='RASPBERRY-PI' limit 1 [ RunTime:0.005207s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'T7732AX' OR `brand` LIKE 'RASPBERRY-PI%' ) ) LIMIT 1 [ RunTime:0.004712s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 5275 LIMIT 4 [ RunTime:0.001832s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5275 ORDER BY `minOrder` ASC [ RunTime:0.000618s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 5275 ORDER BY `unit` DESC [ RunTime:0.002551s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 5275 LIMIT 2 [ RunTime:0.003451s ]
SELECT * FROM `stock_price` WHERE `stockid` = 5275 ORDER BY `minOrder` ASC [ RunTime:0.001188s ]
select * from pdf where partno='74437324082' and brandshort='WURTH ELEKTRONIK' limit 1 [ RunTime:0.001928s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '74437324082' OR `brand` LIKE 'WURTH ELEKTRONIK%' ) ) LIMIT 1 [ RunTime:0.002265s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3298 LIMIT 4 [ RunTime:0.001789s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3298 ORDER BY `minOrder` ASC [ RunTime:0.001101s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3298 ORDER BY `unit` DESC [ RunTime:0.000342s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3298 LIMIT 2 [ RunTime:0.000422s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3298 ORDER BY `minOrder` ASC [ RunTime:0.000253s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '244-23300-15' OR `brand` LIKE 'EPT%' ) ) LIMIT 1 [ RunTime:0.000544s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 10424 LIMIT 4 [ RunTime:0.000323s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10424 ORDER BY `minOrder` ASC [ RunTime:0.000952s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 10424 ORDER BY `unit` DESC [ RunTime:0.003480s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 10424 LIMIT 2 [ RunTime:0.000338s ]
SELECT * FROM `stock_price` WHERE `stockid` = 10424 ORDER BY `minOrder` ASC [ RunTime:0.000300s ]
select * from pdf where partno='TLE2142IP' and brandshort='TEXAS INSTRUMENTS' limit 1 [ RunTime:0.001774s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'TLE2142IP' OR `brand` LIKE 'TEXAS INSTRUMENTS%' ) ) LIMIT 1 [ RunTime:0.001569s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 12663 LIMIT 4 [ RunTime:0.000411s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12663 ORDER BY `minOrder` ASC [ RunTime:0.002888s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 12663 ORDER BY `unit` DESC [ RunTime:0.002233s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 12663 LIMIT 2 [ RunTime:0.000389s ]
SELECT * FROM `stock_price` WHERE `stockid` = 12663 ORDER BY `minOrder` ASC [ RunTime:0.000257s ]
select * from pdf where partno='S0971-46R' and brandshort='HARWIN' limit 1 [ RunTime:0.001613s ]
select foldpath,foldpath2,filename from pdf_file where id=2133181 limit 1 [ RunTime:0.002336s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = 'S0971-46R' OR `brand` LIKE 'HARWIN%' ) ) LIMIT 1 [ RunTime:0.004368s ]
SELECT * FROM `stock_pra` WHERE `stockid` = 3620 LIMIT 4 [ RunTime:0.004250s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3620 ORDER BY `minOrder` ASC [ RunTime:0.002477s ]
SELECT * FROM `stock_unitquantity` WHERE `stockid` = 3620 ORDER BY `unit` DESC [ RunTime:0.002084s ]
SELECT * FROM `stock_warehousequantity` WHERE `stockid` = 3620 LIMIT 2 [ RunTime:0.001894s ]
SELECT * FROM `stock_price` WHERE `stockid` = 3620 ORDER BY `minOrder` ASC [ RunTime:0.000204s ]
SELECT `pra` FROM `stock_pra_lib` WHERE ( ( `partno` = '75586-0010' OR `brand` LIKE 'MOLEX%' ) ) LIMIT 1 [ RunTime:0.005473s ]
SELECT brand, count(*) as count FROM `stock` WHERE ( `status` <> 2 AND `categoryid` = 204 ) AND `brand` IS NOT NULL AND `brand` <> '' GROUP BY `brand` ORDER BY `count` DESC LIMIT 10000 [ RunTime:0.001238s ]