- Type
- Quiz
- Course
- CS403 Database Management Systems
- Size
- PDF 373 KB
- Updated
- 23 Oct 2026
You get 3 free files a day on the website. Add the Chrome extensionSign in with the extension for 30 a day.
Preview text
Text from pages 2, 3, 4 of 8. Download the file for all 8 pages.
DDL (DATA DIFINITION LANGUAGE)
DDL میں ہم
- Create Table
- ALTER Table
- Drop Table
- Truncate table
- Rename کرسکتے ہیں
1۔TABLE بنانے کیلیئے ہم یہ Code لکھتے ہیں۔
2۔اگر ہمTABLE کاLogical Structure دیکھنا چاہتے ہیں
describe employee؛
3۔اگر ہم ک سی TABLE کوadd کرنا چاہتے ہیں
Altar Command
TRUNCATE Command
4۔Records کوDelete کرنا ہو تو ٹیبل میں سے۔
truncate table employee;
DROP Command:
5۔ اگر ہم TABLE کوDELETE کرنا ہو
DML (DATA MANIPULATION LANGUAGE) DML سے ہم نے جو DATA STRUCTURE لکھی ہوئی ہوتی ہے اسے
- Insert
- Update کر سکتے ہیں
- Delete کر سکتے ہیں ۔ ۔Insert کرنے کیلیئے ہم یہCode لکھتے ہیں۔Values کو جبadd کرتے ہیں
insert into employee (emp_id,first_name,last_name,salary) values ('9','shoaib','malik','500'); insert into employee (emp_id, first_name,last_name,salary) values ('7','junaid','prince','700'); insert into employee (emp_id,first_name,last_name,salary) values ('8','fraz','javed','900');
7۔UPDATE Commands میں ہم کسی بھی جگہ پر کوئی بھیValues لکھ سکتے ہیں۔ For Example: salary last_name first_name (emp_id ان میں کوئی دوسری Values کوSTORE کروانا ہو۔ update employee set last_name = 'mohsin' where emp_id = 7;
DELETE Command: اس Command میں کوئی بھیRecord Delete
delete from employee where emp_id in (7);
جب دوRecords کوDelete کرنا ہو تو
delete from employee where emp_id in (7,9);
۔MAX Salary Find کرنے کیلئے
۔Salary Find AVGکرنے کیلئے
۔MIN Salary Find کرنے کیلئے
۔SUM Salary Find کرنے کیلئے
۔Count RECORDS Find کرنے کیلئے
Related CS403 files
All CS403 files →- CS403 Midterm Solved MCQs by Junaid Midterm PDF 933 KB
- CS403 Midterm Past Papers by Junaid Midterm PDF 897 KB
- CS403 Midterm Highlighted Handouts by MAS All Rounder Highlighted PDF 5 MB
- CS403 Midterm File 1 Midterm PDF 5.8 MB
- CS403 Past Papers Quiz PDF 1.6 MB
- CS403 Assignment 2 Solution 2023 by Learning with Happy Mood Assignment DOCX 313 KB
Get more out of VUBuddy, for free
- Unlimited downloads
- The explanation behind every MCQ answer
- Study offline on slow data
- 30 downloads a day instead of 3
- Sign in and buy Pro Semester here
One Pro Semester membership works in both the extension and the app.