
11-SQL Aliases
Presentation
•
Computers
•
6th - 8th Grade
•
Practice Problem
•
Hard
JOEL Colon
FREE Resource
6 Slides • 4 Questions
1
Un ALIAS es un apodo o nombre temporero dado a una tabla o columna. Usamos el keyword AS para especificar el apodo
SELECT column_name AS Apodo
FROM table_name;
SELECT column_name
FROM table_name AS Apodo;
2
Vamos a darles apodos:
SELECT CustomerID AS ID, CustomerName AS Customer
FROM Customers;
3
Apodos compuestos por espacios deben ir encapsulados con brackets o doble comilla:
SELECT CustomerName AS Customer, ContactName AS [Contact Person]
FROM Customers;
4
SELECT CustomerName,
Address + ', ' + PostalCode + ' ' + City + ', ' + Country AS Address
FROM Customers;
Esta consulta logró FUSIONAR 4 columnas dentro de una celda.
Observa el uso del simbolo SUMA para concatenar las columnas en una sola.
5
SELECT Orders.OrderID, Orders.OrderDate, Customers.CustomerName
FROM Customers, Orders
En esta consulta FUSIONAMOS 2 tablas referenciando tabla.columna
6
SELECT Orders.OrderID, Orders.OrderDate, Customers.CustomerName
FROM Customers, Orders
Podemos hacer lo mismo usando ALIASES... o sea, APODOS... veamos:
SELECT o.OrderID, o.OrderDate, c.CustomerName
FROM Customers AS c, Orders AS o
C = Customers
O = Orders
7
Fill in the Blanks
8
Fill in the Blanks
9
Fill in the Blanks
10
Fill in the Blanks
Un ALIAS es un apodo o nombre temporero dado a una tabla o columna. Usamos el keyword AS para especificar el apodo
SELECT column_name AS Apodo
FROM table_name;
SELECT column_name
FROM table_name AS Apodo;
Show answer
Auto Play
Slide 1 / 10
SLIDE
Similar Resources on Wayground
8 questions
Rounding Numbers
Presentation
•
5th - 9th Grade
11 questions
Treasure Island Chapters 1-3
Presentation
•
6th - 8th Grade
7 questions
Atoms and Periodic Table Test Review
Presentation
•
7th - 8th Grade
7 questions
AZELLA Stage IV - Reading, Part 3
Presentation
•
6th - 8th Grade
7 questions
¿Cómo te llamas? y ABC
Presentation
•
6th - 8th Grade
4 questions
How To Play Minecraft
Presentation
•
6th - 8th Grade
10 questions
Connecting Conflict and Inference
Presentation
•
6th - 8th Grade
9 questions
7-SQL Update-Delete
Presentation
•
6th - 8th Grade
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations
Quiz
•
6th - 8th Grade
10 questions
HCS SCI 03 Summer School Assessment 2
Quiz
•
3rd Grade
11 questions
Home Scope
Quiz
•
7th - 8th Grade
12 questions
2026 TAP Technology in the Classroom
Presentation
•
Professional Development
15 questions
HCS SCI 05 Summer School Assessment 2 Review
Quiz
•
5th Grade
15 questions
HCS SCI 04 Summer School Review 2
Quiz
•
4th Grade
59 questions
Geometry Unit 3 Review
Quiz
•
9th - 12th Grade
14 questions
FAST ELA READING SMAPLE TEST MATERIALS
Passage
•
3rd Grade