mysql - Selecting multiple rows at once when I know what ID's I want -


i have table 2 columns...id , content.

is there way select data multiple rows @ once mysql database when know row id's want retrieve data from.

possibly putting content column results array or sort if best way. trying prevent ton of sql query's. there 2 columns, id , content column.

any input great.

you can use in statement achieve this:

select * mytable id in (1,2,3,4) 

Comments

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

c# - Exception when attempting to modify Dictionary -