Toán tử IN trong SQL
Toán tử IN cho phép bạn chỉ định nhiều giá trị trong mệnh đề WHERE. Cú pháp SQL IN: Cơ sở dữ liệu Demo Trong bài viết này chúng ta sẽ sử dụng cơ sở dữ liệu mẫu Northwind được nhiều người biết đến. Dưới đây là một lựa chọn từ bảng “Customers”: CustomerID CustomerName ContactName Address City PostalCode Country 1 Alfreds Futterkiste Maria Anders Obere Str. 57 Berlin 12209 Germany 2 Ana Trujillo Emparedados y helados Ana Trujillo Avda. de la Constitución 2222 México D.F. 05021 Mexico 3 Antonio Moreno Taquería Antonio Moreno Mataderos 2312 México D.F. 05023 Mexico …