Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 SQL Tables
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

1 Posts

Posted - 11/04/2013 :  09:02:24  Show Profile  Reply with Quote
Hello Guys,
Can you help me to solve this question?

Employee Customer
id name age salary id name city industry type
1 ben 61 140000 4 bamsonic Cologne J
2 bob 34 44000 6 ranasung Leslieburg J
5 chris 34 40000 7 Vamony Arlington B
7 Dan 41 52000 9 grange Marina B
8 Ken 57 115000
11 Joe 38 38000

Id orderdate Customer_id Employee_id Amount
10 8/2/2006 4 2 540
20 1/30/2009 4 8 1800
30 7/14/2005 9 1 460
40 1/29/2008 7 2 2400
50 2/3/2008 6 7 600
60 3/2/2008 6 7 720
70 5/6/2008 9 7 150

a. The names of all employees that have an order with Bamsonic.
b. The names of all employees that do not have any order with Bamsonic.
c.The names of employees that have 2 or more orders.
Write a SQL statement to insert rows into a table called high_value_employee(name,
age), where an employee must have a salary of 100,000 or greater to be included in
the table.
e. Write the appropriate "CREATE TABLE" statements for all base tables (employee,
customer, order) and shortly describe the choices you made.
f. Which things would you personally improve about this schema? Where do you see
potential problems

Very Important crosS Applying yaK Herder

52326 Posts

Posted - 11/04/2013 :  10:02:19  Show Profile  Reply with Quote
this seems to be an assignment question. Can we see what you tried yet?

SQL Server MVP
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000