PYQs (Hindi)
✅ SQL / MySQL PYQ – Important Questions List
🔹 Section 1: Basic Concepts (Theory)
ये questions almost हर साल पूछे जाते हैं
-
DBMS क्या है? Advantages लिखो
-
RDBMS क्या है? DBMS और RDBMS में difference
-
SQL क्या है? इसकी types बताओ
-
Data types in MySQL
-
Primary Key क्या है?
-
Foreign Key क्या है?
-
Candidate Key vs Primary Key
-
Unique key और Primary key में difference
-
Constraint क्या होते हैं? Types
-
Normalization क्या है? 1NF, 2NF, 3NF समझाओ
🔹 Section 2: SQL Commands (Very Important)
⭐ DDL Commands
-
CREATE TABLE syntax
-
ALTER TABLE क्या है?
-
DROP vs DELETE vs TRUNCATE difference
-
Table में column add कैसे करते हैं?
-
Rename table कैसे करते हैं?
⭐ DML Commands
-
INSERT query syntax
-
UPDATE query example
-
DELETE query example
-
SELECT statement explain
🔹 Section 3: Query Based PYQ (Most Important for Exams)
Table Example:
Student(id, name, marks, city)
Basic Queries
-
सभी records show करो
-
सिर्फ name column show करो
-
marks > 60 वाले students दिखाओ
-
city = 'Delhi' वाले students दिखाओ
-
marks between 50 and 80
Aggregate Functions
-
COUNT students
-
MAX marks
-
MIN marks
-
AVG marks
-
SUM marks
GROUP BY
-
city wise student count निकालो
-
city wise average marks
ORDER BY
-
marks descending order
-
name ascending order
LIKE Operator
-
name starting with 'A'
-
name ending with 'n'
-
name containing 'ra'
Joins (Most repeated PYQ ⭐)
-
JOIN क्या है? Types
-
INNER JOIN example
-
LEFT JOIN example
-
RIGHT JOIN example
-
Self Join क्या है?
Subqueries
-
highest marks वाले student का नाम निकालो
-
average marks से ज्यादा marks वाले students
Constraints Practical
-
Primary key लगाकर table create करो
-
NOT NULL use करो
-
DEFAULT value set करो
-
CHECK constraint example
Index & View
-
Index क्या है?
-
View क्या है? View create syntax
-
View के advantages
🔹 Section 4: MySQL Specific Questions
-
MySQL क्या है?
-
MySQL server कैसे start करते हैं?
-
Database create कैसे करते हैं?
-
Database delete कैसे करते हैं?
-
SHOW DATABASES command
-
SHOW TABLES command
-
USE database command
-
MySQL में Auto Increment क्या है?
-
LIMIT clause क्या है?
-
Stored Procedure क्या है?
🔹 Section 5: Frequently Asked Long Questions
-
ER Diagram draw करो
-
Normalization steps explain करो
-
ACID properties क्या हैं?
-
Transaction क्या है? COMMIT/ROLLBACK
-
SQL vs NoSQL difference
-
Clustered vs Non-clustered index
-
Trigger क्या है?
-
Function और Procedure difference
-
Deadlock क्या है?
-
Backup और Recovery methods