ComeçarComece de graça

Data type precedence

In this exercise, you will evaluate the rating information from the ratings table and you will see what happens when a decimal value is compared to an integer. Remember: in SQL Server, data is implicitly converted behind the scenes from one type to another, in such a way that no data loss occurs.

Este exercício faz parte do curso

Functions for Manipulating Data in SQL Server

Ver curso

Exercício interativo prático

Experimente este exercício completando este código de exemplo.

SELECT 
	bean_type,
	rating
FROM ratings
WHERE ___;
Editar e executar o código