skip to Main Content

can someone help me simplify this syntax – Mysql

can someone help me make it simple and fast? select k1.sto, k1.mm,k1.dd, k1.yy, k1.sto_name, k1.trannum, count(k2.barcode) from trans012020 as k1 , trans012020 as k2 where k1.barcode=123456789 and k1.mm=k2.mm and k1.dd=k2.dd and k1.yy=k2.yy and k1.sto=k2.sto and k1.trannum=k2.trannum group by k1.trannum having…

VIEW QUESTION

Is there a more efficient approach other than using a co-related query for solving the below problem? – Postgresql

I have three database tables: product product_manufacturer product_manufacturer_warranties. The product table has a one-to-one mapping with product_manufacturer and the product_id is stored in the product_manufacturer table. The product_manufactuer table has a one-to-many mapping with the product_manufacturer_warranties table. I need to…

VIEW QUESTION
Back To Top
Search