Mulai sekarangMulai gratis

Calculating squares and square roots

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

Latihan ini merupakan bagian dari kursus

Intermediate SQL Server

Lihat Kursus

Instruksi latihan

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

Latihan interaktif langsung praktik

Cobalah latihan ini dengan melengkapi kode contoh ini.

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