FortNox

Top selling articles

SQL query for FortNox

Find the top selling articles based on the number of orders.

SELECT articles.name, COUNT(orders.article_id) AS num_orders FROM articles JOIN orders ON articles.id = orders.article_id GROUP BY articles.name ORDER BY num_orders DESC

FortNox data model

FortNox
Table Wayofdeliveries

FortNox
Table Financialyears

FortNox
Table Suppliers

FortNox
Table Supplierinvoices

FortNox
Table Salarytransactions

FortNox
Table Projects

FortNox
Table Pricelists

FortNox
Table Modesofpayments

FortNox
Table Expenses

FortNox
Table Employees

FortNox
Table Currencies

FortNox
Table Contracts

FortNox
Table Orders

FortNox
Table Accounts

FortNox
Table Articles

FortNox
Table Customers

FortNox
Table Offers

FortNox
Table Invoices

FortNox
Table Invoice Details

FortNox
Table Vouchers

FortNox
Table Voucher Rows

Use SQL on all your SaaS data

Magical SQL for FortNox with Peliqan.io

Explore data in a rich spreadsheet UI. Use Magical SQL to combine and transform data. SQL queries become new tables that can be shared with business users and used in any BI tool such as Microsoft Power BI, Tableau or Metabase.

Peliqan Ask AI willl write your SQL queries from plain English

Let AI do the work for you

Peliqan’s AI assistant helps you to write SQL queries to get to insights fast. Ask your question in plain English and immediately see the result in Peliqan’s rich spreadsheet viewer.