cancel
Showing results for 
Search instead for 
Did you mean: 

Direct Database SQL Query - Best Sellers M2

Direct Database SQL Query - Best Sellers M2

Hello

I'm looking for samples of MySQL SQL Query to get best sellers from the Magento 2 Database.

There's plenty for M1 but I can't find any for M2.

I'm looking to be able to run the queries directly in phpmyadmin database SQL

To be able to get results based on date ranges and filter on category, manufacturer, product, price, number of sales, sales values, etc....

Just can't seem to find any examples.

Many Thanks in Advance

Andy