Formatting: Carefully use Indentation & White spaces.
Avoid Select *
Go for the ANSI-92 JOIN Syntax.
Use Common Table Expression (CTE)
Instead of several single-row statements, use multi-row statements. A single multi-row statement is faster than several single-row statements for INSERT, UPSERT, and DELETE statements. Instead of several single-row statements, utilise multi-row statements for DML queries whenever possible.
NOT NULL.
UNIQUE.
PRIMARY KEY.
FOREIGN KEY.
CHECK.
DEFAULT.
When compared to 'INSERT... SELECT,' INTO' constructs the destination table, owns it exclusively, and is faster. Because the 'INSERT... SELECT' inserts data into an existing table, it is slower and uses more resources because there are more logical reads and transaction log consumption.
When you edit a table, the system must retain the indexes on the columns that are being changed. As a result, while having a large number of indexes can speed up select statements, it can also slow down inserts, updates, and deletes.
Learner's Ratings
3.8
Overall Rating
43%
22%
14%
11%
10%
Reviews
H
hemant
5
Hello sir, explaination is excellent. I have a request please send the db in excel or SQL file
J
Juboraj Juboraj
4
Explain details & easy to understand.
A
Aman Kanaujia
4
All good , but provide the data also for the assignment , Without data the interest is less day by day from the course. So, try to solve this problem as asap.
S
Snehil
4
Everything is good but keyboard sounds more harsh and overlap your voice whereas this course is best.
F
FAROOK MOHAMMAD
5
Hello sir, explaination is excellent. I have a request please send the db in excel or SQL file.
H
Hari Prakash
4
In SQL Join Function's 2nd video - Teacher's voice dose not match with background content that are plays
A
Aakash Mavar
5
Hello sir
Mera Abhi graduation hu he Mene Mechanical Engineering BTech ki Hai me Data analysis me Apna career Bana skat ho Kya
Share a personalized message with your friends.