Home > Database > Mysql Tutorial > body text

mysql-这条MYSQL语句要查14秒怎么缩短时间

WBOY
Release: 2016-06-06 09:37:12
Original
923 people have browsed it

mysql

SELECT t1.id, t1.order_no, t1.order_status, t1.pay_status,t1.shipping_status,
t1.pay_method, t1.invoice, t1.remark, t1.seller, t1.buyer, t1.site_id, t1.order_time, t1.pay_time,
t1.sign_for_time, t1.delivery_time, t1.subtotal, t1.freight, t1.invitation, t1.cope, t1.is_comment,t1.pay_discount FROM zcwl_order t1 LEFT JOIN
zcwl_order_shipping_address t2 ON t2.order_id = t1.id
WHERE t1.site_id ORDER BY t1.order_time DESC

<code>因为数据量大  </code>
Copy after login
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!