MulaiMulai sekarang secara gratis

Calculating squares and square roots

It's time for you to practice calculating squares and square roots of columns.

Latihan ini adalah bagian dari kursus

Intermediate SQL Server

Lihat Kursus

Petunjuk latihan

Write a query that calculates the square and square root of the WeightValue column.

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

-- Return the square and square root of WeightValue
SELECT WeightValue, 
       ___ AS WeightSquare, 
       ___ AS WeightSqrt
FROM Shipments
Edit dan Jalankan Kode