SQL Programming Resources
74.9K subscribers
483 photos
13 files
409 links
Find top SQL resources from global universities, cool projects, and learning materials for data analytics.

Admin: @coderfun

Useful links: heylink.me/DataAnalytics

Promotions: @love_data
Download Telegram
Creating a table.

CREATE TABLE table_name (
    column1 datatype,
    column2 datatype,
    column3 datatype,
   ....
);
👍317🎉4
Putting up criteria in a table
CREATE TABLE Persons (
    PersonID int,
    LastName varchar(255),
    FirstName varchar(255),
    Address varchar(255),
    City varchar(255) 
);
👍225
Inserting in a table

INSERT INTO table_name (column1,column2, column3, ...)
VALUES (value1, value2, value3, ...);
👍102
Road map to learn SQL
https://t.me/sqlanalyst/3
👍20
SQL (Structured Query Language), which is used to manage and manipulate relational databases. Here's a beginner-friendly introduction:
👍84
SELECT columns
FROM table
WHERE condition;
5👍5
The SELECT statement retrieves data from a table
👍165
SELECT * FROM customers;

--This retrieves all columns from the "customers" table.
👍112🎉1
You can use the WHERE clause to filter rows based on conditions.
5
To limit the number of rows returned, you can use the LIMIT clause.
👍103
SELECT * FROM products LIMIT 10;
👍53
SQL Programming Resources
SELECT * FROM products LIMIT 10;
--This retrieves the first 10 rows from the "products" table.
👍124
Use the ORDER BY clause to sort the results in ascending or descending order.
👍114
The INSERT INTO statement adds new records to a table
8👍2
INSERT INTO employees (first_name, last_name) VALUES ('John', 'Doe');

--This inserts a new employee named John Doe into the "employees" table.
👍64
The UPDATE statement modifies existing records in a table.
👍4
UPDATE customers SET email = 'new@email.com' WHERE customer_id = 123;

--This updates the email address for the customer with ID 123.
👍6
Joins allow you to combine data from multiple tables based on related columns
👍10
Forwarded from Data Analytics
SQL Notes Part-1

Like if you need more content on SQL 😄❤️
👍518👏1
Forwarded from Data Analytics
SQL Notes Part-2
Window Functions
👍124