SlideShare a Scribd company logo
1 of 13
INSTAGRAM USER
ANALYTICS
PROJECTDESCRIPTION:
• The given Project requires a user analysis of Instagram users where insights are
required for the Marketing Team with respect to Most Loyal Users ; Inactive Users ;
Most liked picture ; Hashtag researching and for Launching an AD Campaign.
Insights are also required on User Engagement and on Bots and Fake Accounts
for the Investors.
• The above information will be extracted from the given database with the help of
SQL queries
APPROACH:
• An approach of extracting entire required information from the given database
using SQL queries was adopted.
• This approach was executed using MySQL software.
• Above approach resulted in direct insights on the questions asked without
discomfort.
TECH-STACKUSED:
• MySQL was used to run this project SQL queries.
• The reason I chose this language is because I have prior experience from my
college and my higher secondary education as we learn the basic of this from
there and as I already have hands on experience so this is the best tool to use for
this project.
INSIGHTS-MARKETING:
1. Rewarding Most Loyal Users
-The following are the 5 oldest
users
Of Instagram according to the
given
database
Query Performed:
SELECT *
FROM
USERS
ORDER BY CREATED_AT
LIMIT 5;
INSIGHTS-MARKETING:
2. Remind Inactive Users to Start Posting
- The following are the users who have not
posted a single photo on Instagram. Total 26
accounts. Who have not posted i.e. 26%
accounts
Query Performed:
SELECT
U.ID, U.USERNAME
FROM
USERS U
LEFT JOIN
PHOTOS P
ON P.USER_ID = U.ID
WHERE P.ID IS NULL;
INSIGHTS-MARKETING:
3. Declaring Contest Winner
- The following ID had the most liked photo.
Query Performed:
SELECT P.USER_ID, U.USERNAME, A.*
FROM PHOTOS P INNER JOIN
(SELECT PHOTO_ID, COUNT(USER_ID)
AS LIKES FROM LIKES
GROUP BY PHOTO_ID
ORDER BY COUNT(USER_ID) DESC LIMIT 1)
A ON P.ID=A.PHOTO_ID
INNER JOIN USERS U ON P.USER_ID=U.ID
INSIGHTS-MARKETING:
4. Hashtag Researching
- The following are the most used Tags
which can be used by the Partner
brand to increase their reach
Query Performed:
SELECT
T.TAG_NAME AS TAG_NAME,
COUNT(P.PHOTO_ID) AS
NUM_PHOTO_TAG_USED_IN
FROM PHOTO_TAGS P INNER JOIN
TAGS T ON T.ID = P.TAG_ID
GROUP BY P.TAG_ID
ORDER BY COUNT(P.PHOTO_ID) DESC
LIMIT 5;
TAG_NAME NUMBER OF TIMES TAG
Smile 59
Beach 42
Party 39
Fun 38
Concert 24
INSIGHTS-MARKETING:
5. Launch an AD Campaign
- The following table shows the count of users
Registered on each day and from this it can be
Derived that best days for Launching an AD
Campaign are Thursday and Sunday.
Query Performed:
SELECT
T.TAG_NAME AS TAG_NAME,
COUNT(P.PHOTO_ID) AS
NUM_PHOTO_TAG_USED_IN
FROM PHOTO_TAGS P INNER JOIN
TAGS T ON T.ID = P.TAG_ID
GROUP BY P.TAG_ID
ORDER BY COUNT(P.PHOTO_ID) DESC
LIMIT 5;
DAY
NUM OF USERS
REGISTERED
Thursday 16
Sunday 16
Friday 15
Tuesday 14
Monday 14
Wednesday 13
Saturday 12
INSIGHTS-INVESTORMETRICS:
1. User Engagement
- The user engagement is gauged via Analysing average posts per
user and Ratio of total photos to total users Which are shown in
the table The data shows that Though Average user post more
than 3 photos , not all users are posting implying a need to
address the inactivity of some users.
Query Performed:
SELECT (SELECT COUNT(ID) FROM
PHOTOS)/ (SELECT COUNT(DISTINCT
USER_ID) FROM PHOTOS) AS
Average_Number_of posts_per_User,
(SELECT COUNT(ID) FROM PHOTOS)/
(SELECT COUNT(ID) FROM USERS) AS
Ratio_of_Total_Posts_to_Total_Users;
AVG Number of posts per User
Ratio of Total Posts to
Total Users
3.4730 2.5700
INSIGHTS-INVESTORMETRICS:
2. Bots and Fake Accounts
-Bots are identified by finding those Accounts which
has liked every single Photo, shown in the table These
accounts are 13% of the total Accounts and all these
accounts are those Accounts who have not posted a
single Photo.
Query Performed:
SELECT
USER_ID,
USERNAME,
COUNT(PHOTO_ID) AS NUM_LIKED_PHOTOS,
P.TOTAL_PHOTOS AS TOTAL_PHOTOS
FROM LIKES L INNER JOIN USERS U ON L.USER_ID = U.ID
CROSS JOIN
(SELECT COUNT(DISTINCT id) AS TOTAL_PHOTOS FROM photos) p
GROUP BY USER_ID
HAVING COUNT(PHOTO_ID) = (SELECT COUNT(ID) FROM PHOTOS); (Output table on Next
Slide)
INSIGHTS-INVESTORMETRICS:
USER ID USERNAME NUM LIKED_PHOTOS
TOTAL_
PHOTOS
5 Aniya_Hackett 257 257
14 Jaclyn81 257 257
21 Rocio33 257 257
24 Maxwell.Halvorson 257 257
36 Ollie_Ledner37 257 257
41 Mckenna17 257 257
54 Duane60 257 257
57 Julien_Schmidt 257 257
66 Mike.Auer39 257 257
71 Nia_Haag 257 257
75 Leslie67 257 257
76 Janelle.Nikolaus81 257 257
91 Bethany20 257 257
RESULT:
• By this Project, I was able to reinforce the learnt query syntax and uses.
• The Project also reflects that there can be scenarios why it is essential to keep on
increasing one’s knowledge as seen in the case day name question.
• Moreover, the most important learning was that I was able to develop my own
modus operandi of solving the queries asked via SQL queries.

