Mailerlite

Active Campaigns

SQL query for Mailerlite

Get the number of active campaigns.

SELECT COUNT(*) FROM campaigns WHERE status = active

Mailerlite data model

Mailerlite
Table Subscribers
Id: String
Sent: Integer
Email: String
Source: String
Status: String
Optin_ip: String
Open_rate: Integer
Click_rate: Integer
Created_at: Date-time
Ip_address: String
Updated_at: Date-time
Fields_city: String
Fields_name: String
Opens_count: Integer
Opted_in_at: String
Clicks_count: Integer
Fields_phone: String
Fields_state: String
Fields_z_i_p: String
Subscribed_at: Date-time
Fields_company: String
Fields_country: String
Unsubscribed_at: String
Fields_last_name: String

Mailerlite
Table Fields
Id: String
Key: String
Name: String
Type: String
Is_default: Boolean
Used_in_automations: Boolean

Mailerlite
Table Timezones
Id: String
Name: String
Offset: Integer
Offset_name: String
Name_for_humans: String

Mailerlite
Table Campaign Languages
Id: String
Name: String
Iso639: String
Direction: String
Shortcode: String

Mailerlite
Table Campaigns

Mailerlite
Table Segments

Mailerlite
Table Groups

Mailerlite
Table Automations

Mailerlite
Table Popup Forms

Mailerlite
Table Embedded Forms

Mailerlite
Table Promotion Forms

Use SQL on all your SaaS data

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

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.

Peliqan Ask AI willl write your SQL queries from plain English