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 gkittelson 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: *

  1. LaureenJ

    is there a way to set a limit by group?

    So like this?: SELECT item_id FROM item_changes WHERE customer = 'ABC' AND item_timestamp >= '2006-01-08' AND item_timestamp < '2006-01-14' AND item_attribute ='attribute1' ORDER BY item_attribute LIMIT 10 UNION SELECT item_id FROM item_changes WHERE customer = 'ABC' AND item_timestamp >=...
  2. LaureenJ

    JOIN question

    Can I do a query using join for two tables in mySQL? SELECT COUNT (*) AS itema_count, itema_operation, old_itema_code, new_itema_code FROM itema_changes WHERE edit_operation IN ('-', '+', '>') AND customer_id= '123' AND timestamp > '2006-01-15' AND pickup_timestamp < '2006-01-21' ORDER BY...
  3. LaureenJ

    is there a way to set a limit by group?

    Thank you Juice05 and especially you blueCGH for spelling it out. I should have mentioned what database I'm using - it is mySQL. Does the TOP command work with that database type? If this is the wrong forum please point me to the correct one b/c I plan on having more questions! :) --Laureen = )
  4. LaureenJ

    is there a way to set a limit by group?

    I'm trying to adjust a query but I am very new to using SQL and just found this forum. I would appreciate any help. This will make me much more efficient at my job. Here is a mock up: SELECT item_id FROM item_changes WHERE customer = 'ABC' AND item_timestamp >= '2006-01-08' AND...

Part and Inventory Search

Back
Top