More Related Content

Similar to Instagram User Analytics by Sajidkhan.pptx

Blitzucsddataminingclassv2 140512200346-phpapp01
Blitzucsddataminingclassv2 140512200346-phpapp01Blitzucsddataminingclassv2 140512200346-phpapp01
Blitzucsddataminingclassv2 140512200346-phpapp01
BlitzMetrics
 

Similar to Instagram User Analytics by Sajidkhan.pptx (20)

IRJET- Review on Marketing Analysis in Social Media
IRJET-  	  Review on Marketing Analysis in Social MediaIRJET-  	  Review on Marketing Analysis in Social Media
IRJET- Review on Marketing Analysis in Social Media
 
Pragati marketing plan for a mobile app
Pragati   marketing plan for a mobile appPragati   marketing plan for a mobile app
Pragati marketing plan for a mobile app
 
Pragati marketing plan for a mobile app
Pragati   marketing plan for a mobile appPragati   marketing plan for a mobile app
Pragati marketing plan for a mobile app
 
MGT5419 User Experience Design.docx
MGT5419 User Experience Design.docxMGT5419 User Experience Design.docx
MGT5419 User Experience Design.docx
 
Beth Harte
Beth HarteBeth Harte
Beth Harte
 
Social Media for your B2B Marketing Mix
Social Media for your B2B Marketing MixSocial Media for your B2B Marketing Mix
Social Media for your B2B Marketing Mix
 
Marketing Strategy: 'Plan It' App
Marketing Strategy: 'Plan It' AppMarketing Strategy: 'Plan It' App
Marketing Strategy: 'Plan It' App
 
What should You do as Growth Hacker at first 3 months
What should You do as Growth Hacker at first 3 monthsWhat should You do as Growth Hacker at first 3 months
What should You do as Growth Hacker at first 3 months
 
How to Build a Customer-Focused Information Architecture
How to Build a Customer-Focused Information ArchitectureHow to Build a Customer-Focused Information Architecture
How to Build a Customer-Focused Information Architecture
 
Social Media Analytics
Social Media AnalyticsSocial Media Analytics
Social Media Analytics
 
