IniziaInizia gratis

Calculating squares and square roots

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

Questo esercizio fa parte del corso

Intermediate SQL Server

Visualizza il corso

Istruzioni dell'esercizio

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

Esercizio pratico interattivo

Prova a risolvere questo esercizio completando il codice di esempio.

-- Return the square and square root of WeightValue
SELECT WeightValue, 
       ___ AS WeightSquare, 
       ___ AS WeightSqrt
FROM Shipments
Modifica ed esegui il codice