You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Complete collection of BI track materials, projects, and resources.
💡 Database Tip
Pro Tip: Always BACKUP before you ALTER!
Situation
Backup Type
Risk Level
Before ALTER TABLE
Full DB
☠️☠️☠️☠️☠️
Before running DELETE
Transaction Log
☠️☠️☠️
Before Power BI refresh
.pbix File
☠️☠️☠️☠️
Before Projects submission
Both .bak and .sql
☠️☠️☠️☠️☠️
🧼 Writing Clean SQL – Make your queries readable
“Good code is its own best documentation.” – Steve McConnell
❌ Before (Spaghetti Code)
selectc.customer_id,c.first_name,c.last_name,o.order_id,o.order_datefrom customers c join orders o onc.customer_id=o.customer_idwherec.country='germany'ando.quantity>100
✅ After (Clean & Readable)
SELECTc.customer_id,
c.first_name,
c.last_name,
o.order_id,
o.order_dateFROM customers c
INNER JOIN orders o
ONc.customer_id=o.customer_idWHEREc.country='Germany'ANDo.quantity>100;