Report not found

There was a problem finding this report.
SQL String Cleaning Practice Problem 1
February 18, 2014 · Refreshed 7 days ago
Description
This report is the solution to a practice problem from Mode's SQL Tutorial lesson on using string functions to clean data, which can be found here: https://community.modeanalytics.com/sql/tutorial/sql-string-functions-for-cleaning/

Collaborators

Run History
SELECT location, TRIM(leading '(' FROM LEFT(location, POSITION(',' IN location) - 1)) AS lattitude, TRIM(trailing ')' FROM RIGHT(location, LENGTH(location) - POSITION(',' IN location) ) ) AS longitude FROM tutorial.sf_crime_incidents_2014_01
SELECT location, TRIM(leading '(' FROM LEFT(location, POSITION(',' IN location) - 1)) AS lattitude, TRIM(trailing ')' FROM RIGHT(location, LENGTH(location) - POSITION(',' IN location) ) ) AS longitude FROM tutorial.sf_crime_incidents_2014_01
<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_f2160c82e0ea" 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