НачатьНачать бесплатно

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.

Это упражнение является частью курса

Functions for Manipulating Data in SQL Server

Посмотреть курс

Интерактивное практическое упражнение

Попробуйте выполнить это упражнение, дополнив этот пример кода.

SELECT 
	bean_type,
	rating
FROM ratings
WHERE ___;
Редактировать и запускать код