We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

Looking For Something at vustudents.ning.com? Click Here to Search

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

+ Link For Past Papers, Solved MCQs, Short Notes & More

CS403 Assignment No 03 Spring 2019 Solution & Discussion

+ How to Join Subject Study Groups & Get Helping Material?

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?

+ VU Students Reserves The Right to Delete Your Profile, If?


See Your Saved Posts Timeline

Views: 1503

.

+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)

Replies to This Discussion

Please Discuss here about this assignment.Thanks

Our main purpose here discussion not just Solution

We are here with you hands in hands to facilitate your learning and do not appreciate the idea of copying or replicating solutions. Read More>>

Discussed & be touched with this discussion. After discussion a perfect solution will come in a result at the end.

 

“How to Join Subject Study Groups & Get Helping Material”

 

P.S:    Please always try to add the discussion in proper format title like “CS101 Assignment / GDB No 01 Solution & Discussion Due Date: ___________”

 

Share below link with friends for solution & Discussion. A Single link for help in your education.

http://bit.ly/vucodes

 

Site Overview | Assignment Solutions | Past Papers |Site Features

SOLUTION Assignment No. 3 (CS403 – Database Management System) Spring 2019

With full details and explanation and guidance.

sir jo snapshot lagna hai woh code ka lagna hai jo ap ny show kiya hai?

Code sirf samjany ky liay hai. 

sir i am confuse snapshot kis chz ka lagna hai?

Boss, two very major issues are there.

  1. No Foreign Key Constraints.
  2. Insert clause have errors with date format...

CS403 ASSIGNMENT NO 3 IDEA SOLUTION

By Mani Siddiqui BS VII

CS403 ASSIGNMENT NO 3 IDEA SOLUTION

check attachtment 

Attachments:

CS403 – Assignment # 3
All queries


Create database <your vu id>

Right-click on your own database name and then click on “New Query” and then start typing an executing all these command sets one by one and take screenshots of them.

Create table Role (
Role_id int primary key not null,
Name varchar(50) not null
)

Create table Task (
Task_id nvarchar(50) primary key not null,
Title nvarcar(50) not null,
Creation_date date not null,
Deadline date not null,
Assigned_to int not null
)

Create table Users (
User_id int primary key not null,
Name varchar(50) not null,
R_U_FK int FOREIGN KEY REFERENCES Role(Role_id)
)

Create table DiscussionThread (
Thread_id varchar(50) primary key not null,
T_D_FK nvarchar(50) FOREIGN KEY REFERENCES Task(Task_id),
Title varcar(50) not null
)

Create table Messages (
Msg_id int primary key not null,
M_T_FK varchar(50) FOREIGN KEY REFERENCES DiscussionThread(Thread_id),
Message_body varchar(50) not null,
Sender_id int not null
)

Insert into Task values(‘T0001’, ‘Computer Science’, ‘01/01/2019’, ‘2019/01/15’, ‘1’);
Insert into Task values(‘T0002’, ‘Management Sciences’, ‘02/02/2019’, ‘2019/02/16’, ‘2’);
Insert into Task values(‘T0003’, ‘Mass Communication’, ‘03/03/2019’, ‘2019/03/17’, ‘3’);
Insert into Task values(‘T0004’, ‘Bio Informatics’, ‘04/04/2019’, ‘2019/04/20’, ‘4’);

Select*from Task

Insert into DicsussionThread values(‘Th001’, ‘T0001’, ‘BSCS’);
Insert into DicsussionThread values(‘Th002’, ‘T0002’, ‘BBA’);
Insert into DicsussionThread values(‘Th003’, ‘T0003’, ‘M.Sc. Zoology’);

Select*from DiscussionThread


Select*from Task where Task_id=‘T0001’;

RSS

Latest Activity

+ Iuuoɔǝut+ replied to +AAg❤️'s discussion ++!!!!!!!EARTH QUACKS!!!!!!!!!!++
5 minutes ago
+ Iuuoɔǝut+ replied to +¢αяєℓєѕѕ gιяℓ's discussion Iss Mien Fail Karn wali Kon C baat thi xD
9 minutes ago
+AAg❤️ replied to +AAg❤️'s discussion ++!!!!!!!EARTH QUACKS!!!!!!!!!!++
10 minutes ago
+ Iuuoɔǝut+ replied to + "Jɨyą's discussion okey :x
11 minutes ago
+ Iuuoɔǝut+ posted discussions
12 minutes ago
+AAg❤️ posted a discussion
13 minutes ago
+ Iuuoɔǝut+ replied to 彡JK彡 ❤️'s discussion ............. ایک تلخ حقیقت..........
18 minutes ago
+ Iuuoɔǝut+ replied to + M.Tariq Malik's discussion غیر پھر غیر، درگزر کر دے - کون روکے زبان اپنوں کی
32 minutes ago
Rabia kiran liked + M.Tariq Malik's discussion Follow the Main Forum & Study Groups New Added Discussions at Your Mail Address
46 minutes ago
+ ՏhehαrZααD + replied to + M.Tariq Malik's discussion غیر پھر غیر، درگزر کر دے - کون روکے زبان اپنوں کی
1 hour ago
+ ՏhehαrZααD + replied to + M.Tariq Malik's discussion کون ہوں مجھ کو بتایا جائے - گر نہ مانوں تو منایا جائے
1 hour ago
彡JK彡 ❤️ replied to +¢αяєℓєѕѕ gιяℓ's discussion Iss Mien Fail Karn wali Kon C baat thi xD
3 hours ago
彡JK彡 ❤️ replied to + "Jɨyą's discussion okey :x
3 hours ago
彡JK彡 ❤️ replied to + "αяsαℓ " Ќąƶµяɨ •"'s discussion Muhabato me li gaye kasmain
3 hours ago
彡JK彡 ❤️ replied to + M.Tariq Malik's discussion غیر پھر غیر، درگزر کر دے - کون روکے زبان اپنوں کی
3 hours ago
彡JK彡 ❤️ replied to 彡JK彡 ❤️'s discussion ............. ایک تلخ حقیقت..........
3 hours ago
彡JK彡 ❤️ replied to 彡JK彡 ❤️'s discussion ............. ایک تلخ حقیقت..........
3 hours ago
彡JK彡 ❤️ replied to +¢αяєℓєѕѕ gιяℓ's discussion Jin sey Mohabbat Ho.....
3 hours ago
彡JK彡 ❤️ replied to + "Jɨyą's discussion Tou ho jay shairiiii XD XD
3 hours ago
彡JK彡 ❤️ replied to +¢αяєℓєѕѕ gιяℓ's discussion xD.........................پرانی محبوبہ کے نام
3 hours ago

© 2019   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service