Recap - Engineer new columns
Coddy'nin SQL Journey'sinin Temeller bölümünün bir parçası — ders 30 / 72.
Görev
KolayMevcut tablolar ve sütunlar:
<strong>items</strong>:<strong>id</strong>
Dördüncü dereceden bir fonksiyon tanımlanmıştır:
f(x) = ax<sup>4</sup>+bx<sup>3</sup>+cx<sup>2</sup>+dx+e
Sabit parametreleri tanımlayalım:
a = 3b = 5c = 0.9d = 2.2e = 1
id'leri ve x = id olan dördüncü dereceden fonksiyonu getirin ve sütunu quartic olarak yeniden adlandırın
POWER()gibi yerleşik fonksiyonları kullanmayın!
2. kuvvet veya 3. kuvvet hesaplamak için aşağıdaki örneği kullanın:
a*a
-- 2. kuvvet
a*a*a
-- 3. kuvvetKendin 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