title: How do I make custom query with WordPress?
body: <p>I need to make a query in a WordPress plugin but I couldn't find a WordPress function and I'm not sure is right to use mysql_query</p>
  
  <p>The functions I've found enable ordering and grouping but I need to use also join and in (list).</p>
  
  <p>Is there a way?</p>