2023 Guide How To Scrape Social Media Data Using Python (1).pptx
2023 Guide How To Scrape Social Media Data Using Python (1).pptx2023 Guide How To Scrape Social Media Data Using Python (1).pptx
2023 Guide How To Scrape Social Media Data Using Python (1).pptx
 
GH_Final1.1
GH_Final1.1GH_Final1.1
GH_Final1.1
 
example of OMT TECHNIQUE (UML)
example of OMT TECHNIQUE (UML)example of OMT TECHNIQUE (UML)
example of OMT TECHNIQUE (UML)
 
Blitzucsddataminingclassv2 140512200346-phpapp01
Blitzucsddataminingclassv2 140512200346-phpapp01Blitzucsddataminingclassv2 140512200346-phpapp01
Blitzucsddataminingclassv2 140512200346-phpapp01
 
TWITTER SENTIMENT ANALYSIS
TWITTER SENTIMENT ANALYSISTWITTER SENTIMENT ANALYSIS
TWITTER SENTIMENT ANALYSIS
 
TWITTER SENTIMENT ANALYSIS
TWITTER SENTIMENT ANALYSISTWITTER SENTIMENT ANALYSIS
TWITTER SENTIMENT ANALYSIS
 
Why is my machine learning model not being used ?
Why is my machine learning  model not being used ?Why is my machine learning  model not being used ?
Why is my machine learning model not being used ?
 
Sales analysis using product rating in data mining techniques
Sales analysis using product rating in data mining techniquesSales analysis using product rating in data mining techniques
Sales analysis using product rating in data mining techniques
 
Data Anayltics - A Game Changer in Event Management
Data Anayltics - A Game Changer in Event ManagementData Anayltics - A Game Changer in Event Management
Data Anayltics - A Game Changer in Event Management
 
Slide share
Slide share Slide share
Slide share
 

Recently uploaded

