Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: mshields
  • Content: Threads
  • Order by date
  1. mshields

    Is this possible in native SQL?

    Is the following query possible in native, straight SQL (no procedures, no outside programming)? An employees table contains ID, name, salary, and supervisorID. The ID and supervisorID fields are in the same domain (i.e. my Boss's ID = my supervisorID). Find all employees who earn more than...
  2. mshields

    CHECK constraint help

    I have 2 columns: item_price and item_cost. I need to impose a CHECK constraint at the table level where item_price can never be more than three times the item_cost and also can never be below 120% of the item_cost. Any help would be appreciated.

Part and Inventory Search

Back
Top