this.user Posted December 15, 2010 Share Posted December 15, 2010 Given the following table: id name Job I am trying to find the best way to execute an All or nothing query. Given a list of ids, for example: x = {1,2,3,4,5} Execute a query, where: Job: Craftsman AND ID: y where y is a value in x. However, the query should fail, if it fails to find a match for every id. Link to comment https://forums.phpfreaks.com/topic/221781-query-that-returns-a-result-for-every-id-in-a-list-otherwise-return-nothing/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.