Rodrigo Chantes Posted January 28, 2022 Share Posted January 28, 2022 i need to add a field of the customer's IP Address in the Orders table, i actually got the ip address query but i need to add it to that table, here's the query: SELECT a.id_order, a.id_customer, b1.id_guest, c1.ip_address, c1.date_add, d1.email FROM ps_orders a LEFT JOIN ps_guest b1 ON (a.id_customer = b1.id_customer) LEFT JOIN ps_connections c1 ON (b1.id_guest = c1.id_guest) LEFT JOIN ps_customer d1 ON (a.id_customer = d1.id_customer) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now