If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > General > Database Concepts & Design > Can anyone help me with my ER Diagram

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-28-12, 02:31
samisawesome samisawesome is offline
Registered User
 
Join Date: Nov 2012
Posts: 1
Can anyone help me with my ER Diagram

I made an ER diagram, but I'm not sure if it's correct. Please analyze and see if I have any errors.

Here's the code:

drop table apps;
create table apps (
name varchar(30) not null primary key,
desc varchar(120) not null,
price float not null,
seller varchar(30) not null,
size float not null,
release date not null,
category varchar(15) not null
);

drop table reviews;
create table reviews (
name varchar(30) not null,
review varchar(120) not null
);

drop table ratings;
create table ratings (
name varchar(30) not null,
rating float not null
);
Attached Thumbnails
Can anyone help me with my ER Diagram-er-diagram.png  

Last edited by samisawesome; 11-28-12 at 02:36.
Reply With Quote
  #2 (permalink)  
Old 11-28-12, 05:27
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 20,000
the foreign keys that relate the tables to each other are missing
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On