| 1 |
3.27 ms |
select * from cart
JOIN shop ON shop.shopid = cart.establishmentid
where cart.userid = '22270733'
select * from cart
JOIN shop ON shop.shopid = cart.establishmentid
where cart.userid = '22270733';
|
| 2 |
2.85 ms |
SELECT p1.shopid as shopid, p1.productid as productid, p1.productprice as productprice
FROM prodproductprice p1
WHERE p1.id = (
SELECT MAX(p2.id)
FROM prodproductprice p2
WHERE p2.shopid = p1.shopid AND p2.productid = p1.productid
) AND shopid IN ('4247814','8597665','8597665','9103579','6623686','1291885') AND productid IN ('466622709','266577626','400098936','778126248','312481465','518825181')
SELECT p1.shopid as shopid, p1.productid as productid, p1.productprice as productprice
FROM prodproductprice p1
WHERE p1.id = (
SELECT MAX(p2.id)
FROM prodproductprice p2
WHERE p2.shopid = p1.shopid AND p2.productid = p1.productid
) AND shopid IN ('4247814','8597665','8597665','9103579','6623686','1291885') AND productid IN ('466622709','266577626','400098936','778126248','312481465','518825181') ;
|
| 3 |
0.77 ms |
SELECT s0_.id AS id_0, s0_.shopid AS shopid_1, s0_.shopname AS shopname_2, s0_.shopaddressid AS shopaddressid_3, s0_.contactuserid AS contactuserid_4, s0_.contactname AS contactname_5, s0_.addedtime AS addedtime_6 FROM shop s0_ WHERE s0_.shopid IN (?, ?, ?, ?, ?, ?)
Parameters: [
"4247814"
"8597665"
"8597665"
"9103579"
"6623686"
"1291885"
]
SELECT s0_.id AS id_0, s0_.shopid AS shopid_1, s0_.shopname AS shopname_2, s0_.shopaddressid AS shopaddressid_3, s0_.contactuserid AS contactuserid_4, s0_.contactname AS contactname_5, s0_.addedtime AS addedtime_6 FROM shop s0_ WHERE s0_.shopid IN ('4247814', '8597665', '8597665', '9103579', '6623686', '1291885');
|
| 4 |
1.38 ms |
SELECT s0_.id AS id_0, s0_.shopid AS shopid_1, s0_.shopproductid AS shopproductid_2, s0_.masterproductid AS masterproductid_3, s0_.shopproductname AS shopproductname_4, s0_.shopproductprice AS shopproductprice_5, s0_.shopproductdesc AS shopproductdesc_6, s0_.displayproduct AS displayproduct_7, s0_.stockout AS stockout_8 FROM shopproducts s0_ WHERE s0_.shopproductid IN (?, ?, ?, ?, ?, ?)
Parameters: [
"466622709"
"266577626"
"400098936"
"778126248"
"312481465"
"518825181"
]
SELECT s0_.id AS id_0, s0_.shopid AS shopid_1, s0_.shopproductid AS shopproductid_2, s0_.masterproductid AS masterproductid_3, s0_.shopproductname AS shopproductname_4, s0_.shopproductprice AS shopproductprice_5, s0_.shopproductdesc AS shopproductdesc_6, s0_.displayproduct AS displayproduct_7, s0_.stockout AS stockout_8 FROM shopproducts s0_ WHERE s0_.shopproductid IN ('466622709', '266577626', '400098936', '778126248', '312481465', '518825181');
|
| 5 |
5.50 ms |
select * from cartprescription where userid = '22270733' and establishmentid <> ''
select * from cartprescription where userid = '22270733' and establishmentid <> '';
|
| 6 |
1.53 ms |
select * from shopsettings where shopid IN ('4247814','8597665','9103579','6623686','1291885') order by id asc
select * from shopsettings where shopid IN ('4247814','8597665','9103579','6623686','1291885') order by id asc;
|
| 7 |
0.79 ms |
select * from shopproductstax where shopid IN ('4247814','8597665','9103579','6623686','1291885')
select * from shopproductstax where shopid IN ('4247814','8597665','9103579','6623686','1291885');
|
| 8 |
2.37 ms |
select * from shoporderingtime where shopid IN ('4247814','8597665','9103579','6623686','1291885')
select * from shoporderingtime where shopid IN ('4247814','8597665','9103579','6623686','1291885');
|