Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions sql-part-2/studio/SQL-Part-2-Studio.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -391,4 +395,4 @@
"execution_count": 9
}
]
}
}