tijojoel Posted May 25, 2017 Share Posted May 25, 2017 Hi, To retrieve the address from prestashop I am using this query INNER JOIN ps_address shpadd ONshpadd.id_address=ps_orders.id_address_deliveryINNER JOIN ps_address invadd ONinvadd.id_address=ps_orders.id_address_invoiceLEFT JOIN ps_country shpcountry ONshpcountry.id_country = shpadd.id_countryLEFT JOIN ps_country invcountry ONinvcountry.id_country = invadd.id_countryLEFT JOIN ps_country_lang shpcountry_lang ONshpcountry_lang.id_country = shpadd.id_countryLEFT JOIN ps_country_lang invcountry_lang ONinvcountry_lang.id_country = invadd.id_country LEFT JOIN ps_state shpstate ONshpstate.id_state=shpadd.id_stateLEFT JOIN ps_state invstate ONinvstate.id_state=invadd.id_state It takes too much time to load(even will not execute). What is the alternate method to replace this query? N.B - This is a part of query 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