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

October posted a status
"آج پھر محرومیوں کی داستانیں اوڑھ کر خاک میں سونے لگے ہیں میں ،محبت اور تم"
5 minutes ago
October posted a status
"چاند کی کرنوں نے ہم کو اس طرح بوسہ دیا دیوتا ہونے لگے ہیں میں ، محبت اور تم"
5 minutes ago
October posted a status
"ہم نے جونہی کر لیا محسوس منزل ہے قریب راستے کھونے لگے ہیں میں ، محبت اور تم"
8 minutes ago
+ sílєnzíσ liked ϝ ι ყ α's discussion When You Block $omeone.......XD XD !!
8 minutes ago
+ sílєnzíσ liked ϝ ι ყ α's discussion *خواتین.........XD XD *
8 minutes ago
October posted a status
"آج یوں موسم نے دی جشن محبت کی خبر پھوٹ کر رونے لگے ہیں ، میں محبت اور تم"
8 minutes ago
+ sílєnzíσ liked ϝ ι ყ α's discussion *1st $em VS Last Sem,................*
12 minutes ago
October posted a status
"Leye Jaey Jane Kahan Hamain Waqt Ka Darya Is Dil Pe Lage Zakhm Zara Aaj Dekhalon Rate"
12 minutes ago
+ sílєnzíσ liked ϝ ι ყ α's discussion *1st $em VS Last Sem,................*
12 minutes ago
October posted a status
"To Pass Na Aa, Haan Zara Daman To Barha De Ashkon Ko Kahan Tak Main In Aankhon Me Sambhalon"
14 minutes ago
October posted a status
"Bichri Hai Meri Neend Bichri Ho Tum Jab Se Ji Chahey Tujhey Roze Hi Khawbon Main Bolalon"
14 minutes ago
+ ! ! ! ! !Cato liked + ! ! ! ! !Cato's blog post Lets Make .....................Tasbeeh
19 minutes ago
+++STUDENT+++ commented on + ! ! ! ! !Cato's blog post Lets Make .....................Tasbeeh
30 minutes ago
ϝ ι ყ α replied to ϝ ι ყ α's discussion *1st $em VS Last Sem,................*
49 minutes ago
ϝ ι ყ α replied to ϝ ι ყ α's discussion *1st $em VS Last Sem,................*
53 minutes ago
ϝ ι ყ α replied to ϝ ι ყ α's discussion What is Microsoft Excel..............???
54 minutes ago
ϝ ι ყ α replied to ϝ ι ყ α's discussion What is Microsoft Excel..............???
56 minutes ago
ϝ ι ყ α replied to ϝ ι ყ α's discussion What is Microsoft Excel..............???
56 minutes ago
ϝ ι ყ α replied to ϝ ι ყ α's discussion What is Microsoft Excel..............???
56 minutes ago
October posted a status
"Hans Ke Ham Baat Jo Kar Lete Hai Un Se Khursheed Haal Apna Wo Samajh Lete Hai Acha Hoga"
57 minutes ago

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

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