Find Jobs
Hire Freelancers

Write a MYSQL query for me

$30-250 USD

Đã hoàn thành
Đã đăng vào gần 4 năm trước

$30-250 USD

Thanh toán khi bàn giao
Don't ignore because i am from Bangladesh, I have many positive reviews as a buyer. Hi, I am trying to write a mysql query that will check the total quantity of a product someone purchased in a woocommerce website. So far i wrote this. $nsql = "SELECT COUNT([login to view URL]) FROM wpwe_posts AS p INNER JOIN wpwe_postmeta AS pm ON [login to view URL] = pm.post_id INNER JOIN wpwe_woocommerce_order_items AS woi ON [login to view URL] = woi.order_id INNER JOIN wpwe_woocommerce_order_itemmeta AS woim ON woi.order_item_id = woim.order_item_id WHERE p.post_status IN ( 'wc-completed' ) AND pm.meta_key = '_customer_user' AND pm.meta_value = $customer_id AND woim.meta_key IN ( '_product_id', '_variation_id' ) AND woim.meta_value IN ($product_ids) "; This shows how many times the product was purchased by the customer but not the sum of the quantity. I need the sum of the _qty , see screenshot. If you know mysql, this can be a easy project for you. I am ready to pay 30$ for this work.
Mã dự án: 25763188

Về dự án

3 đề xuất
Dự án từ xa
Hoạt động 4 năm trước

Bạn muốn kiếm tiền?

Lợi ích khi chào giá trên Freelancer

Thiết lập ngân sách và thời gian
Nhận thanh toán cho công việc
Phác thảo đề xuất của bạn
Miễn phí đăng ký và cháo giá cho công việc
Đã trao cho:
Avatar người dùng
I'm expert in MYSQL. Let me create the query in 1 hour Let's discuss more in chat. Hope to work with you.
$30 USD trong 1 ngày
5,0 (2 nhận xét)
2,0
2,0
3 freelancer chào giá trung bình $30 USD cho công việc này
Avatar người dùng
Hi, I can do this for you. I have many experience working with MySQL Databases. I'm also about to graduate as a Computeer Engenieer. I can do it at a very low cost because I'm new at freelancer and I want to have some good reviews. Chat me and We can talk about this whenever you want. Hope We can work together.
$30 USD trong 1 ngày
5,0 (6 nhận xét)
2,4
2,4

Về khách hàng

Cờ của BANGLADESH
Dhaka, Bangladesh
4,9
72
Phương thức thanh toán đã xác thực
Thành viên từ thg 9 16, 2010

Xác thực khách hàng

Cảm ơn bạn! Chúng tôi đã gửi email chứa đường link để bạn lấy tín dụng miễn phí.
Đã xảy ra lỗi trong khi gửi email của bạn. Hãy thử lại.
Người Dùng Đã Đăng Ký Tổng Số Việc Đã Đăng
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Đang tải xem trước
Đã cấp quyền truy cập vị trí.
Phiên đăng nhập của bạn đã hết hạn và bạn đã bị đăng xuất. Hãy đăng nhập lại.