Abortion pills in Riyadh Saudi Arabia (+966572737505 buy cytotec
Abortion pills in Riyadh Saudi Arabia (+966572737505 buy cytotecAbortion pills in Riyadh Saudi Arabia (+966572737505 buy cytotec
Abortion pills in Riyadh Saudi Arabia (+966572737505 buy cytotec
Abortion pills in Riyadh +966572737505 get cytotec
 
Data Analytics for Digital Marketing Lecture for Advanced Digital & Social Me...
Data Analytics for Digital Marketing Lecture for Advanced Digital & Social Me...Data Analytics for Digital Marketing Lecture for Advanced Digital & Social Me...
Data Analytics for Digital Marketing Lecture for Advanced Digital & Social Me...
Valters Lauzums
 
Audience Researchndfhcvnfgvgbhujhgfv.pptx
Audience Researchndfhcvnfgvgbhujhgfv.pptxAudience Researchndfhcvnfgvgbhujhgfv.pptx
Audience Researchndfhcvnfgvgbhujhgfv.pptx
Stephen266013
 
NO1 Best Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialist I...
NO1 Best Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialist I...NO1 Best Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialist I...
NO1 Best Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialist I...
Amil baba
 
如何办理哥伦比亚大学毕业证(Columbia毕业证)成绩单原版一比一
如何办理哥伦比亚大学毕业证(Columbia毕业证)成绩单原版一比一如何办理哥伦比亚大学毕业证(Columbia毕业证)成绩单原版一比一
如何办理哥伦比亚大学毕业证(Columbia毕业证)成绩单原版一比一
fztigerwe
 
Abortion Clinic in Randfontein +27791653574 Randfontein WhatsApp Abortion Cli...
Abortion Clinic in Randfontein +27791653574 Randfontein WhatsApp Abortion Cli...Abortion Clinic in Randfontein +27791653574 Randfontein WhatsApp Abortion Cli...
Abortion Clinic in Randfontein +27791653574 Randfontein WhatsApp Abortion Cli...
mikehavy0
 
如何办理(UPenn毕业证书)宾夕法尼亚大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(UPenn毕业证书)宾夕法尼亚大学毕业证成绩单本科硕士学位证留信学历认证如何办理(UPenn毕业证书)宾夕法尼亚大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(UPenn毕业证书)宾夕法尼亚大学毕业证成绩单本科硕士学位证留信学历认证
acoha1
 
一比一原版阿德莱德大学毕业证成绩单如何办理
一比一原版阿德莱德大学毕业证成绩单如何办理一比一原版阿德莱德大学毕业证成绩单如何办理
一比一原版阿德莱德大学毕业证成绩单如何办理
pyhepag
 
一比一原版麦考瑞大学毕业证成绩单如何办理
一比一原版麦考瑞大学毕业证成绩单如何办理一比一原版麦考瑞大学毕业证成绩单如何办理
一比一原版麦考瑞大学毕业证成绩单如何办理
cyebo
 

Recently uploaded (20)

Abortion pills in Riyadh Saudi Arabia (+966572737505 buy cytotec
Abortion pills in Riyadh Saudi Arabia (+966572737505 buy cytotecAbortion pills in Riyadh Saudi Arabia (+966572737505 buy cytotec
Abortion pills in Riyadh Saudi Arabia (+966572737505 buy cytotec
 
Statistics Informed Decisions Using Data 5th edition by Michael Sullivan solu...
Statistics Informed Decisions Using Data 5th edition by Michael Sullivan solu...Statistics Informed Decisions Using Data 5th edition by Michael Sullivan solu...
Statistics Informed Decisions Using Data 5th edition by Michael Sullivan solu...
 
Data Analytics for Digital Marketing Lecture for Advanced Digital & Social Me...
Data Analytics for Digital Marketing Lecture for Advanced Digital & Social Me...Data Analytics for Digital Marketing Lecture for Advanced Digital & Social Me...
Data Analytics for Digital Marketing Lecture for Advanced Digital & Social Me...
 
123.docx. .
123.docx.                                 .123.docx.                                 .
123.docx. .
 
Atlantic Grupa Case Study (Mintec Data AI)
Atlantic Grupa Case Study (Mintec Data AI)Atlantic Grupa Case Study (Mintec Data AI)
Atlantic Grupa Case Study (Mintec Data AI)
 
Digital Marketing Demystified: Expert Tips from Samantha Rae Coolbeth
Digital Marketing Demystified: Expert Tips from Samantha Rae CoolbethDigital Marketing Demystified: Expert Tips from Samantha Rae Coolbeth
Digital Marketing Demystified: Expert Tips from Samantha Rae Coolbeth
 
Audience Researchndfhcvnfgvgbhujhgfv.pptx
Audience Researchndfhcvnfgvgbhujhgfv.pptxAudience Researchndfhcvnfgvgbhujhgfv.pptx
Audience Researchndfhcvnfgvgbhujhgfv.pptx
 
NO1 Best Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialist I...
NO1 Best Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialist I...NO1 Best Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialist I...
NO1 Best Kala Jadu Expert Specialist In Germany Kala Jadu Expert Specialist I...
 
如何办理哥伦比亚大学毕业证(Columbia毕业证)成绩单原版一比一
如何办理哥伦比亚大学毕业证(Columbia毕业证)成绩单原版一比一如何办理哥伦比亚大学毕业证(Columbia毕业证)成绩单原版一比一
如何办理哥伦比亚大学毕业证(Columbia毕业证)成绩单原版一比一
 
Identify Rules that Predict Patient’s Heart Disease - An Application of Decis...
Identify Rules that Predict Patient’s Heart Disease - An Application of Decis...Identify Rules that Predict Patient’s Heart Disease - An Application of Decis...
Identify Rules that Predict Patient’s Heart Disease - An Application of Decis...
 
社内勉強会資料_Object Recognition as Next Token Prediction
社内勉強会資料_Object Recognition as Next Token Prediction社内勉強会資料_Object Recognition as Next Token Prediction
社内勉強会資料_Object Recognition as Next Token Prediction
 
MATERI MANAJEMEN OF PENYAKIT TETANUS.ppt
MATERI  MANAJEMEN OF PENYAKIT TETANUS.pptMATERI  MANAJEMEN OF PENYAKIT TETANUS.ppt
MATERI MANAJEMEN OF PENYAKIT TETANUS.ppt
 
Abortion Clinic in Randfontein +27791653574 Randfontein WhatsApp Abortion Cli...
Abortion Clinic in Randfontein +27791653574 Randfontein WhatsApp Abortion Cli...Abortion Clinic in Randfontein +27791653574 Randfontein WhatsApp Abortion Cli...
Abortion Clinic in Randfontein +27791653574 Randfontein WhatsApp Abortion Cli...
 
如何办理(UPenn毕业证书)宾夕法尼亚大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(UPenn毕业证书)宾夕法尼亚大学毕业证成绩单本科硕士学位证留信学历认证如何办理(UPenn毕业证书)宾夕法尼亚大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(UPenn毕业证书)宾夕法尼亚大学毕业证成绩单本科硕士学位证留信学历认证
 
一比一原版阿德莱德大学毕业证成绩单如何办理
一比一原版阿德莱德大学毕业证成绩单如何办理一比一原版阿德莱德大学毕业证成绩单如何办理
一比一原版阿德莱德大学毕业证成绩单如何办理
 
Sensing the Future: Anomaly Detection and Event Prediction in Sensor Networks
Sensing the Future: Anomaly Detection and Event Prediction in Sensor NetworksSensing the Future: Anomaly Detection and Event Prediction in Sensor Networks
Sensing the Future: Anomaly Detection and Event Prediction in Sensor Networks
 
NOAM AAUG Adobe Summit 2024: Summit Slam Dunks
NOAM AAUG Adobe Summit 2024: Summit Slam DunksNOAM AAUG Adobe Summit 2024: Summit Slam Dunks
NOAM AAUG Adobe Summit 2024: Summit Slam Dunks
 
Bios of leading Astrologers & Researchers
Bios of leading Astrologers & ResearchersBios of leading Astrologers & Researchers
Bios of leading Astrologers & Researchers
 
一比一原版麦考瑞大学毕业证成绩单如何办理
一比一原版麦考瑞大学毕业证成绩单如何办理一比一原版麦考瑞大学毕业证成绩单如何办理
一比一原版麦考瑞大学毕业证成绩单如何办理
 
Data Visualization Exploring and Explaining with Data 1st Edition by Camm sol...
Data Visualization Exploring and Explaining with Data 1st Edition by Camm sol...Data Visualization Exploring and Explaining with Data 1st Edition by Camm sol...
Data Visualization Exploring and Explaining with Data 1st Edition by Camm sol...
 

Instagram User Analytics by Sajidkhan.pptx

  • 2. PROJECTDESCRIPTION: • The given Project requires a user analysis of Instagram users where insights are required for the Marketing Team with respect to Most Loyal Users ; Inactive Users ; Most liked picture ; Hashtag researching and for Launching an AD Campaign. Insights are also required on User Engagement and on Bots and Fake Accounts for the Investors. • The above information will be extracted from the given database with the help of SQL queries
  • 3. APPROACH: • An approach of extracting entire required information from the given database using SQL queries was adopted. • This approach was executed using MySQL software. • Above approach resulted in direct insights on the questions asked without discomfort.
  • 4. TECH-STACKUSED: • MySQL was used to run this project SQL queries. • The reason I chose this language is because I have prior experience from my college and my higher secondary education as we learn the basic of this from there and as I already have hands on experience so this is the best tool to use for this project.
  • 5. INSIGHTS-MARKETING: 1. Rewarding Most Loyal Users -The following are the 5 oldest users Of Instagram according to the given database Query Performed: SELECT * FROM USERS ORDER BY CREATED_AT LIMIT 5;
  • 6. INSIGHTS-MARKETING: 2. Remind Inactive Users to Start Posting - The following are the users who have not posted a single photo on Instagram. Total 26 accounts. Who have not posted i.e. 26% accounts Query Performed: SELECT U.ID, U.USERNAME FROM USERS U LEFT JOIN PHOTOS P ON P.USER_ID = U.ID WHERE P.ID IS NULL;
  • 7. INSIGHTS-MARKETING: 3. Declaring Contest Winner - The following ID had the most liked photo. Query Performed: SELECT P.USER_ID, U.USERNAME, A.* FROM PHOTOS P INNER JOIN (SELECT PHOTO_ID, COUNT(USER_ID) AS LIKES FROM LIKES GROUP BY PHOTO_ID ORDER BY COUNT(USER_ID) DESC LIMIT 1) A ON P.ID=A.PHOTO_ID INNER JOIN USERS U ON P.USER_ID=U.ID
  • 8. INSIGHTS-MARKETING: 4. Hashtag Researching - The following are the most used Tags which can be used by the Partner brand to increase their reach Query Performed: SELECT T.TAG_NAME AS TAG_NAME, COUNT(P.PHOTO_ID) AS NUM_PHOTO_TAG_USED_IN FROM PHOTO_TAGS P INNER JOIN TAGS T ON T.ID = P.TAG_ID GROUP BY P.TAG_ID ORDER BY COUNT(P.PHOTO_ID) DESC LIMIT 5; TAG_NAME NUMBER OF TIMES TAG Smile 59 Beach 42 Party 39 Fun 38 Concert 24
  • 9. INSIGHTS-MARKETING: 5. Launch an AD Campaign - The following table shows the count of users Registered on each day and from this it can be Derived that best days for Launching an AD Campaign are Thursday and Sunday. Query Performed: SELECT T.TAG_NAME AS TAG_NAME, COUNT(P.PHOTO_ID) AS NUM_PHOTO_TAG_USED_IN FROM PHOTO_TAGS P INNER JOIN TAGS T ON T.ID = P.TAG_ID GROUP BY P.TAG_ID ORDER BY COUNT(P.PHOTO_ID) DESC LIMIT 5; DAY NUM OF USERS REGISTERED Thursday 16 Sunday 16 Friday 15 Tuesday 14 Monday 14 Wednesday 13 Saturday 12
  • 10. INSIGHTS-INVESTORMETRICS: 1. User Engagement - The user engagement is gauged via Analysing average posts per user and Ratio of total photos to total users Which are shown in the table The data shows that Though Average user post more than 3 photos , not all users are posting implying a need to address the inactivity of some users. Query Performed: SELECT (SELECT COUNT(ID) FROM PHOTOS)/ (SELECT COUNT(DISTINCT USER_ID) FROM PHOTOS) AS Average_Number_of posts_per_User, (SELECT COUNT(ID) FROM PHOTOS)/ (SELECT COUNT(ID) FROM USERS) AS Ratio_of_Total_Posts_to_Total_Users; AVG Number of posts per User Ratio of Total Posts to Total Users 3.4730 2.5700
  • 11. INSIGHTS-INVESTORMETRICS: 2. Bots and Fake Accounts -Bots are identified by finding those Accounts which has liked every single Photo, shown in the table These accounts are 13% of the total Accounts and all these accounts are those Accounts who have not posted a single Photo. Query Performed: SELECT USER_ID, USERNAME, COUNT(PHOTO_ID) AS NUM_LIKED_PHOTOS, P.TOTAL_PHOTOS AS TOTAL_PHOTOS FROM LIKES L INNER JOIN USERS U ON L.USER_ID = U.ID CROSS JOIN (SELECT COUNT(DISTINCT id) AS TOTAL_PHOTOS FROM photos) p GROUP BY USER_ID HAVING COUNT(PHOTO_ID) = (SELECT COUNT(ID) FROM PHOTOS); (Output table on Next Slide)
  • 12. INSIGHTS-INVESTORMETRICS: USER ID USERNAME NUM LIKED_PHOTOS TOTAL_ PHOTOS 5 Aniya_Hackett 257 257 14 Jaclyn81 257 257 21 Rocio33 257 257 24 Maxwell.Halvorson 257 257 36 Ollie_Ledner37 257 257 41 Mckenna17 257 257 54 Duane60 257 257 57 Julien_Schmidt 257 257 66 Mike.Auer39 257 257 71 Nia_Haag 257 257 75 Leslie67 257 257 76 Janelle.Nikolaus81 257 257 91 Bethany20 257 257
  • 13. RESULT: • By this Project, I was able to reinforce the learnt query syntax and uses. • The Project also reflects that there can be scenarios why it is essential to keep on increasing one’s knowledge as seen in the case day name question. • Moreover, the most important learning was that I was able to develop my own modus operandi of solving the queries asked via SQL queries.