I haven't used the query function a lot, but your question seemed like a great place to try it out!
Screen shots courtesy of chipguide