28. VIEWS in SQL | SQL VIEWS | SQL TUTORIAL
Вставка
- Опубліковано 29 гру 2024
- VIEWS in SQL
A View in SQL is a virtual table created by a query. Views allow you to simplify complex queries, enhance security by restricting access to specific columns, and provide a way to customize data presentation without altering the underlying tables. Unlike tables, views do not store data physically but instead store a query that generates the data on demand.
Want more similar videos- hit like, comment, share and subscribe
❤️Do Like, Share and Comment ❤️
❤️ Like Aim 5000 likes! ❤️
➖➖➖➖➖➖➖➖➖➖➖➖➖
Please like & share the video.
➖➖➖➖➖➖➖➖➖➖➖➖
script
CREATE TABLE employees (
employee_id INT,
name VARCHAR(50),
department VARCHAR(50),
salary DECIMAL(10, 2),
hire_date DATE
);
INSERT INTO employees (employee_id, name, department, salary, hire_date) VALUES
(1, 'Alice', 'Sales', 5000.00, '2023-01-01'),
(2, 'Bob', 'IT', 7000.00, '2022-02-15'),
(3, 'Charlie', 'HR', 4000.00, '2021-03-10'),
(4, 'David', 'Sales', 4500.00, '2023-01-25'),
(5, 'Eve', 'IT', 6500.00, '2020-06-30');
➖➖➖➖➖➖➖➖➖➖➖➖➖
AWS DATA ENGINEER : • AWS DATA ENGINEER
Azure data factory :
• Azure Data Factory
Azure data engineer playlist : • Azure Data Engineer
SQL PLAYLIST : • SQL playlist
PYSPARK PLAYLIST -
• Pyspark Tutorial
➖➖➖➖➖➖➖➖➖➖➖➖➖
📣Want to connect with me? Check out these links:📣
Join telegram to discuss t.me/+Cb98j1_f...
➖➖➖➖➖➖➖➖➖➖➖➖➖
what we have covered in this video:
➖➖➖➖➖➖➖➖➖➖➖➖➖
Hope you liked this video and learned something new :)
See you in next video, until then Bye-Bye!
➖➖➖➖➖➖➖➖➖➖➖➖➖