diff --git a/sql-part-2/studio/SQL-Part-2-Studio.ipynb b/sql-part-2/studio/SQL-Part-2-Studio.ipynb index f335becb6..28ed8f0ac 100644 --- a/sql-part-2/studio/SQL-Part-2-Studio.ipynb +++ b/sql-part-2/studio/SQL-Part-2-Studio.ipynb @@ -63,7 +63,11 @@ { "cell_type": "code", "source": [ - "-- Code here:" + select top 1 len(title) as title_length, title +from BooksDB.dbo.books +ORDER BY title_length desc +--186 characters: Soccernomics: Why England Loses, Why Germany and Brazil Win, and Why the U.S., Japan, Australia, Turkey--and Even Iraq--Are Destined to Become the Kings of the World's Most Popular Sport +--THE LONGEST TITLE ], "metadata": { "azdata_cell_guid": "fc1a211d-ea4e-446a-bbf8-e31499c50aba" @@ -391,4 +395,4 @@ "execution_count": 9 } ] -} \ No newline at end of file +}