Closed
Bug 918801
Opened 12 years ago
Closed 12 years ago
Run SQL to get country stats for Flicks Prod
Categories
(Data & BI Services Team :: DB: MySQL, task)
Data & BI Services Team
DB: MySQL
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: osmose, Assigned: scabral)
References
Details
We'd like to run the following query on the firefoxflicks.mozilla.org production database and get the results as a CSV. The output will contain PID in case that is relevant.
SELECT u.email AS user_email, p.full_name AS user_name, p.country AS user_country, v.id AS video_id, v.title AS video_title FROM videos_video2013 AS v LEFT JOIN auth_user AS u ON v.user_id = u.id LEFT JOIN users_userprofile AS p ON p.user_id = u.id;
Thanks!
| Assignee | ||
Comment 1•12 years ago
|
||
Hi Michael,
I ran the query and the result is 314 rows. Does that sound about right to you? If so, I can make a doc with this information and share it privately with you.
| Assignee | ||
Comment 2•12 years ago
|
||
Shared via a Google Doc. Please re-open if there are any problems/questions.
Assignee: server-ops-database → scabral
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Product: mozilla.org → Data & BI Services Team
You need to log in
before you can comment on or make changes to this bug.
Description
•