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

AOA Everyone!

Hello everybody. Make your new database where you've write you VUID after this press ok button you've to click it then anywhere you'll see something is executing when it will executed it will show you complete then you've to click new query and then:

  • you've to write use bc1234567 whatever is your VUID and semicolon and then again you've to press F5 or exclamatory sign then it will execute.
  • or
  • you've to write CREATE DATABASE and your VUID; press f5 or exclamatory sign then
  • you've to write use bc1234567 whatever is your VUID and semicolon and then again you've to press F5 or exclamatory sign then it will execute.

there is no error in this, 
please follow these step then check it will be error free
write
CREATE DATABASE bc12345678;
then press F5 key for execution
then write
USE bc12345678;
then again press F5 for execution,
then create your all tables one by one then execute each line one by one

for creating the tables

CREATE TABLE Customer (

CID char (20) primary key,

CName varchar (50),

Address varchar (100),

Phone char (10)

)

************************************************** *****************...

CREATE TABLE _Order (

Order_ID char (10) primary key,

_Description varchar (100),

CID char (20) references Customer (CID)

)

************************************************** **************************

CREATE TABLE Product (

PID char (10) primary key,

PName varchar (50),

Price real,

Cat_ID char (10) references Category (Cat_ID)

)

************************************************** *****************...

CREATE TABLE Product_Order (

Order_ID char (10)

PID char (10)

Primary key (Order_ID, PID)

)

CREATE TABLE Invoice (

Inv_ID char (10) primary key,

_Description varchar (100),

Total_Amount real

Order_ID char (10) references _Order (Order_ID)

)

************************************************** **************************

CREATE TABLE Category (

Cat_ID char (10) primary key,

CatName varchar (50)

)



************************************************** **************************

CREATE TABLE Vendor (

Ven_ID char (10) primary key,

_Name varchar (50),

Address varchar (100)

)

CREATE TABLE Product_Vendor (

PID char (10),

Ven_ID char (10),

Primary key (PID, Ven_ID)

) Assignment No_4

Data Base Management System

Total Marks = 20

Solution:

CREATE TABLE Customer (

CID char (20) primary key,

CName varchar (50),

Address varchar (100),

Phone char (10)

)

************************************************** *****************...

CREATE TABLE _Order (

Order_ID char (10) primary key,

_Description varchar (100),

CID char (20) references Customer (CID)

)

************************************************** **************************

CREATE TABLE Product (

PID char (10) primary key,

PName varchar (50),

Price real,

Cat_ID char (10) references Category (Cat_ID)

)

************************************************** *****************...

CREATE TABLE Product_Order (

Order_ID char (10)

PID char (10)

Primary key (Order_ID, PID)

)

CREATE TABLE Invoice (

Inv_ID char (10) primary key,

_Description varchar (100),

Total_Amount real

Order_ID char (10) references _Order (Order_ID)

)

************************************************** **************************

CREATE TABLE Category (

Cat_ID char (10) primary key,

CatName varchar (50)

)



************************************************** **************************

CREATE TABLE Vendor (

Ven_ID char (10) primary key,

_Name varchar (50),

Address varchar (100)

)

CREATE TABLE Product_Vendor (

PID char (10),

Ven_ID char (10),

Primary key (PID, Ven_ID)

)


Enjoy alls 

+ 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: 1439

.

+ 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

Assignment No_3

 

Data Base Management System

Total Marks = 20

Solution:

CREATE TABLE Customer (

CID char (20) primary key,

CName varchar (50),

Address varchar (100),

Phone char (10)

)

 

************************************************** *****************...

 

CREATE TABLE Product (

PID char (10) primary key,

PName varchar (50),

Price real,

Cat_ID char (10) references Category (Cat_ID)

)

 

************************************************** *****************...

 

CREATE TABLE Product_Order (

Order_ID char (10)

PID char (10)

Primary key (Order_ID, PID)

)

CREATE TABLE Invoice (

Inv_ID char (10) primary key,

_Description varchar (100),

Total_Amount real

Order_ID char (10) references _Order (Order_ID)

)

 

**************************************************

 


CREATE TABLE Vendor (

Ven_ID char (10) primary key,

_Name varchar (50),

Address varchar (100)

)

CREATE TABLE Product_Vendor (

PID char (10),

Ven_ID char (10),

Primary key (PID, Ven_ID)

)

 

 

Assignment No_4

Data Base Management System

Total Marks = 20

 

Solution:

CREATE TABLE Customer (

CID char (20) primary key,

CName varchar (50),

Address varchar (100),

Phone char (10)

)

************************************************** *****************...

CREATE TABLE _Order (

Order_ID char (10) primary key,

_Description varchar (100),

CID char (20) references Customer (CID)

)

************************************************** **************************

CREATE TABLE Product (

PID char (10) primary key,

PName varchar (50),

Price real,

Cat_ID char (10) references Category (Cat_ID)

)

************************************************** *****************...

CREATE TABLE Product_Order (

Order_ID char (10)

PID char (10)

Primary key (Order_ID, PID)

)

