Hi there
I need to run a query that select some specific results from a table and in addition a number of additional selected results from the same table.
For example, I want to retrieve 20 results from a table of which 5 are already specified and the other 15 can be anything from the table.
I have used the following query but it doesn't work
Can someone tell me if there's a way to achive this and how.Code:Select( select id,text from table where id in ('1', '2', '3', '4', '5') ) as s_id, ( select id,text from table limit 15 ) as m_tweets
Thank you




Reply With Quote