Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

select * where id = 1,2,3

SELECT * FROM Table WHERE id IN (1,2,3,4,5) AND ColB = (SELECT ColB FROM Table WHERE id IN (1,2,3,4,5) ORDER BY FIELD(id,1,2,3,4,5) LIMIT 1)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #select #id
ADD COMMENT
Topic
Name
3+8 =