Aan de slagGa gratis aan de slag

Calculating squares and square roots

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

Deze oefening maakt deel uit van de cursus

Intermediate SQL Server

Cursus bekijken

Oefeninstructies

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

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

-- Return the square and square root of WeightValue
SELECT WeightValue, 
       ___ AS WeightSquare, 
       ___ AS WeightSqrt
FROM Shipments
Code bewerken en uitvoeren