
10-SQL IN
Presentation
•
Computers
•
6th - 8th Grade
•
Practice Problem
•
Hard
JOEL Colon
FREE Resource
9 Slides • 5 Questions
1
Operador
IN vs OR
2
El operador IN es un atajo al operador OR para seleccionar múltiples datos en la misma columna.
SELECT * FROM Customers
WHERE Country IN ('Germany', 'France', 'UK');
SELECT * FROM Customers
WHERE Country='Germany' OR Country= 'France' OR Country='UK';
El operador IN es un método más preciso, limpio y corto
3
El operador NOT IN para EXCLUIR lo que no quieres mostrar en la selección.
SELECT * FROM Customers
WHERE Country NOT IN ('Germany', 'France', 'UK');
NOT siignifica EXCEPTO. Piensa en IN como decir INCLUYE
SELECT * FROM Customers
WHERE Country IN ('Germany', 'France', 'UK');
4
El operador BETWEEN te sirve para mostrar un rango que especifiques:
SELECT * FROM Products
WHERE Price BETWEEN 10 AND 20;
5
NOT BETWEEN es negar que se muestre lo especificado. Veamos
SELECT * FROM Products
WHERE Price NOT BETWEEN 10 AND 20;
6
Aquí vemos una mezcla de dos columnas con dos condiciones que deben ser CIERTAS
SELECT * FROM Products
WHERE Price BETWEEN 10 AND 20
AND CategoryID NOT IN (1,2,3);
7
También podrias hacer la búsqueda entre valores directos en lugar de por la primera letra...
SELECT * FROM Products
WHERE ProductName
BETWEEN 'Carnarvon Tigers' AND 'Gorgonzola Telino'
8
Si usas el NOT BETWEEN podrias excluir una zona central y mostrar el antes y despues en una lista:
SELECT * FROM Products
WHERE ProductName
NOT BETWEEN 'Carnarvon Tigers' AND 'Gorgonzola'
9
Puedes usar el truco buscando fechas:
Observa que las fechas van dentro de simbolos # ' '
SELECT * FROM Orders
WHERE OrderDate BETWEEN #07/01/1996# AND #07/31/1996#;
SELECT * FROM Orders
WHERE OrderDate BETWEEN '1996-07-01' AND '1996-07-31';
10
Fill in the Blanks
11
Fill in the Blanks
12
Fill in the Blanks
13
Fill in the Blanks
14
Multiple Choice
¿Cual de estos referencia bien las fechas?
AMBAS
#07/01/1996#
'07/01/1996'
NINGUNA
Operador
IN vs OR
Show answer
Auto Play
Slide 1 / 14
SLIDE
Similar Resources on Wayground
10 questions
The Road Not Taken - Robert Frost
Presentation
•
6th - 8th Grade
11 questions
Keyboarding Techniques
Presentation
•
6th - 8th Grade
10 questions
fiction vs nonfiction
Presentation
•
6th - 8th Grade
11 questions
Linear Relationships
Presentation
•
6th - 9th Grade
10 questions
Equation Vocabulary
Presentation
•
6th - 8th Grade
10 questions
Making Inferences
Presentation
•
6th - 8th Grade
9 questions
Inferencing
Presentation
•
6th - 8th Grade
11 questions
cartesian plane
Presentation
•
6th - 8th Grade
Popular Resources on Wayground
6 questions
Secondary Safety Quiz
Presentation
•
9th - 12th Grade
10 questions
Afterschool Activities & Sports
Quiz
•
6th - 8th Grade
19 questions
ROAR Week 2026
Quiz
•
9th - 12th Grade
20 questions
Lab Safety Quiz
Quiz
•
6th Grade
15 questions
Cool Tool:Chromebook
Quiz
•
6th - 8th Grade
22 questions
would you rather
Quiz
•
3rd - 11th Grade
21 questions
Continents and Oceans
Quiz
•
6th Grade
20 questions
Parts of Speech
Quiz
•
5th Grade
Discover more resources for Computers
20 questions
Early Computing
Quiz
•
7th - 12th Grade
10 questions
Exploring the Parts of a Computer
Interactive video
•
6th - 10th Grade
10 questions
Navigating Digital Citizenship and Online Safety
Interactive video
•
6th - 10th Grade
11 questions
Technology Acceptable Use
Quiz
•
6th - 8th Grade
9 questions
Discussion Boards
Quiz
•
6th - 8th Grade
10 questions
Mastering Proper Keyboarding Techniques
Interactive video
•
6th - 10th Grade
21 questions
digital citizenship
Quiz
•
6th Grade