CREATE TABLE Invoice (

Inv_ID char (10) primary key,

_Description varchar (100),

Total_Amount real

Order_ID char (10) references _Order (Order_ID)

)

************************************************** **************************

CREATE TABLE Category (

Cat_ID char (10) primary key,

CatName varchar (50)

)



************************************************** **************************

CREATE TABLE Vendor (

Ven_ID char (10) primary key,

_Name varchar (50),

Address varchar (100)

)

CREATE TABLE Product_Vendor (

PID char (10),

Ven_ID char (10),

Primary key (PID, Ven_ID)

)

 

 

Helping tips :

 

SQL SERVER. It is used to design systems physically either through Query Analyzer OR Enterprise Manager.

Dear make your new database where you've write you VUID after this

press ok button you've to click it then anywhere you'll see something is executing when it will executed it will show you complete then you've to click new query and then:

  • you've to write use bc1234567 whatever is your VUID and semicolom and then again you've to press F5 or exclamatory sign then it will execute.
  • or
  • you've to write CREATE DATABASE and your VUID; press f5 or exclamatory sign then
  • you've to write use bc1234567 whatever is your VUID and semicolom and then again you've to press F5 or exclamatory sign then it will execute.

STEP1 : CREATE DATABASE bc12345678;
STEP2 :press F5 key for executio
STEP3 : write and USE ID
STEP4:again press F5 for execution,

STEP5 :create your all tables one by one then execute each line one by one

Where to find sql server :

 

LMS se install ker len SQL 2000 n latest dono hi available hen udher 

lms may to parts may hai softwre to samaj nhe a rahe konsa karna hai

bddyz servar name kia likhoon...?

code error show krrha he uska hi screan shot lelein

 

how to make this assignment ???? i have sql

i cant intall sql sever

damn

RSS

Latest Activity

+ ! ! ! ! МĂĤĂŔ βĂŚĨŤ ŚĨĂĹ ^ replied to ϝ ι ყ α's discussion *خواتین.........XD XD *
1 minute ago
+ ! ! ! ! МĂĤĂŔ βĂŚĨŤ ŚĨĂĹ ^ replied to ϝ ι ყ α's discussion What is Microsoft Excel..............???
2 minutes ago
+ ! ! ! ! МĂĤĂŔ βĂŚĨŤ ŚĨĂĹ ^ replied to ϝ ι ყ α's discussion When You Block $omeone.......XD XD !!
4 minutes ago
Naser Javed (BBIT-6) replied to + M.Tariq Malik's discussion VU Students Reserves The Right to Delete Any Profile On the Site
34 minutes ago
Naser Javed (BBIT-6) liked + M.Tariq Malik's discussion VU Students Reserves The Right to Delete Any Profile On the Site
35 minutes ago
+++STUDENT+++ commented on + "αяsαℓ " Ќąƶµяɨ •"'s blog post نظر لگنا کیا ہے اور بُری نظر انسان کے جسم پر کیسے اثر انداز ہوتی ہے
47 minutes ago
+++STUDENT+++ liked + "αяsαℓ " Ќąƶµяɨ •"'s blog post نظر لگنا کیا ہے اور بُری نظر انسان کے جسم پر کیسے اثر انداز ہوتی ہے
48 minutes ago
+++STUDENT+++ liked ϝ ι ყ α's discussion *خواتین.........XD XD *
53 minutes ago
彡JK彡 ❤️ replied to ϝ ι ყ α's discussion When You Block $omeone.......XD XD !!
57 minutes ago
+++STUDENT+++ replied to ϝ ι ყ α's discussion What is Microsoft Excel..............???
57 minutes ago
+++STUDENT+++ liked ϝ ι ყ α's discussion What is Microsoft Excel..............???
58 minutes ago
Muhammad Umar replied to ϝ ι ყ α's discussion When You Block $omeone.......XD XD !!
1 hour ago
Muhammad Umar liked 彡JK彡 ❤️'s discussion ............ A public service message...........
1 hour ago
+++STUDENT+++ replied to zohaib iftikhar's discussion ...* IS K BAGAIR MAIN APNI ZINDAGI KA TASAWER B NAHI KR SAKTA ...*
1 hour ago
+++STUDENT+++ liked zohaib iftikhar's discussion ...* IS K BAGAIR MAIN APNI ZINDAGI KA TASAWER B NAHI KR SAKTA ...*
1 hour ago
+++STUDENT+++ liked 彡JK彡 ❤️'s discussion ............ A public service message...........
1 hour ago
彡JK彡 ❤️ replied to 彡JK彡 ❤️'s discussion ............ A public service message...........
2 hours ago
彡JK彡 ❤️ replied to 彡JK彡 ❤️'s discussion ............ A public service message...........
2 hours ago
彡JK彡 ❤️ replied to 彡JK彡 ❤️'s discussion ............ A public service message...........
2 hours ago
彡JK彡 ❤️ replied to 彡JK彡 ❤️'s discussion ............ A public service message...........
2 hours ago

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

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