Recap - Police Criminal Arrest
Coddy'nin SQL Journey'sinin Temeller bölümünün bir parçası — ders 28 / 72.
Görev
KolayMevcut tablolar ve sütunlar:
<strong>police_report</strong>:<strong>name</strong>,<strong>report</strong>,<strong>map</strong>,<strong>severe_score</strong>
İlk 5 şiddetli suçlu isimlerini getirin ve severe_score göre azalan sırada sıralayın
Şiddetli bir suçlu, aşağıdaki tüm kriterleri karşılayan kişidir:
reportya NULL'dır, ya dareportaşağıdaki harflerden birini içerir:g,b,GveyaB.mapaşağıdaki yerlerden biridir:Caerleon,Dewsbury,Kirkwall,Findochty.
Sütunu worst_criminals olarak adlandırın.
Kendin dene
Temeller bölümündeki tüm dersler
4More Keywords
The IN keywordThe BETWEEN keywordThe LIKE keywordThe AS keywordRecap - Cellphone Models2Conditions
Conditions BasicsThe AND keywordThe OR keywordThe NOT keywordMultiple Conditions CombinedParenthesisBooleans5Arithmetic Operations
Mathematical OperatorsMathematical ColumnsThe Modulo OperationThe ROUND() Function3Specific Return Format
Null valuesSort Results Part 1Sort Results Part 2Recap - Cyber Security FirmLimit number of recordsRecap - Vehicle Factory6Intro Challenges
Recap - Parliamentary ElectionRecap - Police Criminal ArrestRecap - Bar Beverage ContainerRecap - Engineer new columns