Monday

Boards with most folders

SQL query for Monday

Get the top 5 boards with the most folders.

SELECT b.board_id, b.board_name, COUNT(f.folder_id) AS num_folders FROM boards b LEFT JOIN folders f ON b.board_id = f.board_id GROUP BY b.board_id, b.board_name ORDER BY num_folders DESC LIMIT 5

Monday data model

Monday
Table Boards
Id: String
Name: String

Monday
Table Subitems Of Budget Test Board
Id: String
Date: String
Name: String
Owner: String
Status: String
Board_id: String
Group_id: String
Group_title: String

Monday
Table Budget Test Board
Id: String
Date: Date-time
Name: String
Person: String
Status: String
Subitems: String
Board_id: String
Group_id: String
Group_title: String

Monday
Table Subitems Of Test Board
Id: String
Date: String
Name: String
Owner: String
Status: String
Board_id: String
Group_id: String
Group_title: String

Monday
Table Test Board
Id: String
Date: String
Name: String
Person: String
Status: String
Subitems: String
Board_id: String
Group_id: String
Group_title: String
NikoTestColumn: String

Monday
Table Folders

Use SQL on all your SaaS data

Magical SQL for Monday 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.