Calculate Product Quality
Coddy'nin SQL Journey'sinin Temeller bölümünün bir parçası. Ders 53 / 72.
Görev
KolayKullanılabilir tablolar ve sütunlar:
<strong>enom_gilpane</strong>:<strong>part_id</strong>,<strong>rpm</strong>,<strong>watt</strong>,<strong>size</strong>
Aşağıdaki formülü kullanarak her bir parça için kaliteyi hesaplayın: Quality = (rpm * adjusted_watt) / size.
adjusted_watt kullandığımıza dikkat edin.
part_id ve quality değerlerini döndürün
Kendin dene
-- Dış sorgu, aşağıda oluşturduğunuz bir kaynak tablodan okur
SELECT part_id, ____ AS quality
____Temeller bölümündeki tüm dersler
4More Keywords
The IN keywordThe BETWEEN keywordThe LIKE keywordThe AS keywordRecap - Cellphone Models10Imaginary Products
Adjust WattCalculate Product Quality2Conditions
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 columnsKendi başına pratik yap: SQL playground