Report not found

There was a problem finding this report.
SQL CASE Practice Problem 5
February 4, 2014 · Refreshed 1 day ago
Description
This report is the solution to a practice problem from Mode's SQL Tutorial lesson on using CASE, which can be found here: https://community.modeanalytics.com/sql/tutorial/sql-case/

Collaborators

Run History
SELECT CASE WHEN year IN ('FR', 'SO') THEN 'underclass' WHEN year IN ('JR', 'SR') THEN 'upperclass' ELSE NULL END AS class_group, SUM(weight) AS combined_player_weight FROM benn.college_football_players WHERE state = 'CA' GROUP BY 1
SELECT CASE WHEN year IN ('FR', 'SO') THEN 'underclass' WHEN year IN ('JR', 'SR') THEN 'upperclass' ELSE NULL END AS class_group, SUM(weight) AS combined_player_weight FROM benn.college_football_players WHERE state = 'CA' GROUP BY 1
<div class="mode-header embed-hidden"> <h1>{{ title }}</h1> <p>{{ description }}</p> </div> <div class="container mode-grid"> <div class="row"> <div class="col-md-12"> <mode-table id="table_e5d09bf859c0" dataset="dataset" options="table_options"></mode-table> </div> </div> </div>
{{ dataSourceName(params.queryId) }}

The dataset is too large to view in browser

Export

Looks like something went wrong with your query.

{{ DS.queryRuns[params.queryId].errorMessage }}
This query was